Changes

Jump to: navigation, search

NexJ Express Connecting to PostgreSQL

24 bytes removed, 13:14, 22 November 2010
no edit summary
* 1- Setup the postgresql-connection
: Configure the work/ws/core/bin/nexj/default.config: Configure the work/ws/core/test/nexj/defaultpostgresql.config: Configure the work/ws/core/bin/nexj/postgresql.connection
: Configure the work/ws/core/test/nexj/postgresql.connection
::
props.setProperty(XMLMetadataLoader.CONNECTIONS_URL_PROPERTY, "/nexj/" + sAdapter.toLowerCase(Locale.ENGLISH) + ".connections"); // sets the properties to postgresql.connection
</source>
  * 2- Add PostgreSQL database adapter type to related java files
: SQLSchemaMangerFactory.java
: RelationalDatabaseFragment.java
 * 3- Create a PostgreSQL database through some scripts: postgresql_setup.sql * 4- Create the extended PostgreSQL source files
: PostgreSQLAdapter.java
: PostgreSQLSchemaManger.java
* 45- Create the extended PostgreSQL test files
: PostgreSQLAdapterTest.java
: PostgreSQLSchemaMangerTest.java
1
edit

Navigation menu