Update of /cvsroot/dbunit/dbunit/src/test/org/dbunit
In directory sc8-pr-cvs1:/tmp/cvs-serv22187/dbunit/src/test/org/dbunit
Modified Files:
Tag: branch-iterator
AbstractDatabaseTest.java
Log Message:
Fixed some issues with case sensitive database like MySQL. Should we also fix this in Main trunk or we assume it will be fix after the merge???
Index: AbstractDatabaseTest.java
===================================================================
RCS file: /cvsroot/dbunit/dbunit/src/test/org/dbunit/AbstractDatabaseTest.java,v
retrieving revision 1.11
retrieving revision 1.11.4.1
diff -C2 -d -r1.11 -r1.11.4.1
*** AbstractDatabaseTest.java 16 Feb 2003 06:00:59 -0000 1.11
--- AbstractDatabaseTest.java 9 Apr 2003 02:22:12 -0000 1.11.4.1
***************
*** 26,29 ****
--- 26,30 ----
import org.dbunit.dataset.IDataSet;
import org.dbunit.dataset.ITable;
+ import org.dbunit.dataset.SortedTable;
import org.dbunit.operation.DatabaseOperation;
***************
*** 50,55 ****
throws Exception
{
! String sql = "select * from " + tableName + " order by " + orderByColumn;
! return _connection.createQueryTable(tableName, sql);
}
--- 51,58 ----
throws Exception
{
! return new SortedTable(_connection.createDataSet().getTable(tableName),
! new String[]{orderByColumn});
! // String sql = "select * from " + tableName + " order by " + orderByColumn;
! // return _connection.createQueryTable(tableName, sql);
}
|