Georg Buschbeck wrote:
> For some reason we want to control the setup of hibernate ourselves, so 
> removed the persistence.xml from WEB-INF/classes/META-INF,  and 
> redeployed our WAR,
>
> what i get is this exception:
>
> [17:16:57.820] {resin-15} org.hibernate.HibernateException: Hibernate 
> Dialect must be explicitly set
>                                  at 
> org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57)
>                                  at 
> org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)
>
>
> http://bugs.caucho.com/view.php?id=4003
>
>
> did i forget something? what can i do to resolve this?
>   
Is it possible that a jar has a persistence.xml? If there's no 
persistence.xml (and no <jpa-persistence-unit> in the resin.xml or 
resin-web.xml), then Resin shouldn't be starting Hibernate at all.

-- Scott
> Thanks,
>
> Georg
>
>   



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to