Business classes
From: dante (dbaldan1969_at_yahoo.it)
Date: 01/22/04
- Next message: sybrandb_at_yahoo.com: "Re: choices regarding where to place code - in the database or middletier"
- Previous message: Joe Weinstein: "Re: choices regarding where to place code - in the database or middletier"
- Next in thread: Jan-Hendrik Palic: "Re: Business classes"
- Reply: Jan-Hendrik Palic: "Re: Business classes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: sybrandb_at_yahoo.com: "Re: choices regarding where to place code - in the database or middletier"
- Previous message: Joe Weinstein: "Re: choices regarding where to place code - in the database or middletier"
- Next in thread: Jan-Hendrik Palic: "Re: Business classes"
- Reply: Jan-Hendrik Palic: "Re: Business classes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|