1. Generating Persistent Classes for Hibernate coderanch.com |
2. Hibernate generates "bad" SQL in Bulk update coderanch.com |
3. HQL Bulk update generates "bad" SQL? forum.hibernate.orgHibernate: update apns.Session, set endTime=?, timeout=? where ( ... |
4. Trying to save the object value without using Generation ? forum.hibernate.org |
5. update of table with GENERATED ALWAYS FOR EACH ROW ON UPDATE forum.hibernate.org |
6. bug ? HQL update generate bad SQL forum.hibernate.orgAuthor 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.orgWhen 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.org2009-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 ... |