Skip to content

Commit 4623271

Browse files
committed
HHH-10036 - Fix identifier is too long exception for test TableGeneratorQuotingTest
1 parent 97606e8 commit 4623271

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hibernate-core/src/test/java/org/hibernate/test/quote/TableGeneratorQuotingTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import javax.persistence.GeneratedValue;
1111
import javax.persistence.GenerationType;
1212
import javax.persistence.Id;
13+
import javax.persistence.Table;
1314

1415
import org.hibernate.HibernateException;
1516
import org.hibernate.boot.Metadata;
@@ -62,7 +63,6 @@ public void testTableGeneratorQuoting() {
6263
final Target target = new TargetDatabaseImpl( new JdbcConnectionAccessImpl( connectionProvider ) );
6364
final SchemaManagementTool tool = serviceRegistry.getService( SchemaManagementTool.class );
6465

65-
tool.getSchemaDropper( null ).doDrop( metadata, false, target );
6666
tool.getSchemaCreator( null ).doCreation( metadata, false, target );
6767

6868
try {
@@ -77,6 +77,7 @@ public void testTableGeneratorQuoting() {
7777
}
7878

7979
@Entity
80+
@Table(name = "test_entity")
8081
private static class TestEntity {
8182
@Id
8283
@GeneratedValue(strategy = GenerationType.TABLE)

0 commit comments

Comments
 (0)