Subject | Re: [firebird-support] Specifying the FireBird dialect in JPA (persistence.xml) |
---|---|
Author | Mark Rotteveel |
Post date | 2011-07-03T12:24:06Z |
On 30-6-2011 13:31, alexander.orlov@... wrote:
dialect? They are two completely different JPA implementations, with
their own settings etc. So you would need to check the EclipseLink
documentation to see how to configure it for using Firebird.
If you are using Hibernate: IIRC there is only one Firebird dialect,
there are no hibernate dialects for specific Firebird versions. If you
really need it (eg to support newer functionality), you will either need
to write it yourself, file a bug at RedHat/JBoss to create one, or
Google around to see if somebody else created one already.
--
Mark Rotteveel
> How can I specify the FireBird dialect in my persistence.xml?Why, if you are using EclipseLink are you specifying a hibernate
>
> I've found
> <property name="hibernate.dialect" value="org.hibernate.dialect.FirebirdDialect"/>
> but this tells Hibernate just to use the FireBirdDialect. And there is no option to specify the version. Also I'm not using Hibernate but EclipseLink as my JPA implementation library.
dialect? They are two completely different JPA implementations, with
their own settings etc. So you would need to check the EclipseLink
documentation to see how to configure it for using Firebird.
If you are using Hibernate: IIRC there is only one Firebird dialect,
there are no hibernate dialects for specific Firebird versions. If you
really need it (eg to support newer functionality), you will either need
to write it yourself, file a bug at RedHat/JBoss to create one, or
Google around to see if somebody else created one already.
--
Mark Rotteveel