Is it possible in some way to tell Hibernate to conditionally ignore missing columns in the database table when performing CRUD operations?
I have a Java application that uses Hibernate as th
Is it possible in some way to tell Hibernate to conditionally ignore missing columns in the database table when performing CRUD operations?
I have a Java application that uses Hibernate as th
I am trying to build a smaller SQL to avoid the “select * from A” built for hibernate Criteria by default.
If I Using simple fields (no relation), through “Transformers”, I can manage to have
How to specify the import file I want to run hibernate. Is there a configuration option I can put (I think I have seen something similar somewhere) I can say custom. sql file and hibernate will run
The entity class is:
DeviceWithReading. java
package com.fde.entity;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchTyp
I have a main table A, which contains a composite primary key, composed of two columns. One of the columns is a constant (“constant value” in the code below). This table is defined as follows Show:
I am using two different databases. I am using two different sessions to delete records from the two databases. The code is as follows:
try{
Session session1 = factory.getSession();
Transac
So I have some simple domain classes, I make sure not to use any PostgreSQL (or any other vendor) reserved words. Executing grails schema-export will generate a DDL, when targeting the same When th
From the Hibernate 3.6 documentation:
You may supply extra join conditions using the HQL with keyword. p> from Cat as cat
left join cat.kittens as kitten
with kitten.bodyWeight> 10.0 Thi
I am trying to use hibernate 5 in Java EE in tomcat 7, and I receive this error:
java .lang.AbstractMethodError
org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:278)
org.hib
We are using Hibernate and the c3p0 connection pool library. So far, this combination works well, until recently we decided to increase maxPoolSize to 1000 and perform a lot of stress testing on ou