|
17 | 17 | import org.hibernate.AssertionFailure;
|
18 | 18 | import org.hibernate.FetchMode;
|
19 | 19 | import org.hibernate.MappingException;
|
20 |
| -import org.hibernate.annotations.Bag; |
21 |
| -import org.hibernate.annotations.Cache; |
22 |
| -import org.hibernate.annotations.CacheLayout; |
23 |
| -import org.hibernate.annotations.Cascade; |
24 |
| -import org.hibernate.annotations.Check; |
25 |
| -import org.hibernate.annotations.Checks; |
26 |
| -import org.hibernate.annotations.CollectionId; |
27 |
| -import org.hibernate.annotations.CollectionIdJavaType; |
28 |
| -import org.hibernate.annotations.CollectionIdJdbcType; |
29 |
| -import org.hibernate.annotations.CollectionIdJdbcTypeCode; |
30 |
| -import org.hibernate.annotations.CollectionType; |
31 |
| -import org.hibernate.annotations.Columns; |
32 |
| -import org.hibernate.annotations.CompositeType; |
33 |
| -import org.hibernate.annotations.Fetch; |
34 |
| -import org.hibernate.annotations.FetchProfileOverride; |
35 |
| -import org.hibernate.annotations.Filter; |
36 |
| -import org.hibernate.annotations.FilterJoinTable; |
37 |
| -import org.hibernate.annotations.Formula; |
38 |
| -import org.hibernate.annotations.HQLSelect; |
39 |
| -import org.hibernate.annotations.Immutable; |
40 |
| -import org.hibernate.annotations.LazyGroup; |
41 |
| -import org.hibernate.annotations.ListIndexBase; |
42 |
| -import org.hibernate.annotations.ListIndexJavaType; |
43 |
| -import org.hibernate.annotations.ListIndexJdbcType; |
44 |
| -import org.hibernate.annotations.ListIndexJdbcTypeCode; |
45 |
| -import org.hibernate.annotations.ManyToAny; |
46 |
| -import org.hibernate.annotations.MapKeyJavaType; |
47 |
| -import org.hibernate.annotations.MapKeyJdbcType; |
48 |
| -import org.hibernate.annotations.MapKeyJdbcTypeCode; |
49 |
| -import org.hibernate.annotations.MapKeyMutability; |
50 |
| -import org.hibernate.annotations.MapKeyType; |
51 |
| -import org.hibernate.annotations.NotFound; |
52 |
| -import org.hibernate.annotations.NotFoundAction; |
53 |
| -import org.hibernate.annotations.OnDelete; |
54 |
| -import org.hibernate.annotations.OnDeleteAction; |
55 |
| -import org.hibernate.annotations.OptimisticLock; |
56 |
| -import org.hibernate.annotations.Parameter; |
57 |
| -import org.hibernate.annotations.QueryCacheLayout; |
58 |
| -import org.hibernate.annotations.SQLDelete; |
59 |
| -import org.hibernate.annotations.SQLDeleteAll; |
60 |
| -import org.hibernate.annotations.SQLInsert; |
61 |
| -import org.hibernate.annotations.SQLJoinTableRestriction; |
62 |
| -import org.hibernate.annotations.SQLOrder; |
63 |
| -import org.hibernate.annotations.SQLRestriction; |
64 |
| -import org.hibernate.annotations.SQLSelect; |
65 |
| -import org.hibernate.annotations.SQLUpdate; |
66 |
| -import org.hibernate.annotations.SoftDelete; |
67 |
| -import org.hibernate.annotations.SortComparator; |
68 |
| -import org.hibernate.annotations.SortNatural; |
69 |
| -import org.hibernate.annotations.SqlFragmentAlias; |
70 |
| -import org.hibernate.annotations.Synchronize; |
| 20 | +import org.hibernate.annotations.*; |
71 | 21 | import org.hibernate.boot.model.IdentifierGeneratorDefinition;
|
72 | 22 | import org.hibernate.boot.models.JpaAnnotations;
|
73 | 23 | import org.hibernate.boot.models.annotations.internal.JoinColumnJpaAnnotation;
|
@@ -1004,6 +954,7 @@ private static CollectionClassification determineCollectionClassification(
|
1004 | 954 | }
|
1005 | 955 |
|
1006 | 956 | if ( property.hasDirectAnnotationUsage( CollectionId.class )
|
| 957 | + || property.hasDirectAnnotationUsage( CollectionIdJavaClass.class ) |
1007 | 958 | || property.hasDirectAnnotationUsage( CollectionIdJdbcType.class )
|
1008 | 959 | || property.hasDirectAnnotationUsage( CollectionIdJdbcTypeCode.class )
|
1009 | 960 | || property.hasDirectAnnotationUsage( CollectionIdJavaType.class ) ) {
|
|
0 commit comments