Open main menu

CDOT Wiki β

Changes

NexJ Express Connecting to PostgreSQL

127 bytes added, 16:52, 22 November 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>
 
: RelationalDatabaseFragment.java
:: The package that is being imported: <code> org.postgresql.jdbc3.SimpleDataSource </code>
=== 2- Add PostgreSQL adapter type to related java files===
1
edit