Meaningless Drivel is fun!*
The moose likes JDBC 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
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?
Similar Threads
Breaking doXXX methods down into smaller ones
jdbc and Driver Manager
user authentication and dao
ConnectionPool causing memory leak
getting the resultset of a stored procedure?