Subject | RE: [Firebird-Java] Jaybird and Firebird2 |
---|---|
Author | Garrett Smith |
Post date | 2004-12-27T16:36:04Z |
I'm getting the following exception when opening a connection from a
Java thread:
org.firebirdsql.ngds.InternalError: Unexpected exception caught.
at
org.firebirdsql.ngds.GDS_Impl.native_isc_attach_database(Native Method)
at
org.firebirdsql.ngds.GDS_Impl.isc_attach_database(GDS_Impl.java:235)
at
org.firebirdsql.jca.FBManagedConnectionFactory.createDbHandle(FBManagedC
onnectionFactory.java:696)
at
org.firebirdsql.jca.FBManagedConnection.<init>(FBManagedConnection.java:
89)
at
org.firebirdsql.jca.FBManagedConnectionFactory.createManagedConnection(F
BManagedConnectionFactory.java:528)
at
org.firebirdsql.jca.FBStandAloneConnectionManager.allocateConnection(FBS
tandAloneConnectionManager.java:69)
at
org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:119)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:189)
at
aktari.db.FirebirdUtils.openConnection(FirebirdUtils.java:118)
at
aktari.db.MultipleConnectionsTest$ConnectionThread.run(MultipleConnectio
nsTest.java:55)
This only occurs when:
- opening the connection from within the run method of a Java thread
- using the Firebird2 embedded engine (compiled a few days ago)
-- Garrett
Roman Rokytskyy wrote:
Java thread:
org.firebirdsql.ngds.InternalError: Unexpected exception caught.
at
org.firebirdsql.ngds.GDS_Impl.native_isc_attach_database(Native Method)
at
org.firebirdsql.ngds.GDS_Impl.isc_attach_database(GDS_Impl.java:235)
at
org.firebirdsql.jca.FBManagedConnectionFactory.createDbHandle(FBManagedC
onnectionFactory.java:696)
at
org.firebirdsql.jca.FBManagedConnection.<init>(FBManagedConnection.java:
89)
at
org.firebirdsql.jca.FBManagedConnectionFactory.createManagedConnection(F
BManagedConnectionFactory.java:528)
at
org.firebirdsql.jca.FBStandAloneConnectionManager.allocateConnection(FBS
tandAloneConnectionManager.java:69)
at
org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:119)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:189)
at
aktari.db.FirebirdUtils.openConnection(FirebirdUtils.java:118)
at
aktari.db.MultipleConnectionsTest$ConnectionThread.run(MultipleConnectio
nsTest.java:55)
This only occurs when:
- opening the connection from within the run method of a Java thread
- using the Firebird2 embedded engine (compiled a few days ago)
-- Garrett
Roman Rokytskyy wrote:
>> Is there a Jaybird branch that can be used with Firebird2?--------------------------------------------------------------------~->
>
> There is no special branch for Firebird 2.
>
> As far as I know, Firebird 2 does not change the wire protocol or the
> public API. Also I'm not aware of any extension of Firebird 2 that
> would require changes in driver (but if you have one, please post
> them here).
>
> So, JayBird 1.5.x should work with Firebird 2.
>
> Roman
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~--> $4.98 domain names from Yahoo!. Register
> anything. http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/saFolB/TM
>
>
>
> Yahoo! Groups Links
>
>
>