Changes

Jump to: navigation, search

NexJ Express Connecting to PostgreSQL

324 bytes added, 12:04, 22 November 2010
no edit summary
: Configure the work/ws/core/bin/nexj/postgresql.connection
: Configure the work/ws/core/test/nexj/postgresql.connection
::<source lang=java>
protected static Metadata loadMetadata(String sAdapter)
{
Properties props = SysUtil.getConfigProperties();
 
props = new Properties(props);
props.setProperty(XMLMetadataLoader.CONNECTIONS_URL_PROPERTY, "/nexj/" + sAdapter.toLowerCase(Locale.ENGLISH) + ".connections");
</source>
* 2- Add PostgreSQL database to related java files
: SQLSchemaMangerFactory.java
1
edit

Navigation menu