Difference between revisions of "PostgreSQL Adapter-nexj/test-env/files"

From CDOT Wiki
Jump to: navigation, search
(Files to configure based on PostgreSQL properties)
Line 13: Line 13:
 
:: AllTests.java
 
:: AllTests.java
 
:: [[ PostgreSQL_Adapter-nexj/AdapterTest | PostgreSQLAdapterTest.java ]]]  // Extends SQLAdapterTest.java
 
:: [[ PostgreSQL_Adapter-nexj/AdapterTest | PostgreSQLAdapterTest.java ]]]  // Extends SQLAdapterTest.java
:: PostgreSQLSchemaManagerTest.java  // Extends SQLSchemaManagerTest.java
+
:: :: [[ PostgreSQL_Adapter-nexj/SchemaMangerTest | PostgreSQLSchemaManagerTest.java ]] // Extends SQLSchemaManagerTest.java
 
:: default.config  // System resources are being extracted from these 4 XML files
 
:: default.config  // System resources are being extracted from these 4 XML files
 
:: postgresql.connection
 
:: postgresql.connection

Revision as of 22:07, 9 December 2010

Files to configure based on PostgreSQL properties

src
PostgreSQLAdapter.java // Extends SQLAdapter.java - SQL Persistence adapter, responsible for regular data queries (insert, select, delete)
PostgreSQLSchemaManager.java // Extends SQLSchemaManager.java - 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 // 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
main.upgrade
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'