Hey Hibernate guys,
I was wondering if there are plans to make more bulk methods.
For Instance.
I see a
Code:
session.delete( Object );
are there plans to make a
Code:
session.delete( List );
Similarly, there is a
Code:
session.delete( String, Object[], Type[] );
are there plans to make a
Code:
session.update( String, Object[], Type[] )'
or maybe a
Code:
session.update( List );
I can see this coming in very handy. For instance if you have an Employee table with a manager_id on it, and a manager was replaced, it would be nice to be able to do something in hibernate that would mimic...
Code:
update employee
set manager_id = :newManager
where manager_id = :oldManager
Just thought I would run those by you. A way to do this without actually accessing the connection directly and doing straight jdbc would be really nice!
Thanks,