Skip to content

Failing metamodel tests

gbadner edited this page Dec 5, 2012 · 144 revisions

JPA-related

ElementCollection is annotated with @JoinTable, but should be @CollectionTable (should we allow @JoinTable?) org/hibernate/test/annotations/collectionelement/indexedCollection/IndexedCollectionOfElementsTest.java org/hibernate/test/annotations/collectionelement/ordered/ElementCollectionSortingTest.java org/hibernate/test/annotations/cascade/CascadeToEmbeddedManyToOneTest.java org/hibernate/test/annotations/collectionelement/QueryTest.java org/hibernate/test/annotations/indexcoll/IndexedCollectionTest.java org/hibernate/test/annotations/override/AssociationOverrideSchemaTest.java

An attribute is annotated with @Embedded, its class is not annotated with @Embeddable (should this be allowed?): org/hibernate/test/annotations/cid/CompositeIdTest.java org/hibernate/test/annotations/derivedidentities/e3/a/DerivedIdentityEmbeddedIdParentIdClassTest.java org/hibernate/test/annotations/derivedidentities/e5/b/DerivedIdentityIdClassParentSameIdTypeEmbeddedIdDepTest.java org/hibernate/test/annotations/strategy/StrategyTest.java org/hibernate/test/annotations/target/TargetTest.java


NPE DUE TO UNINITIALIZED STUFF IN COLLECTIONS

org/hibernate/test/annotations/collectionelement/OrderByTest.java element type is not initialized, causing NPE

Index column value is not initialized, resulting in NPE: org/hibernate/test/annotations/enumerated/mapkey/MapKeyEnumeratedTest.java

list does not have index type bound; causes NPE org/hibernate/test/cid/CompositeIdTest.java org/hibernate/test/legacy/MultiTableTest.java org/hibernate/test/legacy/SQLLoaderTest.java org/hibernate/test/querycache/CriteriaQueryCacheIgnoreResultTransformerTest.java org/hibernate/test/querycache/CriteriaQueryCacheNormalResultTransformerTest.java org/hibernate/test/querycache/CriteriaQueryCachePutResultTransformerTest.java org/hibernate/test/querycache/HqlQueryCacheIgnoreResultTransformerTest.java org/hibernate/test/querycache/HqlQueryCacheNormalResultTransformerTest.java org/hibernate/test/querycache/HqlQueryCachePutResultTransformerTest.java


ELEMENT COLLECTIONS

Element collection is not supported using annotations (Wrong attribute nature for toOne attribute: ELEMENT_COLLECTION_BASIC): org/hibernate/test/annotations/embedded/EmbeddedTest org/hibernate/test/annotations/collectionelement/CollectionElementTest org/hibernate/test/annotations/override/AssociationOverrideTest


IDs

key-many-to-one is not supported org/hibernate/test/annotations/cid/keymanytoone/EagerKeyManyToOneTest.java org/hibernate/test/keymanytoone/bidir/embedded/KeyManyToOneTest.java org/hibernate/test/keymanytoone/bidir/component/EagerKeyManyToOneTest.java org/hibernate/test/keymanytoone/bidir/component/LazyKeyManyToOneTest.java

org/hibernate/test/annotations/idclassgeneratedvalue/IdClassGeneratedValueTest.java org/hibernate/test/annotations/idmanytoone/alphabetical/AlphabeticalIdManyToOneTest.java org/hibernate/test/annotations/idmanytoone/IdManyToOneTest.java

org/hibernate/test/annotations/id/generationmappings/NewGeneratorMappingsTest.java org/hibernate/test/annotations/id/sequences/HibernateSequenceTest.java org/hibernate/test/annotations/id/sequences/IdTest.java

Derived IDs are not supported:

org/hibernate/test/annotations/derivedidentities/bidirectional/CompositeDerivedIdentityTest.java org/hibernate/test/annotations/derivedidentities/e1/a/DerivedIdentitySimpleParentIdClassDepTest.java org/hibernate/test/annotations/derivedidentities/e1/b2/IdClassGeneratedValueManyToOneTest.java org/hibernate/test/annotations/derivedidentities/e1/b/DerivedIdentitySimpleParentEmbeddedIdDepTest.java org/hibernate/test/annotations/derivedidentities/e1/b/specjmapid/IdMapManyToOneSpecjTest.java org/hibernate/test/annotations/derivedidentities/e1/b/specjmapid/lazy/CompositeKeyDeleteTest.java org/hibernate/test/annotations/derivedidentities/e1/c/DerivedIdentitySimpleParentEmbeddedDepTest.java org/hibernate/test/annotations/derivedidentities/e2/a/DerivedIdentityIdClassParentIdClassDepTest.java org/hibernate/test/annotations/derivedidentities/e2/b/DerivedIdentityIdClassParentEmbeddedIdDepTest.java org/hibernate/test/annotations/derivedidentities/e3/b/DerivedIdentityEmbeddedIdParentEmbeddedIdDepTest.java org/hibernate/test/annotations/derivedidentities/e4/a/DerivedIdentitySimpleParentSimpleDepTest.java org/hibernate/test/annotations/derivedidentities/e4/b/DerivedIdentitySimpleParentSimpleDepMapsIdTest.java org/hibernate/test/annotations/derivedidentities/e5/a/DerivedIdentityIdClassParentSameIdTypeIdClassDepTest.java

org/hibernate/test/annotations/derivedidentities/e5/c/ForeignGeneratorViaMapsIdTest.java org/hibernate/test/annotations/derivedidentities/e6/a/DerivedIdentityEmbeddedIdParentSameIdTypeIdClassDepTest.java org/hibernate/test/annotations/derivedidentities/e6/b/DerivedIdentityEmbeddedIdParentSameIdTypeEmbeddedIdDepTest.java


ASSOCIATIONS

one-to-one:

Bidirectional one-to-one is not supported org/hibernate/test/abstractembeddedcomponents/propertyref/AbstractComponentPropertyRefTest.java

one-to-one is not supported using annotations: org/hibernate/test/annotations/entity/BasicHibernateAnnotationsTest.java org/hibernate/test/annotations/cascade/circle/identity/CascadeCircleIdentityIdTest.java org/hibernate/test/annotations/cascade/circle/sequence/CascadeCircleSequenceIdTest.java org/hibernate/test/annotations/cascade/NonNullableCircularDependencyCascadeTest.java org/hibernate/test/annotations/manytoone/ManyToOneJoinTest.java org/hibernate/test/annotations/manytoone/ManyToOneTest.java org/hibernate/test/annotations/naturalid/ImmutableNaturalKeyLookupTest.java org/hibernate/test/annotations/onetoone/hhh4851/HHH4851Test.java org/hibernate/test/annotations/onetoone/OneToOneTest.java org/hibernate/test/annotations/onetoone/OptionalOneToOneMappedByTest.java org/hibernate/test/annotations/onetoone/OptionalOneToOnePKJCTest.java

org/hibernate/test/onetoone/formula/OneToOneFormulaTest.java org/hibernate/test/onetoone/joined/JoinedSubclassOneToOneTest.java org/hibernate/test/onetoone/link/OneToOneLinkTest.java org/hibernate/test/onetoone/nopojo/DynamicMapOneToOneTest.java org/hibernate/test/onetoone/optional/OptionalOneToOneTest.java org/hibernate/test/onetoone/singletable/DiscrimSubclassOneToOneTest.java

org/hibernate/test/orphan/one2one/fk/composite/DeleteOneToOneOrphansTest.java org/hibernate/test/orphan/one2one/fk/reversed/bidirectional/DeleteOneToOneOrphansTest.java org/hibernate/test/orphan/one2one/fk/reversed/unidirectional/DeleteOneToOneOrphansTest.java

one-to-many on a join table is not supported: org/hibernate/test/onetomany/OneToManyTest.java org/hibernate/test/immutable/entitywithmutablecollection/inverse/EntityWithInverseOneToManyJoinTest.java org/hibernate/test/immutable/entitywithmutablecollection/inverse/VersionedEntityWithInverseOneToManyJoinFailureExpectedTest.java org/hibernate/test/immutable/entitywithmutablecollection/inverse/VersionedEntityWithInverseOneToManyJoinTest.java org/hibernate/test/immutable/entitywithmutablecollection/noninverse/EntityWithNonInverseOneToManyJoinTest.java org/hibernate/test/immutable/entitywithmutablecollection/noninverse/VersionedEntityWithNonInverseOneToManyJoinTest.java


INHERITANCE

org/hibernate/test/annotations/inheritance/joined/JoinedSubclassAndSecondaryTable.java org/hibernate/test/annotations/inheritance/joined/JoinedSubclassTest.java org/hibernate/test/annotations/inheritance/mixed/SubclassTest.java org/hibernate/test/annotations/inheritance/SubclassTest.java org/hibernate/test/annotations/inheritance/union/SubclassTest.java org/hibernate/test/annotations/JoinedSubclassTest.java

org/hibernate/test/annotations/filter/subclass/joined/JoinedSubClassTest.java org/hibernate/test/annotations/filter/subclass/singletable/SingleTableTest.java org/hibernate/test/annotations/filter/subclass/tableperclass/TablePerClassTest.java

org/hibernate/test/unionsubclass2/UnionSubclassTest.java org/hibernate/test/unionsubclass/alias/SellCarTest.java org/hibernate/test/unionsubclass/UnionSubclassTest.java

org/hibernate/test/subclassfilter/DiscrimSubclassFilterTest.java org/hibernate/test/subclassfilter/JoinedSubclassFilterTest.java org/hibernate/test/subclassfilter/UnionSubclassFilterTest.java


Non-JPA:

org/hibernate/test/annotations/any/AnyTest.java

org/hibernate/test/annotations/array/ArrayTest.java

org/hibernate/test/entitymode/map/basic/DynamicClassTest.java org/hibernate/test/entitymode/map/subclass/SubclassDynamicMapTest.java


To be categorized:

A mapped superclass cannot extend an entity: org/hibernate/test/annotations/entitynonentity/EntityNonEntityTest.java org/hibernate/test/annotations/mappedsuperclass/intermediate/IntermediateMappedSuperclassTest.java

Non-matching number columns in foreign key source columns [FRIEND2FRIEND : 2] and target columns [Friend : 1] org/hibernate/test/annotations/manytomany/ManyToManyMaxFetchDepth0Test.java

The annotation property [XXX] of annotation [@YYY] is not of type ZZZ org/hibernate/test/annotations/onetomany/OneToManyTest.java

org/hibernate/test/annotations/enumerated/ormXml/OrmXmlEnumTypeTest.java org/hibernate/test/annotations/beanvalidation/DDLTest.java org/hibernate/test/annotations/beanvalidation/DDLWithoutCallbackTest.java org/hibernate/test/annotations/engine/collection/UnidirCollectionWithMultipleOwnerTest.java

org/hibernate/test/annotations/filter/secondarytable/SecondaryTableTest.java

org/hibernate/test/annotations/generics/EmbeddedGenericsTest.java org/hibernate/test/annotations/generics/GenericsTest.java

org/hibernate/test/annotations/identifiercollection/IdentifierCollectionTest.java

org/hibernate/test/annotations/immutable/ImmutableTest.java

org/hibernate/test/annotations/indexcoll/MapKeyTest.java

org/hibernate/test/annotations/join/JoinTest.java

org/hibernate/test/annotations/lob/SerializableToBlobTypeTest.java

org/hibernate/test/annotations/manytomany/ManyToManyTest.java org/hibernate/test/annotations/manytoone/referencedcolumnname/ManyToOneReferencedColumnNameTest.java org/hibernate/test/annotations/manytoonewithformula/ManyToOneWithFormulaTest.java org/hibernate/test/annotations/notfound/NotFoundTest.java org/hibernate/test/annotations/onetomany/OrderByTest.java

org/hibernate/test/annotations/override/AttributeOverrideTest.java

org/hibernate/test/annotations/polymorphism/PolymorphismTest.java

org/hibernate/test/annotations/query/QueryAndSQLTest.java org/hibernate/test/annotations/quote/QuoteGlobalTest.java org/hibernate/test/annotations/quote/QuoteTest.java

org/hibernate/test/annotations/quote/resultsetmappings/ExplicitSqlResultSetMappingTest.java

org/hibernate/test/annotations/referencedcolumnname/ReferencedColumnNameTest.java

org/hibernate/test/annotations/tableperclass/TablePerClassTest.java org/hibernate/test/annotations/tuplizer/TuplizerTest.java org/hibernate/test/annotations/uniqueconstraint/UniqueConstraintTest.java org/hibernate/test/annotations/various/IndexTest.java org/hibernate/test/annotations/various/readwriteexpression/ColumnTransformerTest.java org/hibernate/test/annotations/xml/ejb3/Ejb3XmlTest.java org/hibernate/test/annotations/xml/ejb3/OrmVersion1SupportedTest.java org/hibernate/test/annotations/xml/hbm/HbmTest.java org/hibernate/test/annotations/xml/hbm/HbmWithIdentityTest.java

org/hibernate/test/batchfetch/BatchFetchTest.java

org/hibernate/test/bidi/AuctionTest.java

org/hibernate/test/cid/CompositeIdWithGeneratorTest.java

org/hibernate/test/collection/backref/map/compkey/BackrefCompositeMapKeyTest.java

org/hibernate/test/collection/custom/basic/UserCollectionTypeAnnotationsVariantTest.java org/hibernate/test/collection/custom/basic/UserCollectionTypeHbmVariantTest.java

org/hibernate/test/collection/custom/parameterized/ParameterizedUserCollectionTypeAnnotationsVariantTest.java org/hibernate/test/collection/custom/parameterized/ParameterizedUserCollectionTypeHbmVariantTest.java

org/hibernate/test/collection/idbag/PersistentIdBagTest.java

org/hibernate/test/collection/map/hhh7557/EntityMapTest.java org/hibernate/test/collection/map/PersistentMapTest.java

org/hibernate/test/collection/ordered/joinedInheritence/OrderCollectionOfJoinedHierarchyTest.java

org/hibernate/test/collection/original/CollectionTest.java

org/hibernate/test/component/cascading/toone/CascadeToComponentAssociationTest.java

org/hibernate/test/connections/SuppliedConnectionTest.java

org/hibernate/test/criteria/CriteriaQueryTest.java

org/hibernate/test/cuk/CompositePropertyRefTest.java org/hibernate/test/cut/CompositeUserTypeTest.java

org/hibernate/test/dynamicentity/interceptor/InterceptorDynamicEntityTest.java org/hibernate/test/dynamicentity/tuplizer2/ImprovedTuplizerDynamicEntityTest.java org/hibernate/test/dynamicentity/tuplizer/TuplizerDynamicEntityTest.java

org/hibernate/test/event/collection/association/bidirectional/manytomany/BidirectionalManyToManySetToSetCollectionEventTest.java org/hibernate/test/event/collection/association/unidirectional/manytomany/UnidirectionalManyToManyBagCollectionEventTest.java

org/hibernate/test/events/CallbackTest.java

org/hibernate/test/extralazy/ExtraLazyTest.java

org/hibernate/test/filter/DynamicFilterTest.java org/hibernate/test/filter/hql/BasicFilteredBulkManipulationTest.java org/hibernate/test/filter/hql/JoinedFilteredBulkManipulationTest.java

org/hibernate/test/formulajoin/FormulaJoinTest.java

org/hibernate/test/hql/ASTParserLoadingOrderByTest.java org/hibernate/test/hql/ASTParserLoadingTest.java org/hibernate/test/hql/BulkManipulationTest.java org/hibernate/test/hql/ClassicTranslatorTest.java org/hibernate/test/hql/CriteriaClassicAggregationReturnTest.java org/hibernate/test/hql/CriteriaHQLAlignmentTest.java org/hibernate/test/hql/EJBQLTest.java org/hibernate/test/hql/HQLTest.java org/hibernate/test/hql/joinedSubclass/JoinedSubclassBulkManipTest.java org/hibernate/test/hql/ScrollableCollectionFetchingTest.java org/hibernate/test/hql/WithClauseTest.java

org/hibernate/test/idbag/IdBagTest.java

org/hibernate/test/idgen/enhanced/sequence/BasicSequenceTest.java org/hibernate/test/idgen/enhanced/table/BasicTableTest.java org/hibernate/test/idgen/enhanced/table/HiLoTableTest.java org/hibernate/test/idgen/identity/joinedSubClass/JoinedSubclassHierarchyWithIdentityGenerationTest.java

org/hibernate/test/idprops/IdentifierPropertyReferencesTest.java

org/hibernate/test/immutable/entitywithmutablecollection/inverse/EntityWithInverseOneToManyTest.java org/hibernate/test/immutable/entitywithmutablecollection/inverse/VersionedEntityWithInverseOneToManyFailureExpectedTest.java org/hibernate/test/immutable/entitywithmutablecollection/inverse/VersionedEntityWithInverseOneToManyTest.java org/hibernate/test/immutable/entitywithmutablecollection/noninverse/VersionedEntityWithNonInverseOneToManyTest.java org/hibernate/test/immutable/ImmutableTest.java

org/hibernate/test/interceptor/InterceptorTest.java

org/hibernate/test/interfaceproxy/InterfaceProxyTest.java

org/hibernate/test/joinedsubclass/JoinedSubclassTest.java

org/hibernate/test/joinfetch/JoinFetchTest.java

org/hibernate/test/join/JoinTest.java org/hibernate/test/join/OptionalJoinTest.java

org/hibernate/test/jpa/proxy/JPAProxyTest.java

org/hibernate/test/legacy/ABCProxyTest.java org/hibernate/test/legacy/ABCTest.java org/hibernate/test/legacy/ComponentNotNullTest.java org/hibernate/test/legacy/CustomSQLTest.java org/hibernate/test/legacy/FooBarTest.java org/hibernate/test/legacy/FumTest.java org/hibernate/test/legacy/IJ2Test.java org/hibernate/test/legacy/MapTest.java org/hibernate/test/legacy/MasterDetailTest.java org/hibernate/test/legacy/OneToOneCacheTest.java org/hibernate/test/legacy/ParentChildTest.java org/hibernate/test/legacy/QueryByExampleTest.java org/hibernate/test/legacy/SQLFunctionsTest.java org/hibernate/test/legacy/StatisticsTest.java

org/hibernate/test/manytomanyassociationclass/compositeid/ManyToManyAssociationClassCompositeIdTest.java org/hibernate/test/manytomanyassociationclass/surrogateid/generated/ManyToManyAssociationClassGeneratedIdTest.java org/hibernate/test/manytomany/batchload/BatchedManyToManyTest.java org/hibernate/test/manytomany/ManyToManyTest.java org/hibernate/test/manytomany/ordered/OrderedManyToManyTest.java org/hibernate/test/mapelemformula/MapElementFormulaTest.java org/hibernate/test/map/MapIndexFormulaTest.java org/hibernate/test/mixed/MixedTest.java org/hibernate/test/namingstrategy/NamingStrategyTest.java org/hibernate/test/naturalid/inheritance/InheritedNaturalIdTest.java org/hibernate/test/naturalid/mutable/MutableNaturalIdTest.java org/hibernate/test/naturalid/nullable/NullableNaturalIdTest.java org/hibernate/test/ondelete/OnDeleteTest.java

org/hibernate/test/optlock/OptimisticLockTest.java org/hibernate/test/ordered/OrderByTest.java

org/hibernate/test/propertyref/basic/PropertyRefTest.java org/hibernate/test/propertyref/component/partial/PartialComponentPropertyRefTest.java org/hibernate/test/propertyref/DoesNotWorkTest.java org/hibernate/test/propertyref/DoesNotWorkWithHbmTest.java org/hibernate/test/propertyref/inheritence/discrim/SubclassPropertyRefTest.java org/hibernate/test/propertyref/inheritence/joined/JoinedSubclassPropertyRefTest.java org/hibernate/test/propertyref/inheritence/union/UnionSubclassPropertyRefTest.java

rg/hibernate/test/queryplan/GetHqlQueryPlanTest.java org/hibernate/test/resulttransformer/ResultTransformerTest.java org/hibernate/test/sql/hand/query/NativeSQLQueriesTest.java org/hibernate/test/sql/hand/quotedidentifiers/NativeSqlAndQuotedIdentifiersTest.java

org/hibernate/test/stats/StatsTest.java

org/hibernate/test/subselect/SubselectTest.java org/hibernate/test/ternary/TernaryTest.java org/hibernate/test/tm/CMTTest.java

org/hibernate/test/typedmanytoone/TypedManyToOneTest.java org/hibernate/test/typedonetoone/TypedOneToOneTest.java

org/hibernate/test/unconstrained/UnconstrainedTest.java

Clone this wiki locally