PDA

View Full Version : Tests fail with openjpa provider



Rooftop
Aug 24th, 2009, 04:30 PM
Hello,

mvn tests fail when i use openjpa as provider with version 1.0rc1. When i change the provider to Hibernate all tests run fine. I have created a very simple script to test:


install jpa -database MYSQL -provider OPENJPA
new persistent class jpa -name ~.key.Prefix -testAutomatically
add field string -class ~.key.Prefix -fieldName code -notNull -sizeMax 3
new integration test
new controller automatic -name ~.web.PrefixController -formBackingObject ~.key.Prefix
new selenium test -controller ~.web.PrefixController
configure logging -level DEBUG -package WEB
install security

So the above doesn't pass the tests after i do:


update jpa -provider HIBERNATE -database MYSQL

It does work. Hopefully somebody has a solution for this.

Kind Regards,

Ronald Vermeire