Subject Re: [Firebird-Java] Firebird JAybird and Wildfly 8.2 (JBoss)
Author Mark Rotteveel
On 20-5-2016 09:33, Doychin Bondzhev doychin@...
[Firebird-Java] wrote:
> Hi,
>
> You should also check what dialect is setin the dashboard application.
> If it uses JPA it should be in the persistance.xml
>
> For hibernate a parameter that specifies database dialect is required.
> If dialect is set for PostgreSQL, it is normal to get these errors.
> PostgreSQL dialect in hibernate can't recognize database if your data
> source is Firebird.
>
> Also another way of installing jaybird in WildFly 8.2 is to deploy jar
> file as deployment using web ui. All settings you can do from there. No
> need to touch any of the xml files manually.
>
> Once you deploy the driver it will be visible and you can create data
> sources with it.

That is not the problem here, the driver is correctly installed and a
datasource was created. The problem is that Dashbuilder has a
(semi-)hardcoded resolution of the
DatabaseMetaData.getDatabaseProductName() to the hibernate dialect to
use. It doesn't support Firebird in that resolution (see the github link
in my previous email).

Mark
--
Mark Rotteveel