Joined: Tue Jul 28, 2009 8:31 am Posts: 1
|
Hi
We are using hibernate with DB2 on Z/os. We have defined a table with identity column. When we insert into this table hibernate internally executes query select identity_val_local from sysibm.sysdummy1. We dont want the value generated in identity column so we want to disable this feature (this extra fetch is causing performance problem).
Also in our application we are actually inserting hundred records at a time, but hibernate internally is executing single insert statement hundred times instead of executing multi-rowinsert because it has to fetch identity value.
|
|