Gang Of Coders
Home
About Us
Contact Us
All Hibernate Solutions on Gang of Coders
Total of 349 Hibernate Solutions
What are the possible values of the Hibernate hbm2ddl.auto configuration and what do they do
Java
Hibernate
Hbm2ddl
How to fix the Hibernate "object references an unsaved transient instance - save the transient instance before flushing" error
Java
Hibernate
Jpa
Orm
Entity
What's the difference between JPA and Hibernate?
Java
Hibernate
Jpa
Jakarta Ee
Orm
Difference between FetchType LAZY and EAGER in Java Persistence API?
Java
Hibernate
Jpa
Orm
Java Persistence-Api
JPA JoinColumn vs mappedBy
Java
Hibernate
Jpa
Orm
Hibernate throws MultipleBagFetchException - cannot simultaneously fetch multiple bags
Java
Hibernate
Jpa
One to-Many
Bag
What is the difference between DAO and Repository patterns?
Hibernate
Domain Driven-Design
Ejb 3.0
Repository Pattern
Data Access-Layer
How to print a query string with parameter values when using Hibernate
Java
Sql
Hibernate
Orm
How to log SQL statements in Spring Boot?
Java
Spring
Hibernate
Spring Boot
Logging
Create the perfect JPA entity
Java
Hibernate
Jpa
Equals
How to solve the “failed to lazily initialize a collection of role” Hibernate exception
Java
Spring
Hibernate
Jsp
Spring Mvc
Hibernate show real SQL
Java
Sql
Hibernate
Orm
Hibernate: hbm2ddl.auto=update in production?
Java
Hibernate
Hbm2ddl
The JPA hashCode() / equals() dilemma
Java
Hibernate
Jpa
Identity
Eclipselink
What is the easiest way to ignore a JPA field during persistence?
Java
Database
Hibernate
Jpa
JPA and Hibernate - Criteria vs. JPQL or HQL
Java
Hibernate
Hql
Criteria
Hibernate Criteria
Hibernate - A collection with cascade=”all-delete-orphan” was no longer referenced by the owning entity instance
Java
Hibernate
Hibernate Mapping
org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
Java
Hibernate
Maven
Jpa
Spring Boot
PersistentObjectException: detached entity passed to persist thrown by JPA and Hibernate
Java
Hibernate
Jpa
Entity
Persist
What is the difference between Hibernate and Spring Data JPA
Java
Spring
Hibernate
Jpa
Spring Data-Jpa
Hibernate SessionFactory vs. JPA EntityManagerFactory
Java
Hibernate
Jpa
Sessionfactory
Hibernate Entitymanager
Creation timestamp and last update timestamp with Hibernate and MySQL
Java
Hibernate
Timestamp
How do you do a limit query in JPQL or HQL?
Java
Hibernate
Hql
Hibernate3
What are the First and Second Level caches in (N)Hibernate?
Nhibernate
Hibernate
Confusion: @NotNull vs. @Column(nullable = false) with JPA and Hibernate
Java
Hibernate
Jpa
Persistence
Hibernate Annotations
What is the difference between JOIN and JOIN FETCH when using JPA and Hibernate
Java
Hibernate
Join
Hql
Fetch
Hibernate throws org.hibernate.AnnotationException: No identifier specified for entity: com..domain.idea.MAE_MFEView
Hibernate
Jpa
Orm
Identifier
Hibernate Annotations
How to fix org.hibernate.LazyInitializationException - could not initialize proxy - no Session
Java
Hibernate
Session
Orm
Lazy Loading
How do we count rows using older versions of Hibernate (~2009)?
Java
Hibernate
Count
How can I make a JPA OneToOne relation lazy
Java
Hibernate
Jpa
Lazy Loading
One to-One
How to map a composite key with JPA and Hibernate?
Java
Hibernate
Jpa
Orm
Composite Key
How does spring.jpa.hibernate.ddl-auto property exactly work in Spring?
Spring
Hibernate
Jpa
Database Connection
Ddl
Is the buildSessionFactory() Configuration method deprecated in Hibernate?
Java
Hibernate
Configuration
Deprecated
Bootstrapping
Make hibernate ignore class variables that are not mapped
Java
Hibernate
Jpa
How does JPA orphanRemoval=true differ from the ON DELETE CASCADE DML clause
Hibernate
Jpa
Cascade
Cascading Deletes
Orphan Removal
What are the differences between the different saving methods in Hibernate?
Java
Hibernate
Persistence
Can someone explain mappedBy in JPA and Hibernate?
Java
Hibernate
Jpa
Jakarta Ee
Hibernate Mapping
What is the proper way to re-attach detached objects in Hibernate?
Java
Hibernate
Spring
Session
Detach
javax.transaction.Transactional vs org.springframework.transaction.annotation.Transactional
Java
Spring
Hibernate
Transactions
Jta
Difference Between One-to-Many, Many-to-One and Many-to-Many?
Java
Hibernate
Orm
Many to-Many
One to-Many
How to change a field name in JSON using Jackson
Java
Jquery
Hibernate
Jquery Ui
Jackson
What is lazy loading in Hibernate?
Java
Hibernate
Orm
Lazy Loading
When and why JPA entities should implement the Serializable interface?
Java
Hibernate
Serialization
Orm
Jpa
How do synchronized static methods work in Java and can I use it for loading Hibernate entities?
Java
Multithreading
Hibernate
Concurrency
Synchronization
How to convert a Hibernate proxy to a real entity object
Java
Hibernate
Jpa
Proxy
Lazy Loading
Hibernate - Batch update returned unexpected row count from update: 0 actual row count: 0 expected: 1
Java
Hibernate
Hibernate vs JPA vs JDO - pros and cons of each?
Java
Hibernate
Orm
Jpa
Jdo
What is the difference between Unidirectional and Bidirectional JPA and Hibernate associations?
Java
Hibernate
Jpa
Orm
Associations
What's the difference between session.persist() and session.save() in Hibernate?
Java
Hibernate
In which case do you use the JPA @JoinTable annotation?
Java
Hibernate
Jpa
Many to-Many
Hibernate Mapping
What is “the inverse side of the association” in a bidirectional JPA OneToMany/ManyToOne association?
Java
Hibernate
Jpa
One to-Many
Mappedby
What's the difference between JPA and Spring Data JPA?
Java
Hibernate
Jpa
Orm
Spring Data-Jpa
Difference between @OneToMany and @ElementCollection?
Java
Hibernate
Jpa
What is the "owning side" in an ORM mapping?
Java
Hibernate
Orm
Jpa
Mapping
How to set a default entity property value with Hibernate
Java
Hibernate
Orm
Entity
Default Value
How to fetch FetchType.LAZY associations with JPA and Hibernate in a Spring Controller
Java
Spring
Hibernate
Jpa
Spring Data
Kotlin with JPA: default constructor hell
Hibernate
Jpa
Default Constructor
Kotlin
Disable all Database related auto configuration in Spring Boot
Spring
Hibernate
Spring Boot
Spring Data
Spring Data-Jpa
Apache Commons equals/hashCode builder
Java
Hibernate
Equals
Apache Commons
Hashcode
How to fix Hibernate LazyInitializationException: failed to lazily initialize a collection of roles, could not initialize proxy - no Session
Java
Spring
Hibernate
Spring Mvc
Spring Security
Spring Boot + JPA : Column name annotation ignored
Java
Hibernate
Jpa
Spring Boot
@Column(s) not allowed on a @ManyToOne property
Java
Hibernate
Jpa
Jboss
Annotations
Hibernate error - QuerySyntaxException: users is not mapped [from users]
Java
Hibernate
Hibernate Annotations - Which is better, field or property access?
Java
Hibernate
Orm
Jpa
Annotations
Hibernate JPA Sequence (non-Id)
Java
Hibernate
Jpa
Sequence
Difference between save and saveAndFlush in Spring data jpa
Java
Spring
Hibernate
Jpa
Spring Data-Jpa
Error creating bean with name 'entityManagerFactory' defined in class path resource : Invocation of init method failed
Java
Spring
Hibernate
Spring Mvc
Jpa
Hibernate: "Field 'id' doesn't have a default value"
Java
Hibernate
Jpa
Persistence
Mapping many-to-many association table with extra column(s)
Hibernate
Jpa
Mapping
Many to-Many
Jointable
JPA CascadeType.ALL does not delete orphans
Java
Hibernate
Orm
Jpa
Jpa 2.0
Another Repeated column in mapping for entity error
Hibernate
Jakarta Ee
Mappingexception
Hibernate, @SequenceGenerator and allocationSize
Java
Hibernate
Jpa
Hilo
Ignore fields from Java object dynamically while sending as JSON from Spring MVC
Java
Json
Hibernate
Spring Mvc
JpaRepository Not supported for DML operations [delete query]
Java
Spring
Hibernate
Spring Data-Jpa
Hql
Hibernate openSession() vs getCurrentSession()
Java
Hibernate
Is it possible to use raw SQL within a Spring Repository
Java
Hibernate
Spring Data-Jpa
Can javax.persistence.Query.getResultList() return null?
Java
Hibernate
Jpa
How do I call the default deserializer from a custom deserializer in Jackson
Java
Spring
Hibernate
Jackson
Spring Data JPA map the native query result to Non-Entity POJO
Spring
Hibernate
Jpa
Spring Data
Pojo
Default fetch type for one-to-one, many-to-one and one-to-many in Hibernate
Java
Hibernate
Jpa
proper hibernate annotation for byte[]
Java
Database
Hibernate
Postgresql
Blob
How to install Hibernate Tools in Eclipse?
Eclipse
Hibernate
Eclipse Plugin
Hibernate Tools
What's the use of session.flush() in Hibernate
Java
Hibernate
Orm
Hibernate problem - "Use of @OneToMany or @ManyToMany targeting an unmapped class"
Hibernate
Jpa
How does Spring Data JPA differ from Hibernate for large projects?
Java
Spring
Hibernate
Jpa
Spring Data-Jpa
javax.validation.ValidationException: HV000183: Unable to load 'javax.el.ExpressionFactory'
Java
Hibernate
Validation
Maven
Hibernate Validator
What is the difference between persist() and merge() in JPA and Hibernate?
Java
Hibernate
Jpa
Orm
Entity
In Hibernate Validator 4.1+, what is the difference between @NotNull, @NotEmpty, and @NotBlank?
Java
Hibernate
Validation
Bean Validation
Spring Hibernate - Could not obtain transaction-synchronized Session for current thread
Spring
Hibernate
Spring Mvc
Spring Orm
Setting up maven dependency for SQL Server
Sql Server
Hibernate
Maven
What is the use of the @Temporal annotation in Hibernate?
Java
Hibernate
Hibernate Error: org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session
Java
Hibernate
Orm
How to map calculated properties with JPA and Hibernate
Java
Hibernate
Jpa
Orm
Hibernate Mapping
What is the difference between CascadeType.REMOVE and orphanRemoval in JPA?
Java
Hibernate
Jpa
Cascading Deletes
Orphan Removal
Cannot create a database table named 'user' in PostgreSQL
Postgresql
Hibernate
Identifier
Reserved Words
Correct use of flush() in JPA/Hibernate
Java
Hibernate
Jpa
Transactions
Persistence
JPA: what is the proper pattern for iterating over large result sets?
Java
Hibernate
Jpa
org.hibernate.MappingException: Could not determine type for: java.util.List, at table: College, for columns: [org.hibernate.mapping.Column(students)]
Java
Hibernate
Orm
JPA eager fetch does not join
Java
Hibernate
Jpa
Join
How to store date/time and timestamps in UTC time zone with JPA and Hibernate
Java
Hibernate
Datetime
Jpa
Timezone
Hibernate Criteria returns children multiple times with FetchType.EAGER
Java
Hibernate
Why do I need Transaction in Hibernate for read-only operations?
Java
Database
Hibernate
Transactions
Database Connection
Why is Hibernate Open Session in View considered a bad practice?
Java
Hibernate
Jpa
Lazy Loading
Open Session-in-View
Does Java have a using statement?
Java
Hibernate
Using Statement
Why does Hibernate require no argument constructor?
Java
Hibernate
Orm
Factory Pattern
How do you configure logging in Hibernate 4 to use SLF4J
Hibernate
Logging
Slf4j
Hibernate 4.x
Jboss Logging
@UniqueConstraint and @Column(unique = true) in hibernate annotation
Java
Hibernate
Hibernate Annotations
Light weight alternative to Hibernate?
Java
Database
Hibernate
Sqlite
How can I get the session object if I have the entity-manager?
Java
Hibernate
Jpa
Hibernate Entitymanager
Transaction marked as rollback only: How do I find the cause
Java
Spring
Hibernate
Jpa
Transactions
When to use EntityManager.find() vs EntityManager.getReference() with JPA
Java
Hibernate
Jpa
Jakarta Ee
Persistence
org.hibernate.hql.internal.ast.QuerySyntaxException: table is not mapped
Java
Hibernate
Derby
Glassfish 4
Do I need <class> elements in persistence.xml?
Java
Hibernate
Orm
Jpa
Annotations
Mapping enum to string in hibernate
Java
Hibernate
Enums
What are detached, persistent and transient objects in hibernate?
Java
Hibernate
Orm
Name attribute in @Entity and @Table
Java
Hibernate
Jpa
Annotations
Persistence
what is the use of annotations @Id and @GeneratedValue(strategy = GenerationType.IDENTITY)? Why the generationtype is identity?
Java
Sql
Hibernate
Java Annotations
Hibernate: best practice to pull all lazy collections
Java
Hibernate
Lazy Loading
org.hibernate.PersistentObjectException: detached entity passed to persist
Hibernate
query specified join fetching, but the owner of the fetched association was not present in the select list
Hibernate
Join
Fetch
How to generate the JPA entity Metamodel?
Java
Hibernate
Jpa
Annotation Processing
Metamodel
Specifying an Index (Non-Unique Key) Using JPA
Java
Hibernate
Orm
Jpa
Datanucleus
How to choose the id generation strategy when using JPA and Hibernate
Java
Hibernate
Jpa
Uniqueidentifier
Id Generation
How does the FetchMode work in Spring Data JPA
Java
Spring
Hibernate
Jpa
Spring Data-Jpa
How do you create a Distinct query in HQL
Hibernate
Hql
Distinct
How should equals and hashcode be implemented when using JPA and Hibernate
Java
Hibernate
Orm
Equals
Hashcode
Annotation @Transactional. How to rollback?
Java
Hibernate
Spring
Hibernate: Automatically creating/updating the db tables based on entity classes
Java
Mysql
Hibernate
Jpa
Groovy
Cannot use identity column key generation with <union-subclass> ( TABLE_PER_CLASS )
Hibernate
Inheritance
Jpa
Class Table-Inheritance
How to map an entity field whose name is a reserved word in JPA
Java
Sql Server
Hibernate
Orm
Jpa
Hibernate dialect for Oracle Database 11g?
Oracle
Hibernate
Oracle11g
can someone please explain me @MapsId in hibernate?
Java
Hibernate
Jpa
Annotations
Hibernate Annotations
Hibernate Error: a different object with the same identifier value was already associated with the session
Java
Hibernate
mappedBy reference an unknown target entity property
Java
Hibernate
Orm
Hibernate Annotations
not-null property references a null or transient value
Hibernate
No serializer found for class org.hibernate.proxy.pojo.javassist.Javassist?
Json
Spring
Hibernate
Unable to get spring boot to automatically create database schema
Java
Mysql
Spring
Hibernate
Spring Boot
How to remove entity with ManyToMany relationship in JPA (and corresponding join table rows)?
Java
Hibernate
Jpa
Orm
Rollback transaction after @Test
Java
Spring
Hibernate
Junit
Spring Test
HikariCP - connection is not available
Hibernate
Postgresql
Spring Boot
Hikaricp
No serializer found for class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor
Java
Spring
Hibernate
Spring Mvc
Spring Boot
could not extract ResultSet in hibernate
Java
Sql
Hibernate
Spring Mvc
TransactionRequiredException Executing an update/delete query
Java
Spring
Hibernate
Mongodb
Jpa
Hibernate-sequence doesn't exist
Java
Spring
Hibernate
Hibernate Auto Increment ID
Java
Hibernate
Auto Increment
When and how to use hibernate second level cache?
Java
Hibernate
Caching
Second Level-Cache
spring data jpa @query and pageable
Java
Spring
Hibernate
Jpa
Spring Data-Jpa
Delete Not Working with JpaRepository
Java
Hibernate
Jpa
Spring Data
Spring Data-Jpa
Exception NoClassDefFoundError for CacheProvider
Java
Hibernate
Spring
Exception
Web Applications
Avoid Jackson serialization on non fetched lazy objects
Java
Spring
Hibernate
Serialization
Jackson
Turning off hibernate logging console output
Java
Hibernate
Logging
What is the "proper" way to cast Hibernate Query.list() to List<Type>?
Java
Hibernate
Generics
Hibernate error: ids for this class must be manually assigned before calling save():
Java
Hibernate
Identifier
Configuring Hibernate logging using Log4j XML config file?
Xml
Hibernate
Logging
Configuration
Log4j
JPA: difference between @JoinColumn and @PrimaryKeyJoinColumn?
Java
Hibernate
Jpa
Jakarta Ee
Identifying Relationship
org.hibernate.MappingException: Could not determine type for: java.util.Set
Java
Hibernate
Jpa
Annotations
Mapping PostgreSQL JSON column to a Hibernate entity property
Java
Json
Hibernate
Postgresql
Jpa
Hibernate: Difference between session.get and session.load
Hibernate
Proxy
Hibernate Session
Hibernate: flush() and commit()
Java
Hibernate
Orm
How to solve circular reference in json serializer caused by hibernate bidirectional mapping?
Java
Hibernate
Json
Serialization
Disabling contextual LOB creation as createClob() method threw error
Java
Hibernate
Oracle10g
Clob
Clarifying terminology - What does "hydrating" a JPA or Hibernate entity mean when fetching the entity from the DB
Java
Hibernate
Jpa
Orm
Lazy Loading
Hibernate lazy-load application design
Java
Hibernate
Spring
Lazy Loading
Application Design
Hibernate Vs iBATIS
Java
Hibernate
Frameworks
Persistence
Ibatis
What's new in Hibernate 4?
Java
Hibernate
Changelog
JPA Multiple Embedded fields
Java
Hibernate
Jpa
Jakarta Ee
Save child objects automatically using JPA Hibernate
Java
Database
Hibernate
IN-clause in HQL or Java Persistence Query Language
Java
Hibernate
Jpa
Hql
Jpql
Validation error: "No validator could be found for type: java.lang.Integer"
Java
Hibernate
Validation
Spring Mvc
Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect)
Java
Hibernate
Spring
Amazon Web-Services
Pessimistic Locking
What is referencedColumnName used for in JPA?
Hibernate
Jpa
Orm
Eclipselink
Openjpa
Multiple unique constraints in JPA
Java
Hibernate
Jpa
Orm
Datanucleus
How do you add PostgreSQL Driver as a dependency in Maven?
Java
Hibernate
Postgresql
Maven
Spring Data JPA and Exists query
Java
Hibernate
Jpa
Spring Data
Jpql
Proper way of writing a HQL in ( ... ) query
Hibernate
Hql
Using Hibernate UUIDGenerator via annotations
Java
Hibernate
Annotations
Uuid
JPA & Criteria API - Select only specific columns
Java
Hibernate
Jpa
Criteria Api
Connecting PostgreSQL 9.2.1 with Hibernate
Java
Hibernate
Postgresql
Postgresql 9.2
Repository Pattern - How to understand it and how does it work with "complex" entities?
Java
Spring
Hibernate
Repository Pattern
Enumerations in Hibernate
Java
Hibernate
Dao
session.connection() deprecated on Hibernate?
Java
Hibernate
Orm
Configure hibernate (using JPA) to store Y/N for type Boolean instead of 0/1
Java
Hibernate
Jpa
How can I mark a foreign key constraint using Hibernate annotations?
Java
Hibernate
Hibernate Mapping
Hibernate Annotations
JPA mapping: "QuerySyntaxException: foobar is not mapped..."
Java
Mysql
Hibernate
Jpa
Hibernate table not mapped error in HQL query
Java
Eclipse
Spring
Hibernate
Hibernate Mapping
How do you "OR" criteria together when using a criteria query with hibernate?
Java
Hibernate
JPA: How to get entity based on field value other than ID?
Java
Hibernate
Jpa
Hibernate: How to fix "identifier of an instance altered from X to Y"?
Java
Hibernate
Hibernateexception
Difference between query, native query, named query and typed query
Sql
Hibernate
Jpa
Native Sql
How to get SQL from Hibernate Criteria API (*not* for logging)
Java
Sql
Hibernate
Criteria
Hibernate: one-to-one lazy loading, optional = false
Hibernate
Jpa
Lazy Loading
One to-One
Deprecated createCriteria method in Hibernate 5
Java
Hibernate
How to do bulk (multi row) inserts with JpaRepository?
Hibernate
Spring Boot
Kotlin
Spring Data-Jpa
Cockroachdb
How to get distinct results in hibernate with joins and row-based limiting (paging)?
Java
Hibernate
Paging
Criteria
Distinct
JPA entity without id
Java
Hibernate
Jpa
What's the advantage of load() vs get() in Hibernate?
Java
Hibernate
hibernate: LazyInitializationException: could not initialize proxy
Hibernate
Initialization
Lazy Evaluation
Hibernate criteria: Joining table without a mapped association
Java
Hibernate
Hql
Criteria
Found shared references to a collection org.hibernate.HibernateException
Java
Hibernate
Grails
Groovy
Grails Orm
ORDER BY using Criteria API
Java
Hibernate
Sql Order-By
Hql
Wrong ordering in generated table in jpa
Java
Hibernate
Jpa
Joining two table entities in Spring Data JPA
Spring
Hibernate
Jpa
Spring Data-Jpa
org.hibernate.QueryException: illegal attempt to dereference collection
Hibernate
Hql
Jpa 2.0
Dereference
Jpa 2.1
what are good blogs to read relating java, spring, hibernate, maven?
Java
Spring
Hibernate
Maven
What is the difference between @ManyToOne(optional=false) vs. @Column(nullable=false)
Java
Hibernate
Orm
Jpa
Hibernate Criteria vs HQL: which is faster?
Performance
Hibernate
Hql
Hibernate Criteria
default value for CascadeType in Hibernate
Java
Hibernate
Spring Boot & Spring Data: how are Hibernate Sessions managed?
Hibernate
Session
Jpa
Spring Data
Spring Boot
Control the hibernate session(when to close it manually)
Hibernate
Session
How does Hibernate detect dirty state of an entity object?
Java
Hibernate
Orm
Entity Relationship
Identity
Hibernate Criteria Restrictions AND / OR combination
Hibernate
Criteria
Hibernate Criteria
Restrictions
javax.persistence.NoResultException: No entity found for query
Java
Hibernate
Jpa
Exception Handling
Null
Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]
Java
Database
Hibernate
Hibernate OneToMany java.lang.StackOverflowError
Java
Hibernate
Stack Overflow
One to-Many
How to import initial data to database with Hibernate?
Hibernate
Import
Initialization
Data Importer
When to use inverse=false on NHibernate / Hibernate OneToMany relationships?
Nhibernate
Hibernate
Collections
One to-Many
Inverse
Hibernate or JDBC
Java
Hibernate
Jdbc
JPQL Create new Object In Select Statement - avoid or embrace?
Java
Hibernate
Orm
Jpa
Jpql
JPA: Implementing Model Hierarchy - @MappedSuperclass vs. @Inheritance
Java
Hibernate
Jpa
Inheritance
Orm
Spring Data optional parameter in query method
Spring
Hibernate
Spring Data
Spring Data-Jpa
Jpql
Spring Security 3 database authentication with Hibernate
Database
Hibernate
Authentication
Spring Security
Why is HibernateDaoSupport not recommended?
Hibernate
Spring
No more data to read from socket error
Oracle
Hibernate
Spring
Jdbc
Debugging Spring configuration
Java
Hibernate
Spring
Configuration
Websphere
Hibernate/JPA ManyToOne vs OneToMany
Hibernate
Jakarta Ee
Jpa
One to-Many
Many to-One
Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
Java
Hibernate
Postgresql
Jdbc
Orm
Hibernate one-to-one: getId() without fetching entire object
Java
Hibernate
Jpa
What does the length attribute do when set on the @Column JPA annontation?
Java
Hibernate
Jpa
Annotations
Difference between JTA, JPA and plain JDBC in hibernate
Java
Hibernate
Jpa
Jdbc
Jta
Hibernate HQL Query : How to set a Collection as a named parameter of a Query?
Java
Hibernate
Hql
Hibernate, iBatis, Java EE or other Java ORM tool
Java
Hibernate
Orm
Jakarta Ee
Ibatis
How to set up default schema name in JPA configuration?
Java
Hibernate
Spring
Configuration
Jpa
How to turn off hbm2ddl?
Java
Hibernate
Orm
Hbm2ddl
UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only
Java
Spring
Hibernate
Transactions
Why do I need to configure the SQL dialect of a data source?
Hibernate
Configuration
Eclipselink
persistence.xml
Dialect
Spring Boot - Handle to Hibernate SessionFactory
Java
Spring
Hibernate
Spring Boot
JPA vs ORM vs Hibernate?
Java
Hibernate
Jpa
Orm
Trouble using ScrollableResults-backed Stream as return type in Spring MVC
Java
Hibernate
Java 8
Spring Orm
Open Session-in-View
java.lang.IllegalStateException: Multiple representations of the same entity with @ManyToMany 3 entities
Java
Hibernate
Jpa
Jpa 2.0
Ejb 3.0
How to generate a ddl creation script with a modern Spring Boot + Data JPA and Hibernate setup?
Hibernate
Spring Boot
Spring Data
Spring Data-Jpa
How does the JPA @SequenceGenerator annotation work
Java
Hibernate
Jpa
Sequence
Sequence Generators
Getting Database connection in pure JPA setup
Java
Hibernate
Orm
Jpa
Jdbc
JPA Hibernate many-to-many cascading
Hibernate
Jpa
Many to-Many
Jpa 2.0
Cascade
Hibernate Slow to Acquire Postgres Connection
Java
Hibernate
Postgresql
Connection
Postgres error in batch insert : relation "hibernate_sequence" does not exist position 17
Java
Hibernate
Postgresql
Jpa
Caching with Hibernate + Spring - some Questions
Hibernate
Spring
Caching
Ehcache
Second Level-Cache
What's the difference between @NotAudited and RelationTargetAuditMode.NOT_AUDITED in Hibernate EnVers?
Java
Hibernate
Hibernate Envers
Difference between LEFT JOIN and LEFT JOIN FETCH in Hibernate?
Hibernate
Hql
Fetching Strategy
Hibernate Criteria Join with 3 Tables
Hibernate
Join
Criteria
Spring Boot Data JPA - Modifying update query - Refresh persistence context
Spring
Hibernate
Spring Boot
Spring Data
Spring Data-Jpa
Difference between @Size, @Length and @Column(length=value) when using JPA and Hibernate
Java
Hibernate
Validation
Jpa
Orm
Hibernate Union alternatives
Java
Sql
Hibernate
Union
Does Hibernate always need a setter when there is a getter?
Java
Hibernate
Getter Setter
HQL "is null" And "!= null" on an Oracle column
Oracle
Hibernate
Null
hibernate 4 and joda-time
Java
Hibernate
Jodatime
Spring transaction REQUIRED vs REQUIRES_NEW : Rollback Transaction
Java
Spring
Hibernate
Transactions
Spring Transactions
JPA Cannot resolve column/IntelliJ
Java
Hibernate
Jpa
Intellij Idea
Mapping
Case-insensitive equals using Hibernate Criteria
Java
Hibernate
JPA Hibernate One-to-One relationship
Java
Hibernate
Jpa
Hibernate: How to set NULL query-parameter value with HQL?
Java
Hibernate
Null
What is difference between setMaxResults and setFetchSize in org.hibernate.Query?
Java
Hibernate
Create session factory in Hibernate 4
Java
Hibernate
Using the DISTINCT keyword causes this error: not a SELECTed expression
Sql
Oracle
Hibernate
Oracle11g
Lombok @builder on a class that extends another class
Java
Spring
Hibernate
Lombok
JPA, Mysql Blob returns data too long
Java
Hibernate
Jpa
Blob
Strange Jackson exception being thrown when serializing Hibernate object
Java
Json
Hibernate
Spring Mvc
Jackson
Transactional saves without calling update method
Java
Hibernate
Spring
Transactional
JPA CriteriaBuilder - How to use "IN" comparison operator
Hibernate
Jpa
Orm
Jpa 2.0
Criteria Api
What properties does @Column columnDefinition make redundant?
Java
Hibernate
Jpa
Manually call Spring Annotation Validation
Java
Spring
Hibernate
Validation
Spring Mvc
Spring boot JPA insert in TABLE with uppercase name with Hibernate
Java
Mysql
Hibernate
Jpa
Spring Data-Jpa
Native query with named parameter fails with "Not all named parameters have been set"
Java
Hibernate
Jpa
Refresh and fetch an entity after save (JPA/Spring Data/Hibernate)
Java
Hibernate
Jpa
Spring Data-Jpa
Persistence
Is Hibernate an overkill for an Android application?
Java
Android
Performance
Hibernate
org.hibernate.AssertionFailure: null id in entry (don't flush the Session after an exception occurs)
Mysql
Windows
Hibernate
Jsf 2
Jboss
Hibernate: ids for this class must be manually assigned before calling save()
Java
Hibernate
When to use DiscriminatorValue annotation in hibernate
Java
Hibernate
Jpa
Persistence
Difference between @GeneratedValue and @GenericGenerator
Java
Hibernate
Orm
Why do we use @Embeddable In Hibernate
Java
Hibernate
Jpa
org.hibernate.NonUniqueResultException: query did not return a unique result: 2?
Java
Hibernate
Hql
Jpql
Dao
The server time zone value 'AEST' is unrecognized or represents more than one time zone
Java
Mysql
Hibernate
Maven
org.hibernate.annotations vs. javax.persistence
Java
Hibernate
Jpa
How to map a PostgreSQL array with Hibernate
Java
Arrays
Postgresql
Hibernate
Orm
Hibernate validator: @Email accepts ask@stackoverflow as valid?
Hibernate
Validation
Spring Mvc
Hibernate Validator
No matching bean of type ... found for dependency
Java
Spring
Hibernate
Spring Mvc
Autowired
Retrieving all rows of a table without HQL?
Hibernate
Why composite-id class must implement Serializable?
Java
Hibernate
Could not serialize object cause of HibernateProxy
Java
Hibernate
Jakarta Ee
Jax Rs
Gson
What is the solution for the N+1 issue in JPA and Hibernate?
Java
Hibernate
Jpa
Design Patterns
Orm
Using Hibernate's ScrollableResults to slowly read 90 million records
Java
Mysql
Hibernate
Large Data-Volumes
Scrollableresults
Hibernate JPA, MySQL and TinyInt(1) for Boolean instead of bit or char
Java
Mysql
Hibernate
Jpa
Jpa 2.0
what is the purpose of two config files for Hibernate?
Java
Hibernate
Maven 2
How to test whether lazy loaded JPA collection is initialized?
Java
Hibernate
Jpa
Lazy Loading
Is it possible to detach Hibernate entity, so that changes to object are not automatically saved to database?
Java
Hibernate
Persistence
How to persist a List of Strings in Hibernate?
Java
String
Hibernate
List
Annotations
EntityNotFoundException in Hibernate Many To One mapping however data exist
Spring
Hibernate
Jpa
Spring Data-Jpa
Not supported for DML operations with JPA update query
Java
Hibernate
Spring Mvc
Jpa
Hql
Hibernate: Create Mysql InnoDB tables instead of MyISAM
Java
Mysql
Hibernate
Jpa
Innodb
problem with INIT=RUNSCRIPT and relative paths
Java
Hibernate
Maven 2
Configuration
H2
How to specify a JPA named parameter surrounded by wildcards?
Java
Hibernate
Jpa
Named Parameters
hibernate - get id after save object
Hibernate
Hibernate and no PK
Java
Database
Hibernate
Jpa
Do Hibernate table classes need to be Serializable?
Java
Hibernate
Orm
Serializable
Hibernate: Refresh, Evict, Replicate and Flush
Java
Hibernate
Hibernate Criteria Query to get specific columns
Java
Mysql
Hibernate
Hibernate Criteria
Deleted object would be re-saved by cascade (remove deleted object from associations)
Hibernate
Jakarta Ee
Jpa
One to-Many
One-To-Many relationship gets duplicate objects without using "distinct". Why?
Java
Hibernate
Hql
Distinct
One to-Many
Solve Hibernate Lazy-Init issue with hibernate.enable_lazy_load_no_trans
Java
Hibernate
Jpa
Persistence
Lazy Initialization
Spring Boot + JPA2 + Hibernate - enable second level cache
Hibernate
Spring Boot
Jpa 2.0
Second Level-Cache
Can't set JPA naming strategy after configuring multiple data sources (Spring 1.4.1 / Hibernate 5.x)
Spring
Hibernate
Spring Boot
Spring Data-Jpa
Text Field using Hibernate Annotation
Hibernate
Annotations
Blob
How to force Hibernate to return dates as java.util.Date instead of Timestamp?
Java
Hibernate
Jpa
Mapping
org.hibernate.AnnotationException: No identifier specified for entity - even when it was
Spring
Hibernate
Spring Data
Spring Data-Jpa
JPA - How to set string column to varchar(max) in DDL
Java
Sql Server
Hibernate
Jpa
Ddl
Does Hibernate Fully Support SQLite
Java
Hibernate
Sqlite
What does the Hibernate proxy object contain?
Java
Hibernate
Orm
Proxy
Hibernate Mapping
Invalid syntax error "type= MyISAM" in DDL generated by Hibernate
Java
Mysql
Hibernate
Mariadb
How to achieve "not in" by using Restrictions and criteria in Hibernate?
Hibernate
Criteria
Restriction
Hibernate recursive many-to-many association with the same entity
Java
Hibernate
Jakarta Ee
Entity Relationship
Hibernate Annotations
Unique Constraint Over Multiple Columns
Hibernate
Postgresql
Seam
Hibernate Mapping
Seam2
JPA OneToMany and ManyToOne throw: Repeated column in mapping for entity column (should be mapped with insert="false" update="false")
Java
Hibernate
Jpa
One to-Many
Many to-One
Do you need a database transaction for reading data?
Java
Spring
Hibernate
Jdbc
Transactions
What's new in Hibernate ORM 5?
Java
Hibernate
Jpa
Orm
Hibernate 5.x
Unable to autowire the service inside my authentication filter in Spring
Java
Spring
Hibernate
Spring Mvc
Hibernate dialect for MySQL 8?
Java
Mysql
Hibernate
How to solve the LazyInitializationException when using JPA and Hibernate
Java
Hibernate
Jpa
Orm
Lazy Initialization
Inherited abstract class with JPA (+Hibernate)
Java
Hibernate
Jpa
Annotations
No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here
Java
Hibernate
Spring
UnsupportedOperationException merge-saving many-to-many relation with hibernate and JPA
Hibernate
Jpa
Many to-Many
hibernate could not get next sequence value
Hibernate
Postgresql
Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister
Java
Hibernate
Not-null property references a transient value - transient instance must be saved before current operation
Java
Json
Spring
Hibernate
Rest
Hibernate: More than one row with the given identifier was found error
Hibernate
No data type for node: org.hibernate.hql.internal.ast.tree.IdentNode HQL
Java
Hibernate
Grails
Hql
How to use multiple JOIN FETCH in one JPQL query
Java
Hibernate
Jpa
Join
Jpql
Spring Data JPA - "could not initialize proxy - no Session" - With Methods marked as transactional
Java
Hibernate
Spring Boot
Spring Data-Jpa
C3p0
How do I write hql query with cast?
Java
Hibernate
Hql
How can I use DB side default value while use Hibernate save?
Hibernate
Jpa
Default
Sysdate
Not allowed to create transaction on shared EntityManager - use Spring transactions or EJB CMT
Spring
Hibernate
Jpa
Jpa 2.0
Could not commit JPA transaction: Transaction marked as rollbackOnly
Java
Spring
Hibernate
Jpa
Case-insensitive search using Hibernate
Sql
Hibernate
Select
Case Sensitive
Force a transactional rollback without encountering an exception?
Java
Hibernate
Spring
Hibernate query.list() method is returning empty list instead of null value
Java
Hibernate
Collections
Nullpointerexception
Return Value
How can I wipe data from my HSQLDB after every test?
Java
Hibernate
Junit
Hsqldb
What is the difference between a session and a transaction in JPA 2.0?
Java
Hibernate
Orm
Jpa
Persistence
Hibernate 4.1Final alternative for Hibernate.STRING
Java
Hibernate
Hibernate hbm2ddl.auto, possible values, and what they do
Hibernate
Orm
Properties
Hbm2ddl
How to find distinct rows with field in list using JPA and Spring?
Java
Spring
Hibernate
Jpa
Java 8
Spring + hibernate versus Spring Data JPA: Are they different?
Spring
Hibernate
Jpa
Spring Data-Jpa
Spring Orm