1. force load pojo after insert forum.hibernate.orgNewbie Joined: Tue Apr 06, 2010 11:06 am Posts: 1 Hello, i have a question: is it possible reload pojo after insert? I have two pojo: the first pojo (PianificazioneCommessaLavoratoreAnno) maps a table, the second pojo (PianificazioneGlobaleCommessaAnno) has a subselect. The first pojo has a relation many-to-one (pianificazioneGlobaleCommessaAnno) with the second pojo with properties inset="false" update="false". When i insert new pojo, ... |
2. Inserting POJO into Oracle Object forum.hibernate.orgHI , I have created a object :::CREATE TYPE CONTACT2 AS OBJECT ( firstName VARCHAR2(20), lastName VARCHAR2(25), email VARCHAR2(25) ) create type table1 is table of CONTACT2 I am trying to insert data into table1 my configuration file is like this |
3. Why POJO class is Serialiazble in Composite Key Insertion forum.hibernate.org |
4. Unusual Question/Problem: retrieving SQL insert for Pojo forum.hibernate.orgIn principle, Hibernate does not like to loose track of whatever pojos are being inserted in the dabatase. You can do inserts and deletes on hibernate3, but they have to be HQL. Hibernate won't even like a stored procedure called from within it, if the stored procedure does things other than select. |