db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Ruehlicke (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-152) ERROR 42X01: Syntax error: Encountered "commit" at line 1, column 1.
Date Wed, 23 Feb 2005 22:30:48 GMT
     [ http://issues.apache.org/jira/browse/DERBY-152?page=comments#action_59677 ]
     
Bernd Ruehlicke commented on DERBY-152:
---------------------------------------

I know.

But unfortunately it works on Oracle, and if we want more people using Derby, migrating some
of their smaller Oracle stuff .. we need to be more "flexable".

- OK, I agree - it's not a BUG - lets reclassify it to a "wish"



> 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: Bug
>     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