This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes How to retrieve data from database in Netbeans? 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 "How to retrieve data from database in Netbeans?" Watch "How to retrieve data from database in Netbeans?" New topic

How to retrieve data from database in Netbeans?

Javedali Shaikh

Joined: Sep 13, 2008
Posts: 12

I am developing an application using netbeans but facing problems in writing SQL statements. Though I can open a SQL Editor and run many statements one by one. But one thing I am unsuccess to do is how to associated these SQL statements with the components. I have read the product documentation also, but not found the satisfactory solution. In its help ofcourse the topics related to managing components events and setting events to components is given but of no use. I work according to that also but it is just either associating the events or just managing them. I have connected to the database by means of netbeans itself. Hence, I don't know what connection object of connection class to be used to make use of prepared statements. Can we do it by means of netbeans or I have to write the entire code manually in a tradition way.
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
Will this application have any human users? Will they need NetBeans to use the application?
I agree. Here's the link:
subject: How to retrieve data from database in Netbeans?
jQuery in Action, 3rd edition