Changes

Jump to: navigation, search

NexJ Express Connecting to PostgreSQL

529 bytes added, 12:08, 11 January 2011
no edit summary
Install: Copy driver to [jdk folder]/jre/lib/ext
== NexJ ExpressCoding: Add PostgreSQL Driver ==Package: <code>nexj.core.meta.persistance.sql</code>::Create <code>PostgreSQLAdapter.java</code> by extending <code>SQLAdapter.java</code>
::Create <code>PostgreSQLSchemaManager.java</code> by extending <code>SQLSchemaManager</code>
::Edit <code>system.dstypes</code>
== UnitTests: 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>
::Edit <code>default.config</code> to use PostgreSQL
::Edit all <code>*.connections</code> files to use PostgreSQL
 
TODO: find out how to configure UnitTests for more than one Database
== Setup the postgresql-connection ==
1
edit

Navigation menu