Open main menu

CDOT Wiki β

Changes

NexJ Express Connecting to PostgreSQL

154 bytes added, 13:15, 1 December 2010
1- Setup the postgresql-connection
props.setProperty(XMLMetadataLoader.CONNECTIONS_URL_PROPERTY, "/nexj/" + sAdapter.toLowerCase(Locale.ENGLISH) + ".connections"); // sets the properties to postgresql.connection
</source>
: After all properties are loaded, it creates the connection through Connection Factory files.
: After activating the connection, the database is locked.
=== 2- Create a PostgreSQL database through some scripts===
1
edit