Also if this problem can be solved using flush, then how can we rollback the transaction?
If we use flush, Will TransactionManager can rollback this transaction if there is any issue ??
Type: Posts; User: haishan; Keyword(s):
Also if this problem can be solved using flush, then how can we rollback the transaction?
If we use flush, Will TransactionManager can rollback this transaction if there is any issue ??
I am also facing the same problem. Not able to catch those exceptions in Service layer without issuing explicit flush.
From the above posting, I am not able to find out any concrete solution for...
Problem:
I am trying to inject a Service, which has a TransactionProxyFactoryBean, into another class which also runs in the transaction.
Example: UserPO bean is already under a transaction,...
Hi,
As i have posted earlier, I am trying to insert a record into DB and insert a record in the Repository.
While saving the information into the Repository i am not calling Session.save(). ...
I am using Hibernate as the persistence mechanism from Spring.
Problem:
I am trying to insert a record 2 times in a table and on the 2nd insert, it will give a DataAccessException...
Hi ,
I have tried with the Jecks, I tried using the jcr example as mentioned in the site and tried using that transaction manager, it was not working.
Moreover i wanted to try basic thing like,...
Transaction Problem with Hibernate & JCR:
My scenario:
Step 1: Insert into DB using the Hibernate (Success)
Step 2: Insert into Repository using the JCR DAOSupport (Success)
Step 3: Insert...
Hi,
Currently to use spring modules's jackrabbit support we should configure the sessionfactory in application context.xml with username, password and workspace name.
But in my application, I...
Hi,
Currently to use spring modules's jackrabbit support we should configure the sessionfactory in application context.xml with username, password and workspace name.
But in my application, I...
Dear All,
I have configured my Jackrabbit repository using Spring Module 0.5 using TransientRepositoryFactoryBean and JcrDAoSupport.
1) I have given the repository home directory as...
All,
I have configured my Jackrabbit repository using Spring Module 0.5
In a single transaction, I have to do some operation in database and jackrabbit repository as well.
I am using...
All,
I have configured my Jackrabbit repository using Spring Module 0.5
In a single transaction, I have to do some operation in database and jackrabbit repository as well.
I am using...