Changes

Jump to: navigation, search

NexJ Express Connecting to PostgreSQL

1,145 bytes removed, 21:14, 9 December 2010
1- Setup the postgresql-connection
For testing the connection, the 'PostgreSQLAdapterTest.java' is being used.
* [[PostgreSQL_Adapter-nexj/test-env/todo |TODOs]]
* Files to configure based on PostgreSQL properties: src:: PostgreSQLAdapter.java // Extends SQLAdapter.java [[PostgreSQL_Adapter- SQL Persistence adapter, responsible for regular data queries (insert, select, delete):: PostgreSQLSchemaManager.java nexj// Extends SQLSchemaManager.java test- class for reading, creating and upgrading the database schema:: system.dstype:: DatabaseTool.java // This file calles SQLSchemaMangerFactory.java and creates the connection:: RelationalDatabase.java // Sets the default properties for the supported drivers:: RelationalDatabaseFragment.java env// Sets the custom fragment properties for the supported drivers:: Driver type and some other properties in JDBCInfo.java:: SQLSchemaManagerFactory.java // Sets the connection for the particular adapter type: test:: AllTests.java:: PostgreSQLAdapterTest.java // Extends SQLAdapterTest.java:: PostgreSQLSchemaManagerTest.java // Extends SQLSchemaManagerTest.java:: default.config // System resources are being extracted from these 4 XML files:: postgresql.connection:: filestorage.connections::filestoragefragment.connections: Script - scripts are being processed through SQLDataTest.java:: postgresql_setup.sql:: TO be cond'|Files to Modify]]
* STEPS for Connection
1
edit

Navigation menu