Joined: Wed Sep 08, 2004 7:14 am Posts: 3 Location: Vienna, Austria
|
Are there any circumstances where it is reasonable that code like this
Session s = sessionFactory.openSession(); Transaction transaction = s.beginTransaction(); transaction.commit();
generates an sql delete statement?
Of course this empty transaction doesn't make sense in an application. I only tried this when I was looking for an inexplicable sql delete statment generated by my hibernate code.
In my opinionen this must be a hibernate bug.
anyone out there with an explanation or similar experiences?
|
|