attribute « Transaction « JPA Q&A





1. I have an slsb in ejb3.0 with a number of methods, do I need to annotate each method with transaction attributes?    stackoverflow.com

class decalaration:

@Stateless
@Local( { IMyLocalSLSB.class })
@Remote( { IMyRemoteSLSB.class }) })
public class mySLSB implements IMySLSB {

private EntityManager em;
and now some methods for inserting/updating and deleting db records are transactions annotations required, I thought ...

2. Concurrent modifications of the same attribute over JPA ent...    seamframework.org

Concurrent modifications of the same attribute over JPA entities at diferent conversations.Hi.I have a problem related to concurrent modifications.These area my thin jpa entities:@Entityclass A { private Long id; private List bList; @Id @GeneratedValue public Long getId() { return id; } // ...

3. Hibernate, JBoss and the transaction attribute    forum.hibernate.org

I got hibernate (2.1.8) working with JBoss 4.0.2. But I noticed that in my session facade, I had to set the transaction context as RequiresNew before using the Hibernate session. This means that the callers transaction context gets suspended. For long running transactions (say, a business process that calls various methods in the session facade), does this bean that I will ...

4. Hibernate, JBoss and the transaction attribute    forum.hibernate.org

I posted this to: JBoss Application Server & JBoss Cache but got no replies. Hence I'm retrying here, hoping for a bit more luck. I got hibernate (2.1.8) working with JBoss 4.0.2. But I noticed that in my session facade, I had to set the transaction context as RequiresNew before using the Hibernate session. This means that the callers transaction context ...

5. Attribute optimistic-lock is not declared for element "    forum.hibernate.org

Hi, 13:04:28,000 ERROR XMLHelper:59 - Error parsing XML: XML InputStream(53) Attribute "optimistic-lock" is not declared for element "set". Hibernate 3.0 dwa_unq_key nxt_hgh 0