Questions tagged [hibernate-5.x]

Hibernate-the object-relational mapping framework for the Java language released new version 5.x with enhanced features like query parser,multi-tenancy improvements,follow-on fetches,OSGi improvements etc.

Hibernate-the object-relational mapping framework for the Java language released new version 5.x with enhanced features like query parser,multi-tenancy improvements,follow-on fetches,OSGi improvements etc.

For more details on Hibernate version 5.x view Hibernate ORM Roadmap

368 questions
0
votes
1 answer

WildFly 10 Hibernate 5 Spring 4.2 and JTA stack throws ResourceException

I have EAR with simple non-JPA Hibernate based domain and dao submodules and web submodule. I want to use JTA and container managed transactions. When deploying on WildFly 9 (using Hibernate4) everything works fine. I migrated the app to WildFly 10…
Tomas Repel
  • 93
  • 1
  • 8
0
votes
1 answer

hibernate 5 and spring 4.1 integration configuration

this configuration unable to autowire dao classes configuration:
Suresh Dhaka
  • 82
  • 3
  • 11
0
votes
0 answers

Hibernate: Creating Data Object and saving in data base

I have a little problem, When I insert a new value, the program does not work and it will not recreate the table in sql,Please check the code an let me know if there is any mistake, I am using Hibernate 5 1) Main class package yashwanth; …
potu yashwanth
  • 21
  • 1
  • 10
0
votes
0 answers

Primefaces dataTable with commandButton send multiple request to hibernate

I am new with Primifaces and JSF framework I am using PRimefaces 5, JSF 2, Spring 4 and Hibernate 5 The problem that I am facing is that when adding a button into dataTable the number of request to hibernate increase ( redundant request ). here my…
Shalom Ohayon
  • 135
  • 1
  • 12
-1
votes
1 answer

Is it possible to create a one-to-one mapping with the columns as keys for a hashmap?

Imagine I have the following class where all the fields are integers: @Entity public class Bar implements Serializable { @Id private Integer id; @Basic private Integer field1; @Basic private Integer field2; …
WRadstok
  • 13
  • 5
-1
votes
1 answer

What is difference between HQL and Criteria API in Hibernate 5.x?

See now Hibernate 5 supports update and delete with criteria as well like HQL.
-1
votes
1 answer

Hibernate 5 "is not mapped" exception

Hi StackOverflow users! I'm facing a well know error with Hibernate 5 and I can't resolve the problem with the answers I already found here, in hope you'll find where I'm wrong, could you please tell me if my Hibernate conf is ok? Here is my pom: …
Laurent-P
  • 145
  • 1
  • 9
-2
votes
1 answer

How can i setup a Project using Jersey, Spring, Hibernate and maven

How can I configure a Java project using below libraries? Jersey 2.25 Spring 4.3.5 RELEASE Hibernate 5.5.6 Final Apache Maven Java 8
1 2 3
24
25