The moose likes JDBC and Relational Databases and the fly likes Controls to connect 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 "Controls to connect database " Watch "Controls to connect database " New topic

Controls to connect database

ramdas pradeep kumar
Ranch Hand

Joined: Aug 27, 2003
Posts: 36
is there any control in java as in VB (like grid,datacombo) which can be directly connect db.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

No, not really. I've often wondered why that is myself. But it's really not that hard to put data from a database into a table or JComboBox. Are you needing help with this?

GenRocket - Experts at Building Test Data
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
JBuilder is coming with DataExpress, which has Swing classes directly connected to DataSets (wrappers around JDBC ResultSets).
I currently have to maintain a program making heavy use of it, and it's a real pain in the ass. I would *strongly* advice to use a better decoupling approach for anything but the smallest project.

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I agree. Here's the link:
subject: Controls to connect database
It's not a secret anymore!