Subject Re: [firebird-support] Re: Specifying the FireBird dialect in JPA (persistence.xml)
Author mark@lawinegevaar.nl
On Mon, 04 Jul 2011 11:40:30 -0000, "alexander.orlov@..."
<alexander.orlov@...> wrote:
> --- In firebird-support@yahoogroups.com, Mark Rotteveel <mark@...> wrote:
>> Why, if you are using EclipseLink are you specifying a hibernate
>
> I do not. What I wanted to say is that, *even* using Hibernate it's not
> possible to specify any FireBird dialect.

Ah, misread that.

>> 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.
>
> So there's no option to specify any FB dialect (within JPA) yet.

Yes there is an option to select a Firebird dialect (for Hibernate JPA),
but it is generic for Firebird 1.5 (IIRC) and higher. As I don't know
EclipseLink, I am not sure, but I heard someone was able to use the files I
created for the Firebird version of Eclipse Data Tools Project
(http://www.lawinegevaar.nl/firebird/ ) in EclipseLink, I am not sure how
that works though and the files included are only for Firebird 2.1.

> Also I don't rely on the OSS devs to implement such things upon request.

On the other hand, if you don't ask they will not know there is a need. I
did try to write a Firebird 2.1 specific Hibernate dialect some time ago,
but as I did not have a lot of time, and did not really require it myself I
never actually finished.

Mark