mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-16 16:15:06 +00:00
re-enable tests
re-organize some tests fixed more missing `@Entity#name`
This commit is contained in:
parent
e04a9bff0d
commit
edcd7cfdc4
@ -38,7 +38,8 @@ public class MapKeyAttributeConverterTest extends BaseNonConfigCoreFunctionalTes
|
||||
@Override
|
||||
protected Class[] getAnnotatedClasses() {
|
||||
return new Class[] {
|
||||
MapEntity.class, MapValue.class,
|
||||
MapEntity.class,
|
||||
MapValue.class,
|
||||
|
||||
ColorTypeConverter.class,
|
||||
|
||||
@ -234,8 +235,8 @@ private Object findDatabaseValue(MapValue mapValue, String column) {
|
||||
.uniqueResult();
|
||||
}
|
||||
|
||||
@Entity
|
||||
@Table(name = "map_entity")
|
||||
@Entity( name = "MapEntity" )
|
||||
@Table( name = "map_entity" )
|
||||
public static class MapEntity {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
||||
@ -276,7 +277,7 @@ public static class MapEntity {
|
||||
private Map<ImplicitEnumMapKey, MapValue> enumImplicitOverridedType = new HashMap<ImplicitEnumMapKey, MapValue>();
|
||||
}
|
||||
|
||||
@Entity
|
||||
@Entity( name = "MapValue" )
|
||||
@Table(name = "map_value")
|
||||
public static class MapValue {
|
||||
@Id
|
||||
|
Loading…
x
Reference in New Issue
Block a user