You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Daniel John Debrunner (JIRA)" <de...@db.apache.org> on 2005/02/28 21:14:51 UTC
[jira] Updated: (DERBY-152) ERROR 42X01: Syntax error: Encountered "commit" at line 1, column 1.
[ http://issues.apache.org/jira/browse/DERBY-152?page=history ]
Daniel John Debrunner updated DERBY-152:
----------------------------------------
type: Wish (was: Bug)
> ERROR 42X01: Syntax error: Encountered "commit" at line 1, column 1.
> --------------------------------------------------------------------
>
> Key: DERBY-152
> URL: http://issues.apache.org/jira/browse/DERBY-152
> Project: Derby
> Type: Wish
> Reporter: Bernd Ruehlicke
> Priority: Minor
>
> The following totally valid (but of course a little insane - since you could use _connection.commit() ) throws the ERROR 42X01 - which it should not do.
> Statement s = _connection.createStatement();
> try
> {
> s.execute("commit");
> }
> catch(Exception e)
> {
> e.printStackTrace();
> System.out.println("WOW - what happened here ?");
> };
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira