This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Netbeans can't connect to database server

 
Timothy Kersha Akura
Greenhorn
Posts: 1
Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am student of java programming. I am using apache derby server for my JDBC and my NETBEANS IDE cannot connect to the server. What do I do?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Derby is typically used as an in-memory database by a Java process. There is a way to run Derby as a standalone database server, have you performed those steps? You need to do that before you can connect NetBeans to a Derby server.

But you don't need to really do that to write apps that make use of Derby. For that just code to JDBC, use the correct connection string, and add the Derby JAR to your project.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic