Top "Hibernate" questions

Hibernate is an object-relational mapping (ORM) library for the Java language enabling developers to utilize POJO-style domain models in their applications in ways extending well beyond Object/Relational Mapping.

What are the First and Second Level caches in Hibernate?

Can anyone explain in simple words what First and Second Level caching in Hibernate are?

nhibernate hibernate
Hibernate openSession() vs getCurrentSession()

I have some questions about using Hibernate in JSP web application. What should be the value for hibernate.current_session_…

java hibernate
Hibernate table not mapped error in HQL query

I have a web application that use Hibernate to make CRUD operations over a database. I got an error saying …

java eclipse spring hibernate hibernate-mapping
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'customerService' is defined

I need help fixing this error I get when trying to deploy my web application into tomcat. Why isn't the …

java spring hibernate spring-mvc javabeans
org.hibernate.PersistentObjectException: detached entity passed to persist

I had successfully written my first master child example with hibernate. After few days I took it again and upgraded …

hibernate
What is the proper way to re-attach detached objects in Hibernate?

I have a situation in which I need to re-attach detached objects to a hibernate session, although an object of …

java hibernate spring session detach
How does spring.jpa.hibernate.ddl-auto property exactly work in Spring?

I was working on my Spring boot app project and noticed that, sometimes there is a connection time out error …

spring hibernate jpa database-connection ddl
Can someone explain mappedBy in JPA and Hibernate?

I am new to hibernate and need to use one-to-many and many-to-one relations. It is a bi-directional relationship in my …

java hibernate jpa jakarta-ee hibernate-mapping
not-null property references a null or transient value

Facing trouble in saving parent/child object with hibernate. Any idea would be highly appreciated. org.hibernate.PropertyValueException: not-null property …

hibernate