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



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 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..



View All Comments | View Tutorial
Related Tutorial and Articles


If you enjoyed this post then why not add us on Google+? Add us to your Circles