Subject | Re: INSERT...RETURNING error with embedded db |
---|---|
Author | pcmilhouse |
Post date | 2010-01-21T17:26:55Z |
I built new library and add them to my project but now I have this error when I tried to make a query, any suggestion?
Exception in thread "main" java.lang.NoSuchMethodError: <init>
at org.firebirdsql.gds.impl.jni.JniGDSImpl.native_isc_dsql_prepare(Native Method)
at org.firebirdsql.gds.impl.jni.BaseGDSImpl.iscDsqlPrepare(BaseGDSImpl.java:545)
at org.firebirdsql.gds.impl.GDSHelper.prepareStatement(GDSHelper.java:189)
at org.firebirdsql.jdbc.AbstractStatement.prepareFixedStatement(AbstractStatement.java:1550)
at org.firebirdsql.jdbc.AbstractStatement.internalExecute(AbstractStatement.java:1532)
at org.firebirdsql.jdbc.AbstractStatement.executeQuery(AbstractStatement.java:214)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.firebirdsql.pool.StatementHandler.invoke(StatementHandler.java:105)
at $Proxy1.executeQuery(Unknown Source)
at com.tecnosens.ladon.dbInterface.DbConnection.executeQuery(DbConnection.java:504)
at com.tecnosens.ladon.dbInterface.DbUser.getIdServerList(DbUser.java:2188)
Exception in thread "main" java.lang.NoSuchMethodError: <init>
at org.firebirdsql.gds.impl.jni.JniGDSImpl.native_isc_dsql_prepare(Native Method)
at org.firebirdsql.gds.impl.jni.BaseGDSImpl.iscDsqlPrepare(BaseGDSImpl.java:545)
at org.firebirdsql.gds.impl.GDSHelper.prepareStatement(GDSHelper.java:189)
at org.firebirdsql.jdbc.AbstractStatement.prepareFixedStatement(AbstractStatement.java:1550)
at org.firebirdsql.jdbc.AbstractStatement.internalExecute(AbstractStatement.java:1532)
at org.firebirdsql.jdbc.AbstractStatement.executeQuery(AbstractStatement.java:214)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.firebirdsql.pool.StatementHandler.invoke(StatementHandler.java:105)
at $Proxy1.executeQuery(Unknown Source)
at com.tecnosens.ladon.dbInterface.DbConnection.executeQuery(DbConnection.java:504)
at com.tecnosens.ladon.dbInterface.DbUser.getIdServerList(DbUser.java:2188)
--- In Firebird-Java@yahoogroups.com, "Roman Rokytskyy" <roman@...> wrote:
>
> > Sorry but where can I get it? Is there a repository?
>
> Sure, see here: http://sourceforge.net/projects/firebird/develop, module name
> is "client-java".
>
> To get sources you simply do:
>
> cvs -d:pserver:anonymous@...:/cvsroot/firebird login
> cvs -d:pserver:anonymous@...:/cvsroot/firebird co -P
> client-java
>
> Then you have build.bat/build.sh, which builds the sources.
>
> Roman
>