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 Derby is not working 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 "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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30075
    
149

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';


[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
Marshal

Joined: Mar 22, 2005
Posts: 41068
    
  43
"derby:" URLs are understood by the Derby JDBC driver, not by browsers.


Ping & DNS - my free Android networking tools app
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
 
Similar Threads
Access denied error in MySQL
share same object between 2 different web application
different between inner join and outer join in MS SQL2000
Database license
WA #2 ..... word association