When we publish a Reference we change some of its properties (by example its status, set to 'published' and its published_version which is incremented)
Concerning the "transactional advice", this...
Type: Posts; User: enji; Keyword(s):
When we publish a Reference we change some of its properties (by example its status, set to 'published' and its published_version which is incremented)
Concerning the "transactional advice", this...
Hi,
I'm having trouble with transaction when I use postInterceptor.
Let's explain the problem in a simplified mode
I have an object Reference that can be linked to several ValidationTable...
I finally found a solution, to convert my proxied object into a real one that is of the good class A1
http://forum.hibernate.org/viewtopic.php?t=947035&highlight=load+proxy
exctracted from Hibernate in action, hope this help
The Hibernate Transaction API
Session session = sessions.openSession();
Transaction tx = null;
try {
tx = session.beginTransaction();...
well, half a day later... I tried to use interfaces and it was almost that but... I finally still have the same problem...
I've done the following tests
myRetrievedObject instanceof A > true...
I think you must specifiy transaction.rollback() in your catch.
I'm not sure 100%, but I think that when you do
finally {
session.close();
}
this commit your transaction even if you had a...
question...
after running your test do you have a message as "Rolled back transaction after test execution" ?
Thanks a lot, you just confirmed what I was starting to do, perfect !
Hi,
I'm having trouble with proxied objects. I have a POJO A1 that inherits A.
When I retrieve an object A1 from my DB via A's DAO (we are in a transaction), the object returned (my...
Hibernate version: 3
Name and version of the database you are using: Oracle 10g
Hi guys,
I would like to add a metadata to "MyProperty" property as following, to specify whether this property...