persistence@glassfish.java.net

Re: Initial Derby support integrated

From: Mitesh Meswani <mitesh.meswani_at_Sun.COM>
Date: Thu, 01 Dec 2005 13:01:21 -0800

yup :)

Sailaja wrote:

> Hi Mitesh,
>
> I will pick up todays nightly but do I still need to make changes in
> persistence.xml ?
> thanks,
> Sailaja
>
>
> Mitesh Meswani wrote:
>
>> Initial support for running against Derby will be available with
>> today's nightly. If you plan to run against Derby, please use
>> DerbyPlatform in your persistence.xml as shown below.
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <persistence ..... >
>> <persistence-unit name ="em" >
>> <properties>
>> <property name="toplink.platform.class.name"
>> value="oracle.toplink.essentials.platform.database.DerbyPlatform"/>
>> .
>> .
>> </properties>
>> .
>> .
>> </persistence-unit>
>> </persistence>
>>
>>
>> Thanks,
>> Mitesh
>
>