persistence@glassfish.java.net

Re: Initial Derby support integrated

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Wed, 30 Nov 2005 17:58:58 -0800

Mitesh,

Why do you need to specify DerbyPlatform if it is Derby database?

thanks,
-marina

Mitesh Meswani wrote On 11/30/05 15:51,:
> 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