B
bb
Hi,
My team is using Hibernate. We are trying to get the Hibernate query
object to output pure SQL, not stuff like the following:
update T_CONTROL set id=?, max_order_number=?, max_requisition_number=?
where row_id=?
insert into T_CREDIT (id, vendor_id, amount, update_user,
update_timestamp, status, note, reason, date_paid, isas_id)
values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
In other words, get rid of the question marks and insert the ACTUAL
values that are being used. This would make debugging SQL errors a lot
easier.
I'm sure other's have a similar problem. Any help would be greatly
appreciated.
My team is using Hibernate. We are trying to get the Hibernate query
object to output pure SQL, not stuff like the following:
update T_CONTROL set id=?, max_order_number=?, max_requisition_number=?
where row_id=?
insert into T_CREDIT (id, vendor_id, amount, update_user,
update_timestamp, status, note, reason, date_paid, isas_id)
values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
In other words, get rid of the question marks and insert the ACTUAL
values that are being used. This would make debugging SQL errors a lot
easier.
I'm sure other's have a similar problem. Any help would be greatly
appreciated.