What size do you think Rod Johnson is? ;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127971#4127971
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127971
___
jboss-user m
Christmas shopping is going to be easy this year!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127945#4127945
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127945
___
jboss
Uhm, that is "interesting"...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127573#4127573
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127573
___
jboss-user mailing list
j
Christian ... i tried to find your book on amazon so i searched for your
name and this showed up instead
http://www.amazon.com/Christian-Bauer-Loves-T-Shirt-XL/dp/B0011H0542/ref=sr_1_2?ie=UTF8&s=apparel&qid=1202413814&sr=8-2
... looks around nervously ...
View the original post :
http:
Folks, it's quite simple:
- EJB 3.0 defines injection rules for EntityManager with @PersistenceContext
- For consistency reasons with the rest of the component model, they decided to
make the _propagation_ rules (one component that has @PersistenceContext
calling another component that also has
"kasim" wrote : "msystems" wrote : Use @PersistenceContext if you are using
EJB3 and if you need a new transaction
(@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) ) - Seam ref:
| |
| | anonymous wrote :
| | | If you are using EJB3 and mark your class or method
@Tran
"msystems" wrote : Use @PersistenceContext if you are using EJB3 and if you
need a new transaction
(@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) ) - Seam ref:
|
| anonymous wrote :
| | If you are using EJB3 and mark your class or method
@TransactionAttribute(REQUIRES_NE
Sorry, I meant, ScopeType.SESSION instead of STATEFUL
@Name
| @Scope(SESSION)
| @Stateful
| public class FooImpl implenents Foo {
Also, I understand that the SMPC is conversation scoped, but then what should I
use in a Session scoped Session bean where there is no natural conversation
Begi
I have a SFSB that is invoked in multiple requests without a clear Begin or
End. It uses a SLSB to get a reference to an entity.
Here's an example from my project (note this worked in 1.2.1):
Foo is session scoped, so I expect its instance variables to stay around and
managed. When I invoke a()
Rephrasing my last answer :-)
If you need a new transaction and using EJB3 use @PersistenceContext -
otherwise use SMPC for everyting else.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127257#4127257
Reply to the post :
http://www.jboss.com/index.html?m
Use @PersistenceContext if you are using EJB3 and if you need a new transaction
(@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) ) - Seam ref:
anonymous wrote :
| If you are using EJB3 and mark your class or method
@TransactionAttribute(REQUIRES_NEW) then the trans-
| action a
Use SMPC for everything. Is there any reason not to?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127243#4127243
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127243
___
j
I've also noticed that if I find an entity using a EJB PersistenceContext EM,
then I get LazyInitializationExceptions when trying to fetch a property of that
entity in another bean that uses the SMPC EM.
The only way I've found around this is to re-fetch the entity using the current
EM.
This s
13 matches
Mail list logo