Subject | AW: [IB-Java] FireBird RC1 / InterClient 2.00 |
---|---|
Author | MarkW |
Post date | 2001-12-03T17:55:21Z |
Hi,
rs = s.executeQuery ("select full_name from employee where salary <
50000<br>");
I´d say that the sql server can´t interpret "<br>"!!
Mark
rs = s.executeQuery ("select full_name from employee where salary <
50000<br>");
I´d say that the sql server can´t interpret "<br>"!!
Mark
> -----Ursprüngliche Nachricht-----
> Von: ala [mailto:aallende@...]
> Gesendet: Montag, 3. Dezember 2001 18:52
> An: IB-Java@yahoogroups.com
> Betreff: [IB-Java] FireBird RC1 / InterClient 2.00
>
>
> Hello all!
> I'm trying to use FireBird RC1 / InterClient 2.00 from a servlet (in
> tomcat 4.0 standalone).
> The IC sends extrange exceptions, but only from the servlet, and not from
> a standalone test class with very similar code (except the servlet
> stuff).
> There is somebody using FB/IC?
> Thanks!
>
> Adrián Allende
>
> Here is the core of (familiar) code
>
> Class.forName ("interbase.interclient.Driver");
> d = java.sql.DriverManager.getDriver (databaseURL);
> out.println ("InterClient version " <br>");
> c = java.sql.DriverManager.getConnection (databaseURL, user, password);
> out.println ("Connection established.<br>");
> c.setAutoCommit (false);
> out.println ("Auto-commit is disabled.<br>");
> s = c.createStatement ();
> rs = s.executeQuery ("select full_name from employee where salary <
> 50000<br>");
>
> the last line sends these output on a browser
>
> java.lang.VerifyError: (class: interbase/interclient/ErrorKey, method:
> _$372 signature: (Ljava/lang/String;Ljava/lang/String;I)V) Expecting to
> find unitialized object on stack
> at interbase.interclient.SQLException.(SQLException.java:96)
> at
> interbase.interclient.RecvMessage.createSQLException(RecvMessage.java:69
> 4)
> at
> interbase.interclient.RecvMessage.makeSQLException(RecvMessage.java:593)
> at
> interbase.interclient.RecvMessage.get_EXCEPTIONS(RecvMessage.java:554)
> at
> interbase.interclient.Statement.remote_EXECUTE_QUERY_STATEMENT(Statement
> .java:175)
> at
> interbase.interclient.Statement.executeQuery(Statement.java:154)
> at HelloWorldExample.doGet(HelloWorldExample.java:39)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>
>
>
> To unsubscribe from this group, send an email to:
> IB-Java-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>