Re: [appfuse-user] about circular dependency in models

2006-12-09 Thread Dale Newfield
wiradikusuma wrote: how did you do that precisely? i have a User object which has another User as its property. db-load chokes when called :-( Two choices: It's possible that while your schema is circular, your entries do not contain circular references, in which case you can order the entri

Re: [appfuse-user] AppFuse - Spring Question

2006-12-09 Thread Dale Newfield
Michael Horwitz wrote: The other approach we are toying with is bundling all the configuration into the war upfront, and getting the application to intelligently detect its environment and configure itself accordingly. But if you have sticklers in QA (as you describe), I don't see how they cou

Re: [appfuse-user] xdoclet unique-key question

2006-12-09 Thread majaa majaa
I have one field as FK too. Everything is ok! 06/12/9, Rene Lavoie <[EMAIL PROTECTED]>: Thanks for the idea. Not sure I could do it that way though since one field is a key is a FK from the parent, so the many-to-one relationship would now be on the component instead. - Original Message

Re: [appfuse-user] xdoclet unique-key question

2006-12-09 Thread Rene Lavoie
Thanks for the idea. Not sure I could do it that way though since one field is a key is a FK from the parent, so the many-to-one relationship would now be on the component instead. - Original Message - From: majaa majaa To: users@appfuse.dev.java.net Sent: Saturday, December

Re: [appfuse-user] xdoclet unique-key question

2006-12-09 Thread majaa majaa
I have one unique key with 3 fields. /** * @hibernate.component unique="true" */ in one class and rest for these key in second Perhaps you can do that only in this way.. majaa

Re: [appfuse-user] AppFuse - Spring Question

2006-12-09 Thread Sanjiv Jivan
That's an interesting constraint I hadn't thought about. One could follow the same approach as I describe but instead of rebundling the generated config settings into the war, they can be generated into a "config" directory and the startup script can add the config directory to the web containers

Re: [appfuse-user] Strategy needed for maintaining theme artifacts

2006-12-09 Thread Matt Raible
You could use SiteMesh from within a separate application to decorate the application. http://raibledesigns.com/page/rd?entry=use_sitemesh_to_decorate_multiple Either that, or change to using a Velocity decorator that you could load from a database table. You could also create some sort of "the

Re: [appfuse-user] AppFuse - Spring Question

2006-12-09 Thread Michael Horwitz
100% agreed! Unfortunately I, like many other I know, work in an environment where we are strictly forbidden from making any modifications to the binary after we release to test. The application still has to go to QA, staging and production environments post test, and a war file is seen by the dep

Re: [appfuse-user] about circular dependency in models

2006-12-09 Thread wiradikusuma
DNewfield wrote: > > Michael Horwitz wrote: >> As a rule I would try and avoid circular dependencies wherever possible. > > whenever I have to do a db-load. (My kludge: alter the tables to > remove all the foreign key constraints before the db-load, adding those > constraints back in afterw