This content has been marked as final.
Show 1 reply
-
1. Re: Cannot run Arquillian/Junit tests
nicoschl Jul 10, 2014 5:22 AM (in response to roberto.paolinelli)Hi Roberto,
Do you still need help with this?
2 Things I saw in the log file.
- It seems that the import.sql script doesn’t provide a value for a column that is not nullable. Check the schema for the database and the sql script to determine what is wrong with the sql script.
- enable sql logging for hibernate so that you can get a better idea on what is happening. Edit your persistence.xml and include these two properties:
<persistence-unit name="xxxxx" transaction-type="JTA"> ... <properties> ... <property name="hibernate.show_sql" value="false" /> <property name="hibernate.format_sql" value="true" /> ... </properties> </persistence-unit>
Nico