Changes

Jump to: navigation, search

NexJ Express Connecting to PostgreSQL

11 bytes added, 13:08, 11 January 2011
no edit summary
== Install PostgreSQL JDBC3 driver ==
Download: <code> JDBC3 Postgresql Driver, Version 9.0-801 </code> @ http://jdbc.postgresql.org/download.html
<br/>Install: Copy driver to [jdk folder]/jre/lib/ext
== CodingCode: Add PostgreSQL Driver ==
Package: <code>nexj.core.persistance.sql</code>
::Create <code>PostgreSQLAdapter.java</code> by extending <code>SQLAdapter</code>
::Edit <code>system.dstypes</code>
== UnitTestsUnitTest: Test Connectivity to database ==
Package: <code>nexj.core.persistance.sql</code>
::Create <code>PostgreSQLAdapterTest.java</code> by extending <code>SQLAdapterTest</code>
TODO: find out how to configure UnitTests for more than one Database
<!--
== Setup the postgresql-connection ==
For testing the connection, the 'AllTests.java' is being used.
:: filestorage.connections
::filestoragefragment.connections
-->
1
edit

Navigation menu