Subject | Re: Hibernate 3.0 B4, Firebird 1.5.2, Jaybird for JDK 1.4 |
---|---|
Author | jeffrobertsky@yahoo.com |
Post date | 2005-03-01T16:10:10Z |
I've been trying FirebirdDialect with 3.0, and have gotten enough
help here to realize that Hibernate is trying to call the
UDF "lower" and that I need to configure the Firebird service and my
database to support UDFs.
I didn't know I had to restart the Firebird service after changing
firebird.conf, but now that I have, the UDFs are accessible and I'm
able to at least do an 'ant eg' in Hibernate and get the example
program to run.
Now I'm on to trying 'ant junitreport' and there are failures I need
to look into there. I may try your suggestion and set the dialect
to "NONE".
And yes, I basically spammed the Hibernate, Firebird and Jaybird
lists, hoping one of them would know where I went wrong.
Thanks,
-Jeff
--- In firebird-support@yahoogroups.com, David Johnson
<d_johnson@c...> wrote:
help here to realize that Hibernate is trying to call the
UDF "lower" and that I need to configure the Firebird service and my
database to support UDFs.
I didn't know I had to restart the Firebird service after changing
firebird.conf, but now that I have, the UDFs are accessible and I'm
able to at least do an 'ant eg' in Hibernate and get the example
program to run.
Now I'm on to trying 'ant junitreport' and there are failures I need
to look into there. I may try your suggestion and set the dialect
to "NONE".
And yes, I basically spammed the Hibernate, Firebird and Jaybird
lists, hoping one of them would know where I went wrong.
Thanks,
-Jeff
--- In firebird-support@yahoogroups.com, David Johnson
<d_johnson@c...> wrote:
> Hibernate has a configuration that specifies the dialect of SQL touse.
> Their documentation (version 2.x) states that withInterbase/Firebird,
> use "NONE", even though there is an interbase setting. Thisworked well
> for me with version 2.xRC1
>
> This may also be a bug in version 3.x, since 3.0 was only moved to
> status yesterday evening. Have you checked the Hibernate lists?Most
>
> On Mon, 2005-02-28 at 11:54, jeffrobertsky@y... wrote:
> >
> >
> >
> > > Firebird implements a very small set of functions natively.
> > commonLOWER
> > > functions are available through libraries of User Defined
> > Functions
> > > which are distributed with Firebird but must be added to each
> > database,
> > > using a script of SQL commands. One of those functions is
> > whichthe
> > > hibernate references. Looking at your log, I'm not sure that
> > > absence of LOWER is the primary cause of your problems, butit's
> > > certainly going to keep your build from working.the
> > >
> > > So, add useStandardUdf to your properties. Add ib_udf.sql to
> > stepsand
> > > run after the database is created and before the tables for
> > hibernate
> > > are created. And try the firebird-java list
> > > (Firebird-Java@yahoogroups.com)... They speak your language.
> > >
> > > Regards,
> > > Ann
> >
> > Thanks - I found enough articles on UDF's to try executing
> > ib_udf.sql from within isql.exe and now I can "show function"
> > see the definitions.when
> >
> > I've tried adding "useStandardUdf = 1" as well as "UdfAccess =
> > Restrict UDF" (and "UdfAccess = Full") in firebird.conf but
> > LOWER is specified in SQL by Hibernate I keep getting:administrator
> >
> > Access to UDF library "ib_udf.DLL" is denied by server
> >
> > -Jeff
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >