Business classes

From: dante (dbaldan1969_at_yahoo.it)
Date: 01/22/04


Date: 22 Jan 2004 01:05:01 -0800

I am facing the following issue: use disconnected data in JAVA.
More precisely, I need to:
1) do a SELECT (I can use a java.sql.ResultSet)
2) populate an object (e.g., a Vector) of items representing the DB rows I
selected

The issue is that I need to define a class for each table present in my DB.
That class represents a record of a table in my DB.

I seems to me a quite old-fashioned style of programming. So here I am to
ask you:

Is there a smarter way of doing the same thing?

TIA

Dante



Relevant Pages

  • Re: Business classes
    ... In article, dante wrote: ... > I am facing the following issue: use disconnected data in JAVA. ...
    (comp.lang.java.databases)
  • Re: Need help
    ... priliminary program in java but facing some problem. ... success to run hello world program but i falled to run the program ...
    (comp.lang.java.programmer)
  • Re: Need help
    ... priliminary program in java but facing some problem. ... success to run hello world program but i falled to run the program ...
    (comp.lang.java.programmer)
  • Re: Strange SOAP error
    ... I'm facing the same problem here. ... can depend on the java version you are using. ... > I have a program that calls a web service using the PEAR SOAP ... > Error deserializing arguments. ...
    (comp.lang.php)
  • How to override a method with different return type
    ... To begin with i thank the creaters of this group. ... I am new java world and facing a new challenge. ... Prev by Date: ...
    (comp.lang.java.programmer)