wood burning stoves 2.0*
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 Java 8 in Action this week in the Java 8 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: 19556
    
  16

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
SQLException
Changing Timeout
whats wrong here in connection string
connection pooling
Close connection