This content has been marked as final.
Show 3 replies
-
1. Re: import.sql howto
maxandersen Jan 18, 2008 1:14 PM (in response to mariomoya)if you don't see any persistence.xml or import.sql file in the seam projects we create then something is wrong.
Both files are there; use Ctrl+R to find them. -
2. Re: import.sql howto
mariomoya Jan 18, 2008 5:31 PM (in response to mariomoya)Max, you are right!
The persistence.xml is present in the project. Sorry!
Now, changing the property<property name="hibernate.hbm2ddl.auto" value="update"/>
and setting it to<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
means that i can populate the database?
Thanks,
Mario. -
3. Re: import.sql howto
maxandersen Jan 19, 2008 5:16 AM (in response to mariomoya)yes, just like in seam-gen...just because its in the IDE doesn't change the behavior ,)