Re: Dynamic Entity Classes

2007-10-09 Thread Joe Toth
Salve is interesting... One problem, user-module does not know about accounting-module. On Wed, 2007-10-10 at 00:30 +0200, Gerolf Seitz wrote: > heh, i knew this would come up ;) > > On 10/10/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > > with Salve you can do it like this: > > > > UserB

Re: Dynamic Entity Classes

2007-10-09 Thread Gerolf Seitz
heh, i knew this would come up ;) On 10/10/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > with Salve you can do it like this: > > UserBalance User.getBalance() { > return accountingService.getBalance (user); > } > > because your User domain object would have access to accountingService. > > s

Re: Dynamic Entity Classes

2007-10-09 Thread Igor Vaynberg
with Salve you can do it like this: UserBalance User.getBalance() { return accountingService.getBalance (user); } because your User domain object would have access to accountingService. see http://salve.googlecode.com -igor On 10/9/07, Joe Toth <[EMAIL PROTECTED]> wrote: > This is a Hiberna

Dynamic Entity Classes

2007-10-09 Thread Joe Toth
This is a Hibernate question, but Eelco's 'class reloading' post reminded me to ask on this list. I asked in the Hibernate forums, but received no responses. Maybe someone here has a similar problem or some thoughts/ideas. * The Problem Ok, so you have IoC where you inject services you want to u