Open main menu

CDOT Wiki β

Changes

NexJ Express Connecting to PostgreSQL

48 bytes added, 12:06, 22 November 2010
no edit summary
Properties props = SysUtil.getConfigProperties();
props = new Properties(props);
props.setProperty(XMLMetadataLoader.CONNECTIONS_URL_PROPERTY, "/nexj/" + sAdapter.toLowerCase(Locale.ENGLISH) + ".connections"); //where the postgreSQL.connection is hardcoded
</source>
* 2- Add PostgreSQL database to related java files
1
edit