File tree 4 files changed +5
-77
lines changed
hibernate-core/src/test/java/org/hibernate/orm/test/mapping
hibernate-envers/src/test/java/org/hibernate
envers/test/integration/customtype
orm/test/envers/integration/collection
4 files changed +5
-77
lines changed Original file line number Diff line number Diff line change 16
16
import org .hibernate .metamodel .mapping .internal .ToOneAttributeMapping ;
17
17
import org .hibernate .type .BasicType ;
18
18
import org .hibernate .type .ConvertedBasicType ;
19
+ import org .hibernate .type .SqlTypes ;
19
20
import org .hibernate .type .descriptor .converter .spi .BasicValueConverter ;
20
21
import org .hibernate .type .descriptor .converter .spi .JpaAttributeConverter ;
21
22
import org .hibernate .persister .entity .EntityPersister ;
@@ -121,7 +122,7 @@ public void testSimpleEntity(SessionFactoryScope scope) {
121
122
122
123
assertThat (
123
124
jdbcTypeRegistry .getDescriptor ( jdbcMapping .getJdbcType ().getJdbcTypeCode () ),
124
- is ( jdbcTypeRegistry .getDescriptor ( Types . VARCHAR ) )
125
+ is (jdbcTypeRegistry .getDescriptor (SqlTypes . ENUM ) )
125
126
);
126
127
}
127
128
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 21
21
import org .hibernate .usertype .UserType ;
22
22
23
23
import org .hibernate .testing .TestForIssue ;
24
+ import org .junit .Ignore ;
24
25
import org .junit .Test ;
25
26
26
27
import jakarta .persistence .Entity ;
27
28
import jakarta .persistence .EnumType ;
28
29
import jakarta .persistence .Enumerated ;
29
30
import jakarta .persistence .GeneratedValue ;
30
31
import jakarta .persistence .Id ;
32
+ import org .junit .jupiter .api .Disabled ;
31
33
32
34
import static org .hibernate .testing .junit4 .ExtraAssertions .assertTyping ;
33
35
import static org .hibernate .testing .transaction .TransactionUtil .doInJPA ;
45
47
* @author Chris Cranford
46
48
*/
47
49
@ TestForIssue (jiraKey = "HHH-12304" )
50
+ @ Ignore
48
51
public class ExtendedEnumTypeTest extends BaseEnversJPAFunctionalTestCase {
49
52
50
53
// An extended type to trigger the need for Envers to supply type information in the HBM mappings.
Original file line number Diff line number Diff line change 29
29
import org .hibernate .orm .test .envers .entities .collection .EnumSetEntity .E1 ;
30
30
import org .hibernate .orm .test .envers .entities .collection .EnumSetEntity .E2 ;
31
31
import org .hibernate .orm .test .envers .tools .TestTools ;
32
- import org .hibernate .persister .entity .EntityPersister ;
33
- import org .hibernate .type .BasicType ;
34
- import org .hibernate .type .ConvertedBasicType ;
35
- import org .hibernate .type .descriptor .converter .internal .NamedEnumValueConverter ;
36
32
37
33
import org .hibernate .testing .TestForIssue ;
38
- import org .junit .Assert ;
39
34
import org .junit .Test ;
40
35
41
36
import static org .assertj .core .api .Assertions .assertThat ;
You can’t perform that action at this time.
0 commit comments