Difference between revisions of "NexJ Express Connecting to PostgreSQL"
Line 7: | Line 7: | ||
: Configure the work/ws/core/bin/nexj/postgresql.connection | : Configure the work/ws/core/bin/nexj/postgresql.connection | ||
: Configure the work/ws/core/test/nexj/postgresql.connection | : Configure the work/ws/core/test/nexj/postgresql.connection | ||
− | |||
* 2- Add PostgreSQL database to related java files | * 2- Add PostgreSQL database to related java files | ||
: SQLSchemaMangerFactory.java | : SQLSchemaMangerFactory.java | ||
− | |||
* 3- Create the extended PostgreSQL source files | * 3- Create the extended PostgreSQL source files | ||
: PostgreSQLAdapter.java | : PostgreSQLAdapter.java | ||
: PostgreSQLSchemaManger.java | : PostgreSQLSchemaManger.java | ||
− | |||
* 4- Create the extended PostgreSQL test files | * 4- Create the extended PostgreSQL test files | ||
: PostgreSQLAdapterTest.java | : PostgreSQLAdapterTest.java | ||
: PostgreSQLSchemaMangerTest.java | : PostgreSQLSchemaMangerTest.java |
Revision as of 12:01, 22 November 2010
PostgreSQL Adapter for NexJ - Create Test Environment
- 1- Setup the postgresql-connection
- Configure the work/ws/core/bin/nexj/default.config
- Configure the work/ws/core/test/nexj/default.config
- Configure the work/ws/core/bin/nexj/postgresql.connection
- Configure the work/ws/core/test/nexj/postgresql.connection
- 2- Add PostgreSQL database to related java files
- SQLSchemaMangerFactory.java
- 3- Create the extended PostgreSQL source files
- PostgreSQLAdapter.java
- PostgreSQLSchemaManger.java
- 4- Create the extended PostgreSQL test files
- PostgreSQLAdapterTest.java
- PostgreSQLSchemaMangerTest.java