Questions tagged [jaybird]

Jaybird is a DBC driver for the Firebird database server. Use this tag for questions about using Jaybird to connect to Firebird.

Jaybird is a JDBC driver for the Firebird database. The Jaybird driver is based on the JDBC standard.

Jaybird is free software distributed under the LGPL.

Resources

See also

141 questions
1
vote
2 answers

Jboss 7 firebird connection

I'm having trouble connectiong to Firebird database (jaybird driver) from JBoss 7.1.0 CR1 This is the log: JBAS014775: New missing/unsatisfied dependencies: service jboss.jdbc-driver.firebirdsql (missing) dependents: [service…
hrast
  • 323
  • 3
  • 9
1
vote
1 answer

Liferay OSGi bundle deploy with FirebirdSQL jdbc driver error

I am new to Liferay 7.x and am having trouble with, I suspect, OSGI. I am trying to write an DB Authenticator which just checks for users in a separate DB. The DB is a FirebirdSQL DB. When setting the depenency in build.gradle like…
cfnz
  • 196
  • 3
  • 14
1
vote
1 answer

Firebird JDBC connection pool validation on Payara server

After a Firebird database crash the connections of the JDBC pool become invalid. (We have to flush the pool manually.) A good concept might be to use jdbc connection pool validation. Connection validation properties I am not sure what is the…
1
vote
1 answer

"Unexpected end of command - line 1, column 8" in JetBrains DataGrip trying to connect to Firebird

I'm trying to connect to a Firebird database hosted in a Docker from the DataGrip client, but this error appears: WARNING: No connection character set specified (property lc_ctype, encoding, charSet or localEncoding [42000][335544851] Dynamic SQL…
Moony
  • 11
  • 2
1
vote
1 answer

Can't connect to Firebird 3.0 with user with small letters in login with Java

I connect with names in capital letters, but it does not want to connect with small letters in the login. Here is a small test String ENCODING = "WIN1251"; String CONNECTION_URL = "jdbc:firebirdsql:localhost:C:/ProgramData/test.FDB"; Properties…
1
vote
1 answer

FBDriver reporting warnings I can't figure out how to fix

I'm developing a RESTful application and whenever I make a request, it works fine, but also outputs these warnings: o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Warning Code: 0, SQLState: null o.h.engine.jdbc.spi.SqlExceptionHelper :…
1
vote
1 answer

Insert file in blob field with jaybird 2.1.6

I'm trying to insert a file in a blob field in a Firebird database using lib jaybird 2.1.6. First, I create a record in my database, then, with the id of record, I try to insert my file in a blob (subtype 0) field. Here is my code: public static…
Simon Mardiné
  • 510
  • 2
  • 7
  • 23
1
vote
1 answer

Get an error when connecting to Firebird database

Springboot: pom.xml org.firebirdsql.jdbc jaybird 4.0.0.java8 application.properties spring.datasource.url=jdbc:firebirdsql://SERVER:3050/D:\company\DbPro\Data\file.fdb spring.datasource.driverClassName=org.firebirdsql.jdbc.FBDriver I get an…
1
vote
1 answer

java.sql.SQLException: The result set is closed on Firebird when executing two statements

I try to make 2 queries from a Firebird 2.5 DB. I use two separate Statement objects, but when in second query program try to use data from first query, it gets an error: java.sql.SQLException: The result set is closed. conn =…
Алекс
  • 13
  • 3
1
vote
1 answer

Jaybird SocketInputStream.socketread0 thread blocking

I am using JDBC connection to firebird. org.firebirdsql.jdbc jaybird-jdk18 3.0.5 When I am reading data with: resultSet.next(); //resultSet is instance of FBResultSet sometimes thread…
Altair
  • 325
  • 3
  • 16
1
vote
1 answer

JOOQ generates CHAR OCTETS columns as CHAR instead of BINARY

My problem very close the one mentioned in Using UUID PK or FK in Firebird with Jooq Setup: Jaybird 3.0.5, Firebird 2.5.7, jOOQ 3.11.7, JDK 1.8 My PK and FK fields like ID CHAR(16) CHARACTER SET OCTETS NOT NULL and TABLE_ID CHAR(16) CHARACTER SET…
tJeyhun
  • 195
  • 1
  • 9
1
vote
2 answers

java.sql.DataTruncation: Data truncation exception and LIKE operator relation

I'm working on a spring boot rest project. I have a web service that is searching a text in multiple fields. I'm using java specification to generate query. Resulting query is like that select * from V_AGENCY agencyview0_ where…
Erce Tilav
  • 1,073
  • 1
  • 12
  • 20
1
vote
1 answer

Java Driver Firebird 2.5 on Mac OS High Sierra

I cloned a Java project in NetBeans 8.2 on Mac OS High Sierra that uses a Firebird database using jars jaybird-2.2.8.jar and jaybird-full-2-2-8.jar and it works well on computers with Windows 8.2 and 10, and Linux Ubuntu 16.04. The Firebird engine…
1
vote
1 answer

Proper Setup of jaybird/Firebird DataSource with HikariCP

I'm trying to build a successful connection to a Firebird DB running on Windows using Spring Data JPA, Hibernate and a HikariCP Connection Pool. I have gotten everything to run correctly on other JDBC compliant DBs (H2, Derby, MySQL, etc.) but when…
blyons
  • 33
  • 10
1
vote
1 answer

How to setup Embedded Firebird and access from Java Application?

I have a Firebird DB file, test.fdb in some directory, I want to access the DB from java application. What are the required libraries files to access. I am using Jaybird JDBC Driver to access the embedded Firebird database, but I'm getting the…
koiralo
  • 22,594
  • 6
  • 51
  • 72