diff --git a/hibernate-core/src/test/java/org/hibernate/test/where/annotations/LazyManyToManyNonUniqueIdWhereTest.java b/hibernate-core/src/test/java/org/hibernate/test/where/annotations/LazyManyToManyNonUniqueIdWhereTest.java index c43978f6fb..4ecd0e9c4c 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/where/annotations/LazyManyToManyNonUniqueIdWhereTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/where/annotations/LazyManyToManyNonUniqueIdWhereTest.java @@ -53,10 +53,10 @@ public class LazyManyToManyNonUniqueIdWhereTest extends BaseCoreFunctionalTestCa Session session = openSession(); session.beginTransaction(); { - session.createSQLQuery( "DROP TABLE MAIN_TABLE" ).executeUpdate(); - session.createSQLQuery( "DROP TABLE ASSOCIATION_TABLE" ).executeUpdate(); - session.createSQLQuery( "DROP TABLE MATERIAL_RATINGS" ).executeUpdate(); - session.createSQLQuery( "DROP TABLE BUILDING_RATINGS" ).executeUpdate(); + session.createSQLQuery( "drop table MATERIAL_RATINGS" ).executeUpdate(); + session.createSQLQuery( "drop table BUILDING_RATINGS" ).executeUpdate(); + session.createSQLQuery( "drop table ASSOCIATION_TABLE" ).executeUpdate(); + session.createSQLQuery( "drop table MAIN_TABLE" ).executeUpdate(); session.createSQLQuery( "create table MAIN_TABLE( " + diff --git a/hibernate-core/src/test/java/org/hibernate/test/where/hbm/LazyManyToManyNonUniqueIdNotFoundWhereTest.java b/hibernate-core/src/test/java/org/hibernate/test/where/hbm/LazyManyToManyNonUniqueIdNotFoundWhereTest.java index 0083f205c4..8df5dc06c2 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/where/hbm/LazyManyToManyNonUniqueIdNotFoundWhereTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/where/hbm/LazyManyToManyNonUniqueIdNotFoundWhereTest.java @@ -37,10 +37,10 @@ public class LazyManyToManyNonUniqueIdNotFoundWhereTest extends BaseCoreFunction Session session = openSession(); session.beginTransaction(); { - session.createSQLQuery( "DROP TABLE MAIN_TABLE" ).executeUpdate(); - session.createSQLQuery( "DROP TABLE ASSOCIATION_TABLE" ).executeUpdate(); - session.createSQLQuery( "DROP TABLE MATERIAL_RATINGS" ).executeUpdate(); - session.createSQLQuery( "DROP TABLE BUILDING_RATINGS" ).executeUpdate(); + session.createSQLQuery( "drop table MATERIAL_RATINGS" ).executeUpdate(); + session.createSQLQuery( "drop table BUILDING_RATINGS" ).executeUpdate(); + session.createSQLQuery( "drop table ASSOCIATION_TABLE" ).executeUpdate(); + session.createSQLQuery( "drop table MAIN_TABLE" ).executeUpdate(); session.createSQLQuery( "create table MAIN_TABLE( " + diff --git a/hibernate-core/src/test/java/org/hibernate/test/where/hbm/LazyManyToManyNonUniqueIdWhereTest.java b/hibernate-core/src/test/java/org/hibernate/test/where/hbm/LazyManyToManyNonUniqueIdWhereTest.java index c4fdd61e7a..46c01c8d51 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/where/hbm/LazyManyToManyNonUniqueIdWhereTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/where/hbm/LazyManyToManyNonUniqueIdWhereTest.java @@ -42,10 +42,10 @@ public class LazyManyToManyNonUniqueIdWhereTest extends BaseCoreFunctionalTestCa Session session = openSession(); session.beginTransaction(); { - session.createSQLQuery( "DROP TABLE MAIN_TABLE" ).executeUpdate(); - session.createSQLQuery( "DROP TABLE ASSOCIATION_TABLE" ).executeUpdate(); - session.createSQLQuery( "DROP TABLE MATERIAL_RATINGS" ).executeUpdate(); - session.createSQLQuery( "DROP TABLE BUILDING_RATINGS" ).executeUpdate(); + session.createSQLQuery( "drop table MATERIAL_RATINGS" ).executeUpdate(); + session.createSQLQuery( "drop table BUILDING_RATINGS" ).executeUpdate(); + session.createSQLQuery( "drop table ASSOCIATION_TABLE" ).executeUpdate(); + session.createSQLQuery( "drop table MAIN_TABLE" ).executeUpdate(); session.createSQLQuery( "create table MAIN_TABLE( " +