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
2
votes
2 answers

Why Jpa query bound parameters are dramatically slower than raw parameters with like clause?

When I execute query by setting parameter externally, query execution time is getting dramatically slow. StopWatch stopWatch = new StopWatch(); stopWatch.start(); Query nativeQuery = mEntityManager.createNativeQuery( "select first 100 * from…
Erce Tilav
  • 1,073
  • 1
  • 12
  • 20
2
votes
1 answer

Firebird NUMERIC/DECIMAL precision and scale in Jaybird

I am testing Firebird NUMERIC / DECIMAL fields behavior in JDBC (Jaybird) in Java. When using FBResultSetMetaData to check the column properties (for using ResultSet.getObject method for e.g. SELECT * FROM NUMERICTEST query) I get the precision…
Tom
  • 423
  • 1
  • 4
  • 13
2
votes
1 answer

Error "Insufficient memory to allocate page buffer cache" while connecting to Firebird database

I am struggling to understand how a data source runs validation. I have a pool of connections which runs query on Firebird database, but there are few connection in pool which throws error like Insufficient memory to allocate page buffer cache…
Mkp
  • 95
  • 1
  • 2
  • 8
2
votes
2 answers

Connection error Hibernate + Firebird

I'm trying to connect Hibernate to firebird database, but i receive the error bellow. My configuration in persistence.xml is:
Sérgio Thiago Mendonça
  • 1,161
  • 2
  • 13
  • 23
2
votes
1 answer

Jaybird JDBC 3.0 - Connection Timing Out

I'm connecting to a Firebird 3.0 database using the Jaybird JDBC 3.0.3 driver. I'm connecting from within the ColdFusion Administrator -> Data Sources area. In the past, using JDBC 2.0 driver I created my data source as follows. JDBC URL:…
Phil
  • 4,029
  • 9
  • 62
  • 107
2
votes
1 answer

Passing user from user session in Java to Firebird Trigger using Hibernate or JDBC

I have a trigger that is used to audit data modifications. I need to send a query before every JDBC call so it sends user id to Firebird. How could I use it with Hibernate? JDBC query example: select rdb$set_context('USER_SESSION','CURRENT_USER',…
erickdeoliveiraleal
  • 708
  • 2
  • 9
  • 21
2
votes
0 answers

Firebird - Stored Procedure - How to execute Java Program (Java Stored Procedure) after insert of a row

I would like to run a Java program(plug-in), for a trigger on a table, say AFTER INSERT. How do I create the database trigger, to achieve this and get the java program executed on insert of a row in the table. I see in some documents, that a Java…
Raghu
  • 33
  • 1
  • 7
2
votes
1 answer

GDS Exception. 335544421. connection rejected by remote interface

I am trying to connect to a firebird db using the jaybird jdbc driver. Firebird is running under ubuntu. I have created a simple database located under /tmp/hellofb.fdb (yeah not the best place, just for testing). I am running firebird superserver…
BigONotation
  • 4,406
  • 5
  • 43
  • 72
2
votes
3 answers

Connection rejected: No connection character set specified (property lc_ctype, encoding, charSet or localEncoding)

When I try to connect to a Firebird database with dbeaver this error is shown: Connection rejected: No connection character set specified (property lc_ctype, encoding, charSet or localEncoding). Please specify a connection character set (eg…
Yuliem Alavez
  • 63
  • 1
  • 5
2
votes
2 answers

Jaybird 3 and Firebird transaction information

In previous version of jaybird (2.2) I was able to execute Services API to Firebird server to get active transaction markers: OIT, OAT, Next, etc. In version 3.0, I can't find out how to do it properly. There are only ISC-constants (like…
2
votes
1 answer

Jaybird with JPA on UUID field (char(16) character set octets)

I have problem with UUID ID fields defined by domain CREATE DOMAIN OCTET16 AS CHAR(16) CHARACTER SET OCTETS; I have defined AttributeConverter for jpa as import java.util.UUID; import javax.persistence.AttributeConverter; import…
tJeyhun
  • 195
  • 1
  • 9
2
votes
0 answers

How can I connect and retrieve data from a Firebird database in Java?

I've installed an external desktop application and established connection with their example Firebird database (it is locally on my computer, I have all parameters, passwords). How can I connect to that Firebird database in my own application…
gooornik07
  • 99
  • 12
2
votes
1 answer

Jaybird (Firebird JDBC) absolute() method

The absolute(int row) Java Doc says: Moves the cursor to the given row number in this ResultSet object. If the row number is positive, the cursor moves to the given row number with respect to the beginning of the result set. The first row is…
Joabe Lucena
  • 792
  • 8
  • 21
2
votes
2 answers

Using Jaybird to connect to a Firebird database located in a computer in a local network

I'm creating a java application that connects to a Firebird database and retrieve some data. The program is done, and it runs well in my computer. The problem is that, in the computer I need to run the application, the database is in another…
angel208
  • 281
  • 1
  • 5
  • 15
2
votes
1 answer

Firebird excessive logging

I'm using WildFly 10 with Hibernate and some JDBC. I have no logs at all If I declare my data source like this:
erickdeoliveiraleal
  • 708
  • 2
  • 9
  • 21
1 2
3
9 10