I have two tables using a Parent-Child Relation, Child Tables have BLOB data on it.
i have enabled show_sql option.
When i do a session.delete(Parent), Hibernate prints that he's loading all child objects with a "Select", of course, those BLOB objects get loaded and that makes it take a big amount of time. After the "select", hibernate prints some "delect" messages. My question is: Is there any way to cascade delete a parent, and based in the foreign key of each child delete those childs, without the need to load them first.
Someone submited this bug, is related to this or not?
http://jira.nhibernate.org/browse/NH-611
And, if there's no solution how do you it?
Thanks, and sorry my englich