db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-152) ERROR 42X01: Syntax error: Encountered "commit" at line 1, column 1.
Date Mon, 28 Feb 2005 20:14:51 GMT
     [ 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


Mime
View raw message