Open main menu

CDOT Wiki β

Changes

NexJ Express Connecting to PostgreSQL

304 bytes added, 13:50, 11 January 2011
no edit summary
| Add code to connect to server
| DONE
|-| Create Script for Test database| DONE |-
| Test connection to the server
| DONE
=== Code: Add PostgreSQL Driver ===
Package: <code>nexj.core.persistance.sql</code>
::Create <code>PostgreSQLAdapter.java</code> by extending <code>SQLAdapter</code>::Create <code>PostgreSQLSchemaManager.java</code> by extending <code>SQLSchemaManager</code>
::Edit <code>RelationalDatabase.java</code>::Edit <code>RelationalDatabaseFragment.java</code>::Edit <code>SQLSchemaManagerFactory.java</code>
Package: <code>nexj.core.meta.sys</code>
::Edit <code>system.dstypes</code> === SQL Scripts ===Package: <code>nexj.core.persistence.sql.script</code>:Create * <code>postgresql_setup.sql</code>* <code>postgresql_drop.sql</code>* <code>postgresql_insert.sql</code>* <code>postgresql_upd_addr.sql</code>* <code>postgresql_upd_cont.sql</code>
=== UnitTest: Test Connectivity to database ===
Package: <code>nexj.core.persistance.sql</code>
::Create <code>PostgreSQLAdapterTest.java</code> by extending <code>SQLAdapterTest</code>::Create <code>PostgreSQLSchemaManagerTest.java</code> by extending <code>SQLSchemaManagerTest</code>
Package: <code>nexj</code>
::Create <code>postgresql.connections</code> using NexJ Studio::Edit <code>default.config</code> to use PostgreSQL::Edit all <code>*.connections</code> files to use PostgreSQL
===Configure UnitTests for more than one Database===
1
edit