[appengine-java] Re: need comment on using @transactional on service layer

2009-11-28 Thread asianCoolz
@transactional is supported right? or do i need to use aop- transactional? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group,

[appengine-java] Re: need comment on using @transactional on service layer

2009-11-29 Thread asianCoolz
may i know are you generating the domain jdo pojo or handwritten? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send ema

[appengine-java] Re: need comment on using @transactional on service layer

2009-11-30 Thread Nacho Coloma
Your code looks OK. BTW, you do not need to explicitely open/close your EntityManager, nor is the getEntityManager() method required. As far as I know, as long as Spring is using interceptors and not weaving (should be your case), you should be OK. On Nov 28, 5:49 pm, asianCoolz wrote: > @transa

Re: [appengine-java] Re: need comment on using @transactional on service layer

2009-11-29 Thread Rusty Wright
Mine are hand written. asianCoolz wrote: > may i know are you generating the domain jdo pojo or handwritten? > > -- > > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to google-appengine-j...@g

Re: [appengine-java] Re: need comment on using @transactional on service layer

2009-12-23 Thread cw teoh
@Rusty I tried read your codes, 1. you already defined pointcuit for transaction in jdo-gae-context.xml but will still define @transaction.. inside service layer? that is duplicate work right? 2. why do you define "transient" of logger in service layer? i do understand transient is not se

Re: [appengine-java] Re: need comment on using @transactional on service layer

2009-12-29 Thread Rusty Wright
the jdo-gae-context.xml is only used for integration tests. Yes, it duplicates the transactions defined in the service layer, but it's configured so that any transaction already started by the service layer will be inherited by the dao layer, so it won't start a new transaction. The nontransac