Error List

Error List for the ‘JAVA-Hibernate’ Category

javax.naming.NoInitialContextException while using Hibernate

Applies to:
Hibernate, Weblogic Server

Description:
Occurs while using Hibernate with Weblogic Server

Cause:
You have used Hibernate with Weblogic Server

admin JAVA-Hibernate

Oracle throws this exception: too many open cursors

Applies to:
Hibernate

Description:
Occurs while using Hibernate with Oracle

Cause:
The Oracle JDBC driver doesn’t much like to have its prepared statements cached.

admin JAVA-Hibernate

MySQL throws an exception: Cannot disable AUTO_COMMIT

Applies to:
Hibernate

Description:
Occurs while using Hibernate with MySQL

Cause:
Problem is in MySQL driver.

admin JAVA-Hibernate

java.lang.UnsupportedOperationException when fetching a JDBC connection

Applies to:
Hibernate, Tomcat

Description:
Occurs at application server.

Cause:
You have used the built-in DBCP to as a JNDI datasource

admin JAVA-Hibernate

JBoss AS complains about unclosed connections

Applies to:
Hibernate, JBoss AS

Description:
Occurs at application server.

Cause:
You got the message “[org.jboss.resource.connectionmanager.CachedConnectionManager] Closing a connection for you. Please close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection”

admin JAVA-Hibernate

Hibernate exception when loading more than one collection

Applies to:
Hibernate

Description:
Occurs when trying to load more than one collection.

Cause:
You have tried to load more than one collection.

admin JAVA-Hibernate

Unknown entity exception

Applies to:
Hibernate

Description:
Occurs when using @org.hibernate.annotations.Entity

Cause:
You have used @org.hibernate.annotations.Entity

admin JAVA-Hibernate

AnnotationException: No identifier specified for entity

Applies to:
Hibernate

Description:
Annotation related exception.

Cause:
You have not set @Id annotation.

admin JAVA-Hibernate

NoSuchMethodException while using Hibernate annotations

Applies to:
Hibernate

Description:
Thrown when a particular method cannot be found.

Cause:
Not all Hibernate Annotations versions works with every Hibernate Core version.

admin JAVA-Hibernate

@Lob annotation fails

Applies to:
Hibernate

Description:
Occurs at application startup.

Cause:
Annotation @Serialized was working for You, and now You used @Lob but it failed.

admin JAVA-Hibernate