Changes

Jump to: navigation, search

Run Junit Tests For Non Default SQL Adapter

30 bytes added, 13:47, 26 February 2011
Debugging a Non-Default SQL Adapter
=== Prerequisites ===
#The following files must exist for the new SQL Adapter:<br>##'''src'''folder##:<code>nexj.core.persistence.sql.[DbName]SQLAdapter.java</code> extending <code>nexj.core.persistence.sql.SQLAdapter</code>##:<code>nexj.core.persistence.sql.[DbName]SQLSchemaManager.java</code> extending <code>nexj.core.persistence.sql.SQLSchemaManager</code>##'''test'''folder##:<code>nexj.core.persistence.sql.[DbName]SQLAdapterTest.java</code> extending <code>nexj.core.persistence.sql.SQLAdapterTest</code>##:<code>nexj.core.persistence.sql.[DbName]SQLSchemaManagerTest.java</code> extending <code>nexj.core.persistence.sql.SQLSchemaManagerTest</code> #The following files should be edited and entries for the new SQL Adapter added:#:<code>nexj.core.meta.persistence.sql.RelationalDatabase.java</code>#:<code>nexj.core.meta.peristence.sql.RelationalDatabaseFragment.java</code>#:<code>nexj.core.meta.sys.system.dstypes</code>#:<code>nexj.core.persistence.sql.SQLSchemaManagerFactory.java</code>#:<code>nexj.core.util.JDBCInfo.java</code>
=== Configurations ===
* Drop test tables that the unit tests create
# Create the files in the package <code>nexj.core.persistence.sql.script</code> under the ''test'' source folder
## '''dbname_drop.sql'''
##* Copy and paste the contents of <code>mysql_drop.sql</code> into the new file
1
edit

Navigation menu