Hibernate Core errors

An object-relational mapping tool for Java

http://hibernate.org/
Solution coverage:
Summary coverage:

DescriptionException TypeEntry MethodWeb pages

hbm.xml file not found or missing or not in classpath

org.hibernate.MappingNotFoundException
org.hibernate.cfg.Configuration.addResource
53Web pages
MappingNotFoundExceptionConfiguration.addResource53

Named Queries in HQL has syntax error , failing to convert to SQL

org.hibernate.HibernateException
1 frames hidden
org.hibernate.cfg.Configuration.buildSessionFactory
37Web pages
1Solution
HibernateExceptionConfiguration.buildSessionFactory37

Use Annotation Configuration Class in latest Hibernate version instead of Configuration

org.hibernate.MappingException
1 frames hidden
org.hibernate.cfg.Configuration.parseSessionFactory
36Web pages
MappingExceptionConfiguration.parseSessionFactory36

Unnecessary mapping between entities in .hbm.xml file and Unnecessary mapping annotations in Entity Class

org.hibernate.MappingException
org.hibernate.cfg.Configuration.secondPassCompileForeignKeys
33Web pages
MappingExceptionConfiguration.secondPassCompileForeignKeys33

@Id Annotation missing on Entity Class and javax.persistance.id annotation missing

org.hibernate.AnnotationException
org.hibernate.cfg.InheritanceState.determineDefaultAccessType
32Web pages
AnnotationExceptionInheritanceState.determineDefaultAccessType32

ToOneFkSecondPass.doSecondPass() has thrown an AnnotationException

org.hibernate.AnnotationException
org.hibernate.cfg.ToOneFkSecondPass.doSecondPass
24Web pages
AnnotationExceptionToOneFkSecondPass.doSecondPass24

Configuration.validateSchema() has thrown a HibernateException

org.hibernate.HibernateException
org.hibernate.cfg.Configuration.validateSchema
22Web pages
HibernateExceptionConfiguration.validateSchema22

HbmBinder.bindCollectionSecondPass() has thrown a MappingException

org.hibernate.MappingException
org.hibernate.cfg.HbmBinder.bindCollectionSecondPass
20Web pages
MappingExceptionHbmBinder.bindCollectionSecondPass20

AnnotationBinder.processElementAnnotations() has thrown an AnnotationException

org.hibernate.AnnotationException
1 frames hidden
org.hibernate.cfg.AnnotationBinder.processElementAnnotations
19Web pages
AnnotationExceptionAnnotationBinder.processElementAnnotations19

AnnotationBinder.processElementAnnotations() has thrown a NoSuchMethodError

java.lang.NoSuchMethodError
org.hibernate.cfg.AnnotationBinder.processElementAnnotations
19Web pages
NoSuchMethodErrorAnnotationBinder.processElementAnnotations19

Configuration$MappingsImpl.addClass() has thrown a DuplicateMappingException

org.hibernate.DuplicateMappingException
org.hibernate.cfg.Configuration$MappingsImpl.addClass
18Web pages
DuplicateMappingExceptionConfiguration$MappingsImpl.addClass18

Configuration.<clinit>() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
org.hibernate.cfg.Configuration.<clinit>
17Web pages
NoClassDefFoundErrorConfiguration.<clinit>17

OneToOneSecondPass.doSecondPass() has thrown a NullPointerException

java.lang.NullPointerException
org.hibernate.cfg.OneToOneSecondPass.doSecondPass
17Web pages
NullPointerExceptionOneToOneSecondPass.doSecondPass17

Configuration.doConfigure() has thrown a MappingException

org.hibernate.MappingException
org.hibernate.cfg.Configuration.doConfigure
17Web pages
MappingExceptionConfiguration.doConfigure17

SettingsFactory.buildSettings() has thrown a NullPointerException

java.lang.NullPointerException
org.hibernate.cfg.SettingsFactory.buildSettings
17Web pages
NullPointerExceptionSettingsFactory.buildSettings17

AnnotationBinder.bindManyToOne() has thrown a NoSuchMethodError

java.lang.NoSuchMethodError
org.hibernate.cfg.AnnotationBinder.bindManyToOne
15Web pages
NoSuchMethodErrorAnnotationBinder.bindManyToOne15

Configuration.addResource() has thrown a MappingException

org.hibernate.MappingException
org.hibernate.cfg.Configuration.addResource
15Web pages
MappingExceptionConfiguration.addResource15

Ejb3JoinColumn.checkReferencedColumnsType() has thrown a MappingException

org.hibernate.MappingException
org.hibernate.cfg.Ejb3JoinColumn.checkReferencedColumnsType
15Web pages
MappingExceptionEjb3JoinColumn.checkReferencedColumnsType15

Configuration.doConfigure() has thrown a HibernateException

org.hibernate.HibernateException
org.hibernate.cfg.Configuration.doConfigure
14Web pages
HibernateExceptionConfiguration.doConfigure14

AnnotationBinder.bindClass() has thrown an AnnotationException

org.hibernate.AnnotationException
org.hibernate.cfg.AnnotationBinder.bindClass
13Web pages
AnnotationExceptionAnnotationBinder.bindClass13

SettingsFactory.buildSettings() has thrown a HibernateException

org.hibernate.HibernateException
1 frames hidden
org.hibernate.cfg.SettingsFactory.buildSettings
13Web pages
HibernateExceptionSettingsFactory.buildSettings13

AnnotationBinder.processElementAnnotations() has thrown a ClassCastException

java.lang.ClassCastException
2 frames hidden
org.hibernate.cfg.AnnotationBinder.processElementAnnotations
13Web pages
ClassCastExceptionAnnotationBinder.processElementAnnotations13

OneToOneSecondPass.doSecondPass() has thrown an AnnotationException

org.hibernate.AnnotationException
org.hibernate.cfg.OneToOneSecondPass.doSecondPass
13Web pages
AnnotationExceptionOneToOneSecondPass.doSecondPass13

SettingsFactory.buildSettings() has thrown an IllegalStateException

java.lang.IllegalStateException
3 frames hidden
org.hibernate.cfg.SettingsFactory.buildSettings
12Web pages
IllegalStateExceptionSettingsFactory.buildSettings12

Ejb3Column.getTable() has thrown an AnnotationException

org.hibernate.AnnotationException
1 frames hidden
org.hibernate.cfg.Ejb3Column.getTable
11Web pages
AnnotationExceptionEjb3Column.getTable11

HbmBinder.bindRootPersistentClassCommonValues() has thrown a DuplicateMappingException

org.hibernate.DuplicateMappingException
3 frames hidden
org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues
11Web pages
DuplicateMappingExceptionHbmBinder.bindRootPersistentClassCommonValues11

Configuration.configure() has thrown a HibernateException

org.hibernate.HibernateException
1 frames hidden
org.hibernate.cfg.Configuration.configure
10Web pages
HibernateExceptionConfiguration.configure10

Configuration.<init>() has thrown a NoSuchFieldError

java.lang.NoSuchFieldError
3 frames hidden
org.hibernate.cfg.Configuration.<init>
10Web pages
NoSuchFieldErrorConfiguration.<init>10

ExtendedMappings.<init>() has thrown an IllegalAccessError

java.lang.IllegalAccessError
org.hibernate.cfg.ExtendedMappings.<init>
8Web pages
IllegalAccessErrorExtendedMappings.<init>8

Configuration.configure() has thrown a NullPointerException

java.lang.NullPointerException
2 frames hidden
org.hibernate.cfg.Configuration.configure
8Web pages
NullPointerExceptionConfiguration.configure8

SettingsFactory.buildSettings() has thrown a HibernateException

org.hibernate.HibernateException
3 frames hidden
org.hibernate.cfg.SettingsFactory.buildSettings
8Web pages
HibernateExceptionSettingsFactory.buildSettings8

Mappings.addClass() has thrown a DuplicateMappingException

org.hibernate.DuplicateMappingException
org.hibernate.cfg.Mappings.addClass
7Web pages
DuplicateMappingExceptionMappings.addClass7

BinderHelper.makeIdGenerator() has thrown an AnnotationException

org.hibernate.AnnotationException
org.hibernate.cfg.BinderHelper.makeIdGenerator
7Web pages
AnnotationExceptionBinderHelper.makeIdGenerator7

AnnotationBinder.bindClass() has thrown an AnnotationException

org.hibernate.AnnotationException
1 frames hidden
org.hibernate.cfg.AnnotationBinder.bindClass
6Web pages
AnnotationExceptionAnnotationBinder.bindClass6

Configuration.buildSessionFactory() has thrown an AbstractMethodError

java.lang.AbstractMethodError
5 frames hidden
org.hibernate.cfg.Configuration.buildSessionFactory
6Web pages
AbstractMethodErrorConfiguration.buildSessionFactory6

BinderHelper.createSyntheticPropertyReference() has thrown an AnnotationException

org.hibernate.AnnotationException
org.hibernate.cfg.BinderHelper.createSyntheticPropertyReference
6Web pages
AnnotationExceptionBinderHelper.createSyntheticPropertyReference6

Configuration.buildSessionFactory() has thrown a HibernateException

org.hibernate.HibernateException
org.hibernate.cfg.Configuration.buildSessionFactory
6Web pages
HibernateExceptionConfiguration.buildSessionFactory6

AnnotationBinder.bindId() has thrown an AnnotationException

org.hibernate.AnnotationException
org.hibernate.cfg.AnnotationBinder.bindId
6Web pages
AnnotationExceptionAnnotationBinder.bindId6

AnnotationConfiguration.createExtendedMappings() has thrown a NoSuchFieldError

java.lang.NoSuchFieldError
org.hibernate.cfg.AnnotationConfiguration.createExtendedMappings
6Web pages
NoSuchFieldErrorAnnotationConfiguration.createExtendedMappings6

Configuration.addClass() has thrown a MappingException

org.hibernate.MappingException
org.hibernate.cfg.Configuration.addClass
5Web pages
MappingExceptionConfiguration.addClass5

SettingsFactory.buildSettings() has thrown an AbstractMethodError

java.lang.AbstractMethodError
org.hibernate.cfg.SettingsFactory.buildSettings
5Web pages
AbstractMethodErrorSettingsFactory.buildSettings5

Configuration.<clinit>() has thrown a NoSuchMethodError

java.lang.NoSuchMethodError
org.hibernate.cfg.Configuration.<clinit>
5Web pages
NoSuchMethodErrorConfiguration.<clinit>5

Ejb3Column.checkPropertyConsistency() has thrown an AnnotationException

org.hibernate.AnnotationException
org.hibernate.cfg.Ejb3Column.checkPropertyConsistency
5Web pages
AnnotationExceptionEjb3Column.checkPropertyConsistency5

Mappings.addImport() has thrown a MappingException

org.hibernate.MappingException
org.hibernate.cfg.Mappings.addImport
5Web pages
MappingExceptionMappings.addImport5

Configuration.reset() has thrown an ExceptionInInitializerError

java.lang.ExceptionInInitializerError
org.hibernate.cfg.Configuration.reset
5Web pages
ExceptionInInitializerErrorConfiguration.reset5

Configuration.buildMappings() has thrown a NoSuchMethodError

java.lang.NoSuchMethodError
6 frames hidden
org.hibernate.cfg.Configuration.buildMappings
5Web pages
NoSuchMethodErrorConfiguration.buildMappings5

Configuration.buildSessionFactory() has thrown a ClassCastException

java.lang.ClassCastException
2 frames hidden
org.hibernate.cfg.Configuration.buildSessionFactory
5Web pages
ClassCastExceptionConfiguration.buildSessionFactory5

Configuration.secondPassCompile() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
org.hibernate.cfg.Configuration.secondPassCompile
5Web pages
NullPointerExceptionConfiguration.secondPassCompile5

Configuration.buildSessionFactory() has thrown a ClassCastException

java.lang.ClassCastException
4 frames hidden
org.hibernate.cfg.Configuration.buildSessionFactory
4Web pages
ClassCastExceptionConfiguration.buildSessionFactory4

Configuration.buildSessionFactory() has thrown a NoSuchMethodError

java.lang.NoSuchMethodError
1 frames hidden
org.hibernate.cfg.Configuration.buildSessionFactory
4Web pages
NoSuchMethodErrorConfiguration.buildSessionFactory4
Package namePatterns foundSolution coverageSummary coverage
org.hibernate.cfg768
org.hibernate.internal714
org.hibernate.impl443
org.hibernate.loader354
org.hibernate.engine.jdbc.internal347
org.hibernate.jdbc214
org.hibernate.persister.entity183
org.hibernate.event.internal173
org.hibernate.type142
org.hibernate.event.def141
org.hibernate.transaction114
org.hibernate.hql.internal.antlr88
org.hibernate.engine.jdbc.connections.internal82
org.hibernate.engine79
org.hibernate.engine.internal77
org.hibernate.service.internal77
org.hibernate.engine.jdbc.batch.internal72
org.hibernate.connection67
org.hibernate.tool.hbm2ddl64
org.hibernate.mapping63
org.hibernate.collection.internal61
org.hibernate.engine.query.spi54
org.hibernate.boot.internal53
org.hibernate.engine.spi52
org.hibernate.hql.internal.ast51
org.hibernate.collection48
org.hibernate.engine.jdbc.spi45
org.hibernate.engine.transaction.spi44
org.hibernate.tuple.entity44
org.hibernate.engine.jdbc.internal.proxy43
org.hibernate.boot.model.process.spi40
org.hibernate.engine.transaction.internal36
org.hibernate.tool.schema.internal35
org.hibernate.id.insert34
org.hibernate.resource.jdbc.internal34
org.hibernate.action.internal33
org.hibernate.property31
org.hibernate.util31
org.hibernate.hql.ast29
org.hibernate.query.internal28
org.hibernate.cfg.beanvalidation26
org.hibernate.hql.internal.ast.tree25
org.hibernate.cfg.annotations24
org.hibernate.engine.query23
org.hibernate.engine.jdbc.env.internal22
org.hibernate.loader.criteria21
org.hibernate.id20
org.hibernate.exception.internal20
org.hibernate.proxy.pojo.javassist19
org.hibernate.engine.transaction.synchronization.internal19
Package nameClass namePatterns foundSolution coverageSummary coverage
org.hibernate.cfgConfiguration543
org.hibernate.cfgAnnotationConfiguration83
org.hibernate.cfgAnnotationBinder47
org.hibernate.cfgSettingsFactory31
org.hibernate.cfgCollectionSecondPass10
org.hibernate.cfgConfiguration$MetadataSourceQueue8
org.hibernate.cfgHbmBinder8
org.hibernate.cfgConfiguration$MappingsImpl6
org.hibernate.cfgBinderHelper6
org.hibernate.cfgToOneFkSecondPass5
org.hibernate.cfgMappings4
org.hibernate.cfgEJB3DTDEntityResolver2
org.hibernate.cfgOneToOneSecondPass2
org.hibernate.cfgEjb3Column2
org.hibernate.cfgAbstractPropertyHolder2
org.hibernate.cfgCreateKeySecondPass1
org.hibernate.cfgEnvironment1
org.hibernate.cfgFkSecondPass1
org.hibernate.cfgEjb3JoinColumn1
org.hibernate.cfgAttributeConverterDefinition1
org.hibernate.cfgSecondaryTableSecondPass1
org.hibernate.cfgSettings1
org.hibernate.cfgInheritanceState1
org.hibernate.cfgExtendedMappings1
Package nameClass nameMethod namePatterns foundSolution coverage
org.hibernate.cfgConfigurationbuildSessionFactory321
org.hibernate.cfgConfigurationconfigure60
org.hibernate.cfgConfigurationsecondPassCompile34
org.hibernate.cfgAnnotationConfigurationbuildSessionFactory33
org.hibernate.cfgAnnotationBinderbindClass28
org.hibernate.cfgSettingsFactorybuildSettings26
org.hibernate.cfgAnnotationConfigurationsecondPassCompile21
org.hibernate.cfgConfigurationaddInputStream17
org.hibernate.cfgConfigurationbuildMappings13
org.hibernate.cfgConfigurationbuildSettings13
org.hibernate.cfgAnnotationConfigurationconfigure13
org.hibernate.cfgConfigurationdoConfigure12
org.hibernate.cfgConfiguration<clinit>11
org.hibernate.cfgConfiguration<init>11
org.hibernate.cfgConfigurationaddResource11
org.hibernate.cfgCollectionSecondPassdoSecondPass10
org.hibernate.cfgAnnotationBinderprocessElementAnnotations9
org.hibernate.cfgConfigurationadd5
org.hibernate.cfgConfigurationaddClass5
org.hibernate.cfgAnnotationBinderfillComponent5
org.hibernate.cfgToOneFkSecondPassdoSecondPass5
org.hibernate.cfgConfiguration$MetadataSourceQueueprocessMetadata4
org.hibernate.cfgConfigurationreset3
org.hibernate.cfgBinderHelpercreateSyntheticPropertyReference3
org.hibernate.cfgAnnotationConfigurationparseMappingElement3
org.hibernate.cfgAnnotationConfigurationdoConfigure3
org.hibernate.cfgSettingsFactorycreateRegionFactory3
org.hibernate.cfgConfigurationsecondPassCompileForeignKeys3
org.hibernate.cfgConfigurationgenerateSchemaUpdateScript3
org.hibernate.cfgConfigurationvalidate2
org.hibernate.cfgConfigurationgenerateDropSchemaScript2
org.hibernate.cfgConfigurationprocessFkSecondPassInOrder2
org.hibernate.cfgConfiguration$MetadataSourceQueueprocessHbmXml2
org.hibernate.cfgEJB3DTDEntityResolverresolveEntity2
org.hibernate.cfgConfigurationparseSessionFactory2
org.hibernate.cfgHbmBinderbindRoot2
org.hibernate.cfgConfigurationvalidateSchema2
org.hibernate.cfgAnnotationBinderbindManyToOne2
org.hibernate.cfgAbstractPropertyHolderresolveAttributeConverterDefinition2
org.hibernate.cfgAnnotationConfigurationcreateExtendedMappings2
org.hibernate.cfgAnnotationBinderaddElementsOfAClass2
org.hibernate.cfgOneToOneSecondPassdoSecondPass2
org.hibernate.cfgConfigurationparseMappingElement2
org.hibernate.cfgAnnotationConfigurationaddResource2
org.hibernate.cfgAnnotationConfiguration<init>2
org.hibernate.cfgConfigurationgenerateSchemaCreationScript2
org.hibernate.cfgEnvironment<clinit>1
org.hibernate.cfgEjb3ColumncheckPropertyConsistency1
org.hibernate.cfgConfiguration$MappingsImpladdCollection1
org.hibernate.cfgConfiguration$MappingsImpladdImport1
Package nameClass nameMethod nameException TypePatterns foundSolution coverage
org.hibernate.cfgConfigurationbuildSessionFactoryMappingException50
org.hibernate.cfgConfigurationbuildSessionFactoryHibernateException48
org.hibernate.cfgConfigurationbuildSessionFactoryAnnotationException28
org.hibernate.cfgConfigurationbuildSessionFactoryNoSuchMethodError27
org.hibernate.cfgConfigurationbuildSessionFactorySQLException23
org.hibernate.cfgConfigurationbuildSessionFactoryServiceException21
org.hibernate.cfgConfigurationbuildSessionFactoryNullPointerException18
org.hibernate.cfgAnnotationBinderbindClassAnnotationException16
org.hibernate.cfgConfigurationsecondPassCompileAnnotationException16
org.hibernate.cfgConfigurationconfigureInvalidMappingException15
org.hibernate.cfgConfigurationbuildSessionFactoryNoClassDefFoundError13
org.hibernate.cfgConfigurationconfigureMappingException13
org.hibernate.cfgConfigurationconfigureHibernateException12
org.hibernate.cfgAnnotationConfigurationsecondPassCompileAnnotationException12
org.hibernate.cfgConfigurationbuildSessionFactoryClassCastException9
org.hibernate.cfgSettingsFactorybuildSettingsHibernateException8
org.hibernate.cfgAnnotationConfigurationconfigureHibernateException8
org.hibernate.cfgCollectionSecondPassdoSecondPassAnnotationException7
org.hibernate.cfgConfigurationsecondPassCompileMappingException7
org.hibernate.cfgConfigurationbuildMappingsAnnotationException7
org.hibernate.cfgAnnotationConfigurationbuildSessionFactoryMappingException6
org.hibernate.cfgAnnotationBinderbindClassNoSuchMethodError6
org.hibernate.cfgConfiguration<clinit>NoClassDefFoundError6
org.hibernate.cfgAnnotationBinderprocessElementAnnotationsAnnotationException6
org.hibernate.cfgConfigurationdoConfigureMappingException6
org.hibernate.cfgConfigurationbuildSessionFactoryCommandAcceptanceException5
org.hibernate.cfgAnnotationConfigurationbuildSessionFactoryAnnotationException5
org.hibernate.cfgAnnotationConfigurationbuildSessionFactoryNoSuchMethodError5
org.hibernate.cfgConfigurationbuildSettingsHibernateException5
org.hibernate.cfgConfigurationbuildSessionFactoryAbstractMethodError5
org.hibernate.cfgConfigurationaddInputStreamInvalidMappingException5
org.hibernate.cfgConfigurationbuildSessionFactoryNameNotFoundException4
org.hibernate.cfgAnnotationConfigurationbuildSessionFactoryHibernateException4
org.hibernate.cfgConfigurationbuildSessionFactoryJDBCConnectionException4
org.hibernate.cfgConfigurationaddResourceInvalidMappingException4
org.hibernate.cfgConfigurationbuildSessionFactoryIllegalArgumentException4
org.hibernate.cfgConfigurationconfigureConfigurationException4
org.hibernate.cfgAnnotationConfigurationbuildSessionFactorySQLException4
org.hibernate.cfgConfigurationbuildSessionFactoryJndiException4
org.hibernate.cfgConfigurationaddInputStreamMappingException4
org.hibernate.cfgConfigurationbuildSessionFactoryServiceConfigurationError3
org.hibernate.cfgConfigurationaddInvalidMappingException3
org.hibernate.cfgAnnotationConfigurationdoConfigureHibernateException3
org.hibernate.cfgConfigurationbuildSessionFactoryJndiException3
org.hibernate.cfgSettingsFactorybuildSettingsSQLException3
org.hibernate.cfgToOneFkSecondPassdoSecondPassAnnotationException3
org.hibernate.cfgSettingsFactorybuildSettingsNoClassDefFoundError3
org.hibernate.cfgAnnotationConfigurationconfigureMappingException3
org.hibernate.cfgConfigurationconfigureDocumentException3
org.hibernate.cfgConfigurationaddResourceMappingException3