mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-08 20:24:46 +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
|
@Override
|
||||||
protected Class[] getAnnotatedClasses() {
|
protected Class[] getAnnotatedClasses() {
|
||||||
return new Class[] {
|
return new Class[] {
|
||||||
MapEntity.class, MapValue.class,
|
MapEntity.class,
|
||||||
|
MapValue.class,
|
||||||
|
|
||||||
ColorTypeConverter.class,
|
ColorTypeConverter.class,
|
||||||
|
|
||||||
@ -234,8 +235,8 @@ private Object findDatabaseValue(MapValue mapValue, String column) {
|
|||||||
.uniqueResult();
|
.uniqueResult();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Entity
|
@Entity( name = "MapEntity" )
|
||||||
@Table(name = "map_entity")
|
@Table( name = "map_entity" )
|
||||||
public static class MapEntity {
|
public static class MapEntity {
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
@GeneratedValue(strategy = GenerationType.AUTO)
|
||||||
@ -276,7 +277,7 @@ public static class MapEntity {
|
|||||||
private Map<ImplicitEnumMapKey, MapValue> enumImplicitOverridedType = new HashMap<ImplicitEnumMapKey, MapValue>();
|
private Map<ImplicitEnumMapKey, MapValue> enumImplicitOverridedType = new HashMap<ImplicitEnumMapKey, MapValue>();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Entity
|
@Entity( name = "MapValue" )
|
||||||
@Table(name = "map_value")
|
@Table(name = "map_value")
|
||||||
public static class MapValue {
|
public static class MapValue {
|
||||||
@Id
|
@Id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user