generate « Update « JPA Q&A





3. HQL Bulk update generates "bad" SQL?    forum.hibernate.org

Hibernate: update apns.Session, set endTime=?, timeout=? where ( ...

6. bug ? HQL update generate bad SQL    forum.hibernate.org

Author Message acure Post subject: bug ? HQL update generate bad SQL Posted: Wed Jul 19, 2006 9:05 am Newbie Joined: Thu Jul 06, 2006 4:25 am Posts: 3 Location: Poland why hibernate genarate bad sql ? ( "," after table name in update sql query ) is this a bug or my mistake ? Hibernate version: 3.1.3 Mapping ...

7. Saving tranisent object generates bunch of updates    forum.hibernate.org

When I save an instance of transient object, hibernate generates the insert sql which make sense but when the transaction is committed it generates bunch of update statements. I looked at associated objects that are defined in the hbm file of this class but references to those objects are null, so wondering how how come it generates so many update statements. ...

8. Invalid sql generated for update    forum.hibernate.org

2009-04-15 13:25:24,390 TRACE [org.hibernate.engine.query.HQLQueryPlan] executeUpdate: update Medium m set m.isCoverAvailable = 'false' where m.movie = :movie and m.dateInStock = :inStockOn and m.purchaseOrder.shipToRegion = :region 2009-04-15 13:25:24,390 TRACE [org.hibernate.engine.QueryParameters] named parameters: {inStockOn=26 February 2009, movie=com.nym.session.common.Movie#4203, reg ion=com.nym.hbm.model.Region#1}2009-04-15 13:25:24,393 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0)2009-04-15 13:25:24,393 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDB C connection2009-04-15 13:25:24,395 DEBUG [org.hibernate.SQL] update media, set ...