Parsing excel data in Java before saving it to database [closed]
Closed 8 years ago.
What are the advantages of myBatis over Hibernate? [closed]
Closed 10 years ago.
When using Hibernate can we forget about Database Design?
We started (just me and my friend) working on a website. As a part design phase we have finished the drawing a Site Map, decided on the content in each of the web page and the navigation.
Do I need to know servlets and JSP to learn spring or hibernate or any other java web frameworks? [closed]
Closed 8 years ago.
Hibernate set up for beginner
I am learning Hibernate (OR Mapping). I am using Maven for project management. However, I am currently reading a Hibernate book by O’Reilly, and they use ANT for their example. So my question is are there any difference between setting up hibernate with ANT and Maven?
ORM: Keep entities coherent in a cache or retrieve entities each time?
We have a tricky question in a project using Java & Hibernate, with a model containing bi-directional relationships.
Sorting rows off an autoincrementing primary key
Is it a bad practice to rely on an auto-incrementing primary key to sort rows in a table? A coworker and I were having an argument about this subject. We need to be able to find the last-inserted row in a table, and we have no create/update time columns (which might be considered a bad practice in itself, but that’s a different argument). We obviously can’t rely on the natural order of the rows, since that can be inconsistent. Is there anything inherently wrong with using the primary key in this way, given that it’s an immutable value?
SQL W/ hibernate vs in-memory solution
I recently posted a question here: Methods to share memory or state across JVMs? and appreciate the answers. However, as I read the code and learned the system better I learned I was over complicating the problem. Only one of the JVM’s really care about the dynamic data so there is no need to pass dynamic data across memory boundries. However, we still have a problem that they are manually maintaining state between in-memory and sql; the manual code isn’t perfect and doesn’t protect against stale data, data races, etc etc and I want to remove it entirely one way or another so I can feel more secure about the overal stability.
Keyword Collection, ManyToOne or OneToMany relationship?
I hope this is the right place for this type of problem.
Hibernate HQL fails due to wrong column chosen by hibernate
The code below worked fine with Hibernate 5.6.x but now fails after upgrading to hibernate 6.5.2.Final.