Home Tutorialhelp Comment [b] hi, i want to delete some records fr

 
 

Comment

shinoy
[b] hi, i want to delete some records fr,
December 9, 2006 at 6:17 PM

[b]


hi,

i want to delete some records from 1 table and then i have to insert new one.I write the HQL for this like the method below.in this i wrote delete first and then insert(look at last section DELETE and SAVE operations only).but when committed it tries to perform insert first so constraint violation happens and DB2 state err coming.can u give an example for delete and insert inside 1 transaction to 1 table.I want it soon .I stuck with that problem in my project..


shinoy

[/b]

View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Advertisements Advertisements
 

 

 

DMCA.com