Subject | RE: [Firebird-Java] Re: embedded freeze |
---|---|
Author | Ryan Baldwin |
Post date | 2004-02-21T22:13:43Z |
Hi,
This problem appears to be a result of firebird not being able too load
fbintl.dll. Ensuring the full directory structure for fb embed dll is in
place - so that it can load fbintl.dll will solve the problem. It would be
nice if it failed in a more informative way but this is down too fbembed.dll
rather then jaybird itself.
Their have been several posts too this forum regarding where fbembed.dll's
directory structure needs to be for jaybird too work - perhaps look for
posts containing 'type2'.
Hope this helps
Ryan
-----Original Message-----
From: ryanb486 [mailto:ryan.baldwin@...]
Sent: 19 February 2004 11:01
To: Firebird-Java@yahoogroups.com
Subject: [Firebird-Java] Re: embedded freeze
Hi,
Sorry for the slow response. I cant see any reason why it should
lock up their. Would you be able too email me
(ryan.baldwin@...) with the database you are using so
that I can try and re-produce the problem. Also if you could let me
know what JDK version you are using that would be helpfull too.
Thanks
Ryan
--- In Firebird-Java@yahoogroups.com, Marco Parmeggiani
<marcopar@i...> wrote:
This problem appears to be a result of firebird not being able too load
fbintl.dll. Ensuring the full directory structure for fb embed dll is in
place - so that it can load fbintl.dll will solve the problem. It would be
nice if it failed in a more informative way but this is down too fbembed.dll
rather then jaybird itself.
Their have been several posts too this forum regarding where fbembed.dll's
directory structure needs to be for jaybird too work - perhaps look for
posts containing 'type2'.
Hope this helps
Ryan
-----Original Message-----
From: ryanb486 [mailto:ryan.baldwin@...]
Sent: 19 February 2004 11:01
To: Firebird-Java@yahoogroups.com
Subject: [Firebird-Java] Re: embedded freeze
Hi,
Sorry for the slow response. I cant see any reason why it should
lock up their. Would you be able too email me
(ryan.baldwin@...) with the database you are using so
that I can try and re-produce the problem. Also if you could let me
know what JDK version you are using that would be helpfull too.
Thanks
Ryan
--- In Firebird-Java@yahoogroups.com, Marco Parmeggiani
<marcopar@i...> wrote:
> Hi, i'm experimenting with the embedded server (java driver 1.5beta 3
> and embedded server 1.5 RC9)Yahoo! Groups Links
> Can somebody explain me why this piece of code locks on the
> executeQuery?
>
> Thanks
> ciao
>
> Code follows:
>
> /*CUT HERE *******************************************/
> Class.forName("org.firebirdsql.jdbc.FBDriver");
> Connection conn = DriverManager.getConnection(
> "jdbc:firebirdsql:embedded:c:/db/test.gdb",
> "SYSDBA", "masterkey");
> String q = "SELECT * FROM NEW_TABLE2 ORDER BY \"ppp\"";
> Statement s = conn.createStatement();
>
> ************** it locks here *****************
> ResultSet rs = s.executeQuery(q);
> ************** it locks here *****************
>
> while(rs.next()) {
> String s1 = rs.getString("NEW_FIELD");
> String s2 = rs.getString("ppp");
> System.out.println(s1 + " " + s2);
> }
> rs.close();
> s.close();
> conn.close();
> /*CUT HERE *******************************************/
> --
> Seti@Home Java Applets
> http://maruko.webhop.net/