Re: [appfuse-user] Entity Listener

2007-10-15 Thread gederer
Hi Martin, This is an interesting approach. I'll probably use it. I've used the lifecycle event annotations with Toplink/glassfish, and they're really nice because you know they'll always get called. But, I suppose this will have to do. Thanks. Greg Martin Homik wrote: > > I use Hibernate a

Re: [appfuse-user] Entity Listener

2007-10-15 Thread Martin Homik
I use Hibernate as persistence framework, but just declaring a class as an Entity Listener and a method to do pre persistence does not work. Hibernate's annotation documentation doesn't say anything about how to apply lifecycle events in this case. I'm lacking the knowledge how to that. Meanwhil

Re: [appfuse-user] Entity Listener

2007-10-12 Thread gederer
I just read that the lifecycle event annotations only work in conjunction with an EntityManager. I'm using Hibernate for persistence. Can anyone say whether this works with JPA? Thanks! Greg Martin Homik wrote: > > Can anyone tell how to use Entity Listeners in AppFuse? I ran into the > same

Re: [appfuse-user] Entity Listener

2007-10-12 Thread Martin Homik
Greg, unfortunately, I have received no answer yet. Meanwhile, I suspect that hibernate does not support entity listener. I still have to investigate this. Cheers, Martin gederer wrote: > > Martin, > > I would love to get this working, too. Have you made any progress? > > Greg > > > Marti

Re: [appfuse-user] Entity Listener

2007-10-11 Thread gederer
I just posted a question about this to the Spring Data Access forum: http://forum.springframework.org/showthread.php?p=145755#post145755 Cheers, Greg Martin Homik wrote: > > Can anyone tell how to use Entity Listeners in AppFuse? I ran into the > same problems as already mentioned in > http

Re: [appfuse-user] Entity Listener

2007-10-11 Thread gederer
Martin, I would love to get this working, too. Have you made any progress? Greg Martin Homik wrote: > > Can anyone tell how to use Entity Listeners in AppFuse? I ran into the > same problems as already mentioned in > http://www.nabble.com/forum/ViewPost.jtp?post=11144501&framed=y&skin=2369 >

[appfuse-user] Entity Listener

2007-10-09 Thread Martin Homik
Can anyone tell how to use Entity Listeners in AppFuse? I ran into the same problems as already mentioned in http://www.nabble.com/forum/ViewPost.jtp?post=11144501&framed=y&skin=2369 this thread . Unfortunately, nobody posted any solution and I'd like to pick up that topic. In my case I want to