Using Spring Roo 1.1.1 I created a new project and an entity. The commands entered were...
I noticed that the persist() method in Account_Roo_Entity.aj is...Code:project --topLevelPackage org.sotest.sscce --projectName Test2 --java 6 persistence setup --database GOOGLE_APP_ENGINE --provider DATANUCLEUS entity --class ~.data.account
Why does the persist method have Propagation.REQUIRES_NEW instead of the default propogation?Code:@Transactional(propagation = Propagation.REQUIRES_NEW) public void Account.persist() { if (this.entityManager == null) this.entityManager = entityManager(); this.entityManager.persist(this); }


Reply With Quote
