[prev in list] [next in list] [prev in thread] [next in thread]
List: openejb-user
Subject: Re: Unittest Hibernate
From: Jean-Louis MONTEIRO <jean-louis.monteiro () atosorigin ! com>
Date: 2009-11-24 11:00:36
Message-ID: 26493963.post () talk ! nabble ! com
[Download RAW message or body]
No problem.
Jean-Louis
Martin Elkjær wrote:
>
> Thanks Jean-Louis!
> Simple...stupid me :)
>
> -Martin
>
>
>
> 2009/11/24 Jean-Louis MONTEIRO <jean-louis.monteiro@atosorigin.com>
>
>>
>> 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: martin@elkjaer-it.dk
> Tlf: +45 30275928
> http://www.mintraeningsdagbog.dk
>
>
--
View this message in context: http://old.nabble.com/Unittest-Hibernate-tp26492294p26493963.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic