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
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
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
__
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
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
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
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
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)
|
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
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
|
10 matches
Mail list logo