File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Dealing with semi colons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Dealing with semi colons" Watch "Dealing with semi colons" New topic
Author

Dealing with semi colons

Steve Wood
Ranch Hand

Joined: Jan 08, 2003
Posts: 137
Hi guys,

How do you deal with semi-colons in JDBC - we put them in our queries and Oracle doesn't seem to like them. I'm concerned that Oracle might not like them, but other databases need them.

Any advice?

Cheers,

Steve
Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 292

How are you using semi-colons. In JDBC you don't need to end statements with them.
Steve Wood
Ranch Hand

Joined: Jan 08, 2003
Posts: 137
Great thanks - I wasn't sure if they were needed for some database JDBC drivers. We are using them at the end of the statement.

Steve
 
 
subject: Dealing with semi colons
 
Similar Threads
Help for JavaScript in Struts 1
Regarding compilation of a servlet in book HFSJ on page 81
Here i am again with if/else statement now
For loop syntax error