[jboss-user] [JBoss Seam] - Re: How to initialize application state (defaults)?

2006-08-25 Thread RobJellinghaus
I have the same situation. I don't know how to solve the two-persistence-contexts problem (I'm not using jbpm in my app). I'm planning to set my import.sql to populate some LocalConfiguration table with some initial "unset" state, and set hibernate.hbm2ddl.auto=create (as opposed to create-dro

[jboss-user] [JBoss Seam] - Re: How to initialize application state (defaults)?

2006-08-21 Thread wondermike
How would you solve problems like this one? http://www.jboss.com/index.html?module=bb&op=viewtopic&t=88326&start=20#3965369 In my app the import.sql file gets executed twice and I don't know how to prevent that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=39

[jboss-user] [JBoss Seam] - Re: How to initialize application state (defaults)?

2006-08-21 Thread petemuir
Is it backed by a database? If so, you could just use import.sql to import data. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966398#3966398 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966398 __