This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes A Question on JDBC URLs 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 "A Question on JDBC URLs" Watch "A Question on JDBC URLs" New topic
Author

A Question on JDBC URLs

Arthur Buliva
Ranch Hand

Joined: Mar 08, 2006
Posts: 101
I have seen some books write



while others write




I was wondering which is better and why? What does the ? do?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19649
    
  18

Moving to JDBC.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

It (likely) doesn't do anything, if there aren't any parameters.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A Question on JDBC URLs
 
Similar Threads
connection pooling
SQLException
whats wrong here in connection string
Changing Timeout
Close connection