jQuery in Action, 3rd edition
The moose likes JDBC and Relational Databases and the fly likes Connecting netbeans with sql database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Connecting netbeans with sql database" Watch "Connecting netbeans with sql database" New topic

Connecting netbeans with sql database

Vianna Dublin

Joined: Mar 07, 2010
Posts: 6
I've connected my database to netbeans and it automatically generated some code for me. This is one of the files of code it created.

I want to use the database information to make array objects but I dont know where to go from there so that i can assign variables or even get the results of some of the functions in the automated code. Can someone please explain how I go about doing this please?
Mansukhdeep Thind
Ranch Hand

Joined: Jul 27, 2010
Posts: 1157

This is what I could understand from your question:

You have a table in the database which stores all the information related to students. You want to retrieve that information and then do what exactly? Could you explain the exact objective you are trying to accomplish?

~ Mansukh
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 44472
Stop using automated code generation. Start with a JDBC tutorial; there is a nice one here.

And I shall move this discussion to our databases forum.
I agree. Here's the link: http://aspose.com/file-tools
subject: Connecting netbeans with sql database
It's not a secret anymore!