From: Hilmar L. <hl...@ne...> - 2010-03-24 13:20:59
|
On Mar 24, 2010, at 9:16 AM, youjun guo wrote: > The current code for deleting a matrix is a hybrid of hibernate > operations and sql queries, I am going to make it 100% of sql > queries. See if it will solve the problem. In theory making it 100% Hibernate should solve the problem, and should also make it consistent with the Hibernate ORM tier for data access. The more straight SQL we have in there, the more maintenance problems or risks we have down the road. Why does a pure Hibernate solution not work here? Hibernate is perfectly capable of orchestrating cascading deletes. -hilmar -- =========================================================== : Hilmar Lapp -:- Durham, NC -:- informatics.nescent.org : =========================================================== |