I want to run EJB3Unit-Test in my oracle 10g Database. Therefore I use this configuration (ejb3unit.properties).
### The ejb3unit configuration file ###
ejb3unit.inMemoryTest=false
ejb3unit.connection.url=jdbc:oracle:thin:....:1432:SID
ejb3unit.connection.driver_class=oracle.jdbc.OracleDriver
ejb3unit.connection.username=user
ejb3unit.connection.password=name
ejb3unit.dialect=org.hibernate.dialect.Oracle10gDialect
ejb3unit.show_sql=true
## values are create-drop, create, update ##
ejb3unit.schema.update=create
I will result in the following error:
Caused by: HibernateException: cannot instantiate dialect class
...
org.hibernate.dialect.Oracle10gDialect cannot be cast to org.ejb3unit.hibernate.dialect.Dialect
How can ejb3unit-testing be done using oracle db?