|
|
Sponsor |
[jira] Commented: (DERBY-152) ERROR 42X01: Syntax error: Encountered "commi: msg#00294apache.db.derby.devel
[ http://issues.apache.org/jira/browse/DERBY-152?page=comments#action_59681 ] Jack Klebanoff commented on DERBY-152: -------------------------------------- I think that "commit" is an SQL statement. I found "<commit statement> ::= COMMIT [ WORK ] [ AND [ NO ] CHAIN ]" in the SQL 2003 spec. > 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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [jira] Commented: (DERBY-152) ERROR 42X01: Syntax error: Encountered "commit" at line 1, column 1., Bernd Ruehlicke (JIRA) |
|---|---|
| Next by Date: | Some Qutesion of Derby, Yu Jie |
| Previous by Thread: | [jira] Commented: (DERBY-152) ERROR 42X01: Syntax error: Encountered "commit" at line 1, column 1., Bernd Ruehlicke (JIRA) |
| Next by Thread: | [jira] Updated: (DERBY-152) ERROR 42X01: Syntax error: Encountered "commit" at line 1, column 1., Daniel John Debrunner (JIRA) |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|