Thanks Jean-Louis! Simple...stupid me :) -Martin
2009/11/24 Jean-Louis MONTEIRO <[email protected]> > > Hi, > > You should not use the name of the datasource but the name of the > persistence unit. > Here are more details > http://openejb.apache.org/3.0/embedded-configuration.html > http://openejb.apache.org/3.0/embedded-configuration.html > > Jean-Louis > > > Martin Elkjær wrote: > > > > Hi, > > > > I'm doing some unittest, and I'm trying to override Hibernate properties > > in > > my persistence unit: > > > > p.put("mtdUnManagedDatabase.hibernate.hbm2ddl.auto", "create-drop"); > > > > But all I get is a warning: > > WARN - Property "hibernate.hbm2ddl.auto" not supported by > > "mtdUnManagedDatabase" > > > > > > Any suggestions ? > > > > -Martin > > > > > > -- > View this message in context: > http://old.nabble.com/Unittest-Hibernate-tp26492294p26493758.html > Sent from the OpenEJB User mailing list archive at Nabble.com. > > -- Venlig hilsen Martin Elkjær ---------------------------------------------------- Mail: [email protected] Tlf: +45 30275928 http://www.mintraeningsdagbog.dk
