It is giving me 2 errors first is No exception of type hiberbnateexception can be thrown,it should be a subclass of Throwable, Second is Cannot cast ...
It is giving me 2 errors first is No exception of type hiberbnateexception can be thrown,it should be a subclass of Throwable, Second is Cannot cast ...
I am trying to query all the transactions happened from a list of dates.So I tried the below function: But this throws the error of org.hiberna ...
Instead of using a local mySQL Database i created an external database with https://remotemysql.com/. The problem I am having is that I cant connect t ...
When I run my web applicaton, the error below is shown. can you help me to fix it please? I'm using hibernate framework, the project was running suc ...
Like we all know, not using the @Transactional annotation in a Spring-Hibernate application gives a Hibernate Exception: Exception in thread "main ...
I'm working on simple demonstration of Hibernate on FUSE server and I found this sample code example in this github location. I'm try to run this code ...
I am able to update table while running this , but not able to save. I am getting the below error. SQL Error: 1364, SQLState: HY000 - Field 'AccCo ...
I have spent a few hours trying to set up my first Hibernate application and it still doesn't work. I have WAMP Server with my MySQL Data Base called ...
I have tried to establish a hibernate connection with Postgresql, but I'm receiving an exception, as follow: Caused by: java.lang.NoSuchMethodErro ...
Sorry to ask this question. Many may say that there are lots of answers but My bad luck none of those worked for me. Here is the Entity Class: TIMELI ...
I have Hibernate / java code that I am trying to modify to add a reference to another class. I had most of this project written by contractors, so I a ...
I have a POJO which is very plain easy only one Id and I am getting an exception when I am deleting a record, where saving and updating is working fin ...
I am using Hibernate Criteria to get values from column filename in my table contaque_recording_log. But when I'm getting the result, it throws an ex ...
In my table I have a unique constraint. In hibernate, when I add an item that violates that constraint, I want to catch it, so It will update instead ...
I'm doing a batch processing of records from file in to MySQL through Hibernate. I'm trying to iterate over the records and save them, up on Constrain ...
How can I get field name causing org.hibernate.exception.ConstraintViolationException? The only sure way to check unique constraint is transaction com ...
I try to delete one row in my table: My page: I do a method patientCardMB.delete() : patientCardDAo.delete: Entity PatientCard: When i tr ...
I'm trying to improve upon error handling in a Java/Postgres application and an error that occurs frequently is input being too long for a column with ...
When running a particular unit-test, I am getting the exception: for the named query defined here: After debugging as deep as I could, I've foun ...
In one of our production environments we get hibernatestaleobject exception on a thread continuously after it appears first. This continues till we re ...