HHH-10036 - Fix identifier is too long exception for test TableGeneratorQuotingTest

This commit is contained in:
Andrea Boriero 2015-08-18 15:23:45 +01:00
parent 97606e8bf0
commit 46232719d1
1 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.HibernateException;
import org.hibernate.boot.Metadata;
@ -62,7 +63,6 @@ public class TableGeneratorQuotingTest extends BaseUnitTestCase {
final Target target = new TargetDatabaseImpl( new JdbcConnectionAccessImpl( connectionProvider ) );
final SchemaManagementTool tool = serviceRegistry.getService( SchemaManagementTool.class );
tool.getSchemaDropper( null ).doDrop( metadata, false, target );
tool.getSchemaCreator( null ).doCreation( metadata, false, target );
try {
@ -77,6 +77,7 @@ public class TableGeneratorQuotingTest extends BaseUnitTestCase {
}
@Entity
@Table(name = "test_entity")
private static class TestEntity {
@Id
@GeneratedValue(strategy = GenerationType.TABLE)