[jboss-user] [JBoss Seam] - Re: seam transactions

2007-09-03 Thread motte1979
If i understood it correctly and defines the transactionmanager to use. and the flag transaction-management-enabled="true" is for enabling seam to manage transactions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080378#4080378 Reply to the pos

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: @Entitylisteners

2007-08-31 Thread motte1979
Is there a better way than | Set bars = new HashSet(foo.getBars()); | foo.getBars().clear(); | entityManager.merge(foo); | foo.setBars(bars); | entityManager.merge(foo); | ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=407#407 Reply to

[jboss-user] [JBoss Seam] - Re: @EntityListeners with seam

2007-08-31 Thread motte1979
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079991#4079991 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079992#4079992 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079992 __

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - @Entitylisteners

2007-08-31 Thread motte1979
Hi , Is there a seam-way to implement @Entitylisteners ? I've read in the book 'Java Persistence with Hibernate' that the user of EntityManagers is not allowed in callbacks. However; thats the usecase: I've two Entities which are associated through a @ManyToMany association and i like to imple

[jboss-user] [JBoss Seam] - @EntityListeners with seam

2007-08-31 Thread motte1979
Hi , Is there a seam-way to implement @Entitylisteners ? I've read in the book 'Java Persistence with Hibernate' that the user of EntityManagers is not allowed in callbacks. However; thats the usecase: I've two Entities which are associated through a @ManyToMany association and i like to imple

[jboss-user] [JBoss Seam] - seam transactions

2007-08-30 Thread motte1979
Hi everybody, Can anyone explain to me the difference between the seam transactionmanagement | | and | | and | | | | ? Thanks for your effort. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079654#4079654 Reply to the post

[jboss-user] [JBoss Seam] - Re: s:link jta - transaction, rollbackonly

2007-08-30 Thread motte1979
It seams that the lifecycle for s:link and s:button is different from h:commanButton: The log shows me for s:button and s:link the following informations 2007-08-30 16:26:06,924 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] beginning transaction prior to phase: RESTORE_VIEW 1 | 2007-08-30 16:26

[jboss-user] [JBoss Seam] - s:link jta - transaction, rollbackonly

2007-08-29 Thread motte1979
Hi ! Im using s:link with @DataModelSelection to delete an entity. If i have opened two pages with the same content and simulate simultan user-action 'delete' on the same entity, i got an OptimisticLockException on flush. @TransactionAttribute (TransactionAttributeType.REQUIRES_NEW) |

[jboss-user] [JBoss Seam] - java.lang.NullPointerException at org.jboss.mx.loading.Repos

2007-07-23 Thread motte1979
Using: JBoss-Seam 2.0.0.BETA1 JBossAS4.2GA Hibernate/JPA postgresql-8.1-407.jdbc3 psql (PostgreSQL) 8.1.9 I think i've an configuration-error which causes the following unrecoverable NullpointerException. Unrevoerable means that all database-requests will end up in the same NullpointerException

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate/JPA throws java.lang.NullPointerException at org.j

2007-07-12 Thread motte1979
Using: JBoss-Seam 2.0.0.BETA1 JBossAS4.2GA Hibernate/JPA postgresql-8.1-407.jdbc3 psql (PostgreSQL) 8.1.9 | | | myprog-ds | jdbc:postgresql://localhost:5432/myprog | org.postgresql.Driver | myprog |