[ http://issues.apache.org/jira/browse/DERBY-152?page=all ]
Mike Matrigali updated DERBY-152: --------------------------------- Component: SQL Description: 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 ?"); }; was: 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 ?"); }; Environment: > 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 > Components: SQL > 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira