You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 27 Members of 4510 |
| Forum: Seam Users |
12. Mar 2008, 01:54 CET | Link |
I've edited the following line:
hibernate.hbm2ddl.auto=create
in test/bootstrap/META-INF/persistence.properties but the tables are not truncated before running the test suite
Use
Read about how to report a bug.
tried that one but it didnt work. i even tried using some really weird parameters on that test/bootstrap/META-INF/persistence.properties file to see if the persistence.properties is used but the test finished without any error.
i'm not sure but i dont think the persistence.properties is used. i tried modifying the persistence.xml on ejb/ejbModule/META-INF/persistence.xml (modified the hibernate.hbm2ddl.auto value to create/create-drop) and it did the job.
the only problem now is that same setting is used by both the deploy and test and what i need is to make the deploy use update hbm2ddl while the test should use create or create-drop
btw i'm using jboss 4.2.2 GA, seam 2.0.1 GA and jboss tools 2.0.0 GA
Maybe look at DBUnit with Seam.
Read about how to report a bug.