This week's book giveaway is in the Android forum.
We're giving away four copies of Android Programming: The Big Nerd Ranch Guide and have Bill Phillips & Chris Stewart on-line!
See this thread for details.
Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

DB-aware controls like with Delphi  RSS feed

 
Omer Can
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

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...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!