jaybird

SQL Firebird implementation in java/ IBSQL

五迷三道 提交于 2019-12-12 20:46:58
问题 so tried to put that SQL code into my java-aplication: SELECT DISTINCT StRzImRo.Rohstoff, StRo.Bezeichnung, CAST (SUM(BwLsImAt.Lieferungen * StRzImRo.Menge * StAt.PROD__REZEPTURGEWICHT / Coalesce(StRz.PARM__BEZUGSGROESSE,1)) AS NUMERIC (9,3)) Rohstoffverbrauch_Gesamt FROM BwLsImAt JOIN StAt ON (StAt.IntRowId = BwLsImAt.Artikel) JOIN StRz ON (StRz.IntRowId = StAt.PROD__REZEPTUR) JOIN StRzImRo ON (StRzImRo.Master = StRz.IntRowId) JOIN StRo ON (StRzImRo.Rohstoff = StRo.IntRowId) WHERE StAt

jdbc driver not found when execute from exported Jar

时光总嘲笑我的痴心妄想 提交于 2019-12-09 21:18:32
问题 I have a Java applet, it works correctly when executed from eclipe, but I want to export it to a Jar and use it. but when I do that, i get jdbc driver not found, it seems like when exporting, jaybird is not exported. For exporting I use eclipse export and choose Java/JAR File, in build path i have jaybird mark to export. Any suggestions? Thanks in advance 回答1: Use Fat Jar to build runnable JARs that contain all dependent libs 回答2: You are most likely missing the files from the META-INF folder

SpagoBI + Firebird DataSource (The result set is closed)

半腔热情 提交于 2019-12-08 10:42:37
问题 I am using Spagobi version 3.6.0, Jaybird-2.2.2JDK_1.7 and Firebird 2.5 (x64). I set up a datasource and the testing is OK. I set up a dataset and the preview shows the correct list of colunms, only there is no data. Access via some other SQL viewer shows the data. The error message in the Catalina log is: org.firebirdsql.jdbc.FBSQLException: The result set is closed Does anybody have an idea what I did wrong? 回答1: After some testing the solution to your problem is to specify the connection

How to configure Jaybird with hibernate

对着背影说爱祢 提交于 2019-12-06 05:13:43
问题 I'm using jaybird 2.2.3 with hibernate 3.5 and when I use the wizard to hibernate mapping files and pojos database the following error appears "java.lang.NullPointerException" I use the same mapping with mysql and it works correctly, so I believe it is something in jaybird My hibernate.cfg.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">

jdbc driver not found when execute from exported Jar

会有一股神秘感。 提交于 2019-12-04 17:17:27
I have a Java applet, it works correctly when executed from eclipe, but I want to export it to a Jar and use it. but when I do that, i get jdbc driver not found, it seems like when exporting, jaybird is not exported. For exporting I use eclipse export and choose Java/JAR File, in build path i have jaybird mark to export. Any suggestions? Thanks in advance Use Fat Jar to build runnable JARs that contain all dependent libs Mark Rotteveel You are most likely missing the files from the META-INF folder of the Jaybird jar file. These files are required for Jaybird to work. Another possibility is

Firebird 3 sysdba password stunning issue

亡梦爱人 提交于 2019-12-04 07:27:50
I migrated from firebird 2.5.x to 3.0 i have changed firebird.conf : WireCrypt = Enabled AuthServer = Legacy_Auth, Srp, Win_Sspi after that here you are what happened: I can connect from Netbeans IDE using SYSDBA masterkey. I can connect from FlameRobin (database admin. tool) using SYSDBA with other password. I can not connect from Wild-Fly server using SYSDBA with that other password. I am really wondering.!! I assume you are using Jaybird 2.2.x (or earlier) when connecting from Netbeans and Wildfly. With Firebird 3 a new authentication model was introduced called SRP (Secure Remote Password)

Column aliasing in SELECT statements doesn't work with SQuirrel SQL + Firebird

笑着哭i 提交于 2019-12-02 22:27:44
I tried add an column alias in SELECT statement using SQuirrel SQL 3.4 + Firebird 1.5 + Driver JDBC Jaybird 2.2.[0|1] (JVM 1.7.0_03), but doesn't work. The column aliased appears with the original name of column. In another tool (DBExpert) the same statement works fine. Statement : SELECT column1 AS alias1, column2 FROM table; Resultant columns name in SquirrelSQL : column1 - column2 Resultant columns name in DBExpert : alias1 - column2 Tried add ' and " around alias name, but also not work. Someone have an idea? Edit: I updated the JDBC Jaybird driver to 2.2.1 version (released Sept/30) and

GDS Exception. 335544421. connection rejected by remote interface

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-27 09:49:35
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 3.0. The firebird service is up and running sudo service firbird3.0 status : firebird3.0.service - Firebird Database Server ( SuperServer ) Loaded: loaded (/lib/systemd/system/firebird3.0.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2017-10-25 22:40:53 CEST; 25min ago Process: 23411 ExecStart=/usr/sbin/fbguard -pidfile