aspose file tools
The moose likes JDBC and the fly likes Dealing with semi colons Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Dealing with semi colons
 
Similar Threads
Regarding compilation of a servlet in book HFSJ on page 81
Here i am again with if/else statement now
For loop syntax error
Help for JavaScript in Struts 1