Changeset 1706
- Timestamp:
- 12/31/11 15:38:13 (5 months ago)
- Location:
- trunk/src/org/rapla/storage/dbsql
- Files:
-
- 2 modified
-
DBOperator.java (modified) (4 diffs)
-
RaplaSQL.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/rapla/storage/dbsql/DBOperator.java
r1684 r1706 299 299 try 300 300 { 301 ResultSet oldResourceTable = connection.getMetaData().getTables(null, null," RESOURCE" , null);301 ResultSet oldResourceTable = connection.getMetaData().getTables(null, null,"resource" , null); 302 302 while ( oldResourceTable.next()) 303 303 { … … 305 305 } 306 306 // If there is also a new Table use the new Table 307 ResultSet newResourceTable = connection.getMetaData().getTables(null, null," RAPLA_RESOURCE" , null);307 ResultSet newResourceTable = connection.getMetaData().getTables(null, null,"rapla_resource" , null); 308 308 while ( newResourceTable.next()) 309 309 { … … 318 318 if ( oldResourceTableName ) 319 319 { 320 getLogger().warn("Using old resource table name RESOURCE. Please rename to RAPLA_RESOURCE");320 getLogger().warn("Using old resource table name: resource. Please rename to: rapla_resource"); 321 321 } 322 322 newResourceSchema = false; … … 325 325 try 326 326 { 327 ResultSet lastChangedColumn = connection.getMetaData().getColumns(null, null," RAPLA_RESOURCE" , "CREATION_TIME");327 ResultSet lastChangedColumn = connection.getMetaData().getColumns(null, null,"rapla_resource" , "creation_time"); 328 328 while ( true) 329 329 { -
trunk/src/org/rapla/storage/dbsql/RaplaSQL.java
r1695 r1706 754 754 stmt.setTimestamp( 8, new java.sql.Timestamp( end.getTime() )); 755 755 } else { 756 stmt.setObject(8, null, Types. INTEGER);756 stmt.setObject(8, null, Types.TIMESTAMP); 757 757 } 758 758 stmt.executeUpdate();
![(please configure the [header_logo] section in trac.ini)](/chrome/site/rapla.jpg)