Two Laptop Bag
The moose likes Object Relational Mapping and the fly likes DB-aware controls like with Delphi Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "DB-aware controls like with Delphi" Watch "DB-aware controls like with Delphi" New topic

DB-aware controls like with Delphi

Omer Can

Joined: Apr 09, 2011
Posts: 5

I used to program in Delphi (7) and there I had the DB-aware conrtrols like TDBImage, TDBEdit, TDBMemo, TDBRichEdit, and tDBGrid
with properties Datasource and DataField (not with tDBGrid).

With Delphi also comes a non-visible component called TDatasource.

You link toe DB-aware controls with the TDatasource-component (eg DataSource1 as the TDatasource) and the propertie Datasource
of each of the db-aware controls set as DataSource1).

The Datasoure-component on its own, I could link to e.g. Delphis oun TTable or TSQL or 3rd-party controls for eg Firebird, MySQL,
PostgreSQL, SQLite etc.

Now (finally) my question:

Are the controls in JAVA like TDBTextField, TDBTextArea etc with the same or alike property Datasource with which I can link those
directly to the db-engine. If so, where can I download those from (url)?

The advantae to that: the user does not have to worry if the data entered or altered is stored into the db-engine Table-file.
The DB-awere-controls 'tel' the DB-engine to save each entering or altering automatically the moment the uses does these
enterings or alterings.

Thanks for answering in advance...
I agree. Here's the link:
subject: DB-aware controls like with Delphi
It's not a secret anymore!