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 Relational Databases and the fly likes Derby is not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Derby is not working " Watch "Derby is not working " New topic
Author

Derby is not working

Enkita mody
Ranch Hand

Joined: Aug 06, 2012
Posts: 333

Hi
Derby is not working.Thanks


[Thumbnail for untitled.JPG]



OCA7
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32298
    
213

Does Derby have an option to use the browser? The documentation suggests testing your connection at a command line:

java org.apache.derby.tools.ij
ij> connect 'jdbc:derby://localhost:1527/MyDbTest;create=true';


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
"derby:" URLs are understood by the Derby JDBC driver, not by browsers.
Enkita mody
Ranch Hand

Joined: Aug 06, 2012
Posts: 333

Thanks, i am newbie in database programming.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Derby is not working
 
It's not a secret anymore!