Disclaimer: I am a Hibernate newbee so please bear with me if my question sounds really stupid
Hi,
I am reading through hibernate docs and i really curious to know is it possible to perform an Update in hibernate
without loading the object (i know we could do this with HQL
http://docs.jboss.org/hibernate/core/3. ... tch-direct , but i am just wondering if its possible with objects).
Because IMHO , i feel that its an over kill to load the object from DB to perform an update.
In other words we are performing a select and update query every time when we want to perform update action
Say if have a
Code:
Class A
|
--- string
---- int
---- List<class B> list
say to update the int , dont you think its an overkill to load the class A object which would inturn load the list of classB