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

JAVA-Hibernate , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Oracle throws this exception: too many open cursors

MySQL throws an exception: Cannot disable AUTO_COMMIT

Applies to:
Hibernate

Description:
Occurs while using Hibernate with MySQL

Cause:
Problem is in MySQL driver.

JAVA-Hibernate ,

java.lang.UnsupportedOperationException when fetching a JDBC connection

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”

JAVA-Hibernate , , , ,

Hibernate exception when loading more than one collection

Unknown entity exception

Applies to:
Hibernate

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

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

JAVA-Hibernate

AnnotationException: No identifier specified for entity

Applies to:
Hibernate

Description:
Annotation related exception.

Cause:
You have not set @Id annotation.

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.

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.

JAVA-Hibernate ,