Try http://www.ambysoft.com/mappingObjects.html


"Lewis, Grant" <[EMAIL PROTECTED]> wrote:
Object-to-relational mapping is no easy task and I would recommend
purchasing a third-party tool over rolling your own solution. There are many
tools available that handle object-to-relational mapping. We use VBSF from
ObjectMatter and it does a pretty good job. There are some things I don't
like about it, but it was inexpensive and we got all the source code.

If purchasing a tool is not an option, you might consider delegating
database functions to a data manager class. Each persistence class in your
object model could have an associated DM class to handle data retrieval and
storage.

Grant

-----Original Message-----
From: Jason C Puyleart [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 08, 1999 3:42 PM
To: [EMAIL PROTECTED]
Subject: JDBC, object persistence, object-to-relational mapping, Help!


hi.

I've been writing objects using Java and C++ for a while now and have been
running into the same problem repeatedly.

Can someone point me to some books, reference materials, code, anything
that cleanly separates the idea of object persistence from the objects.  I
don't think that my JDBC calls should be within the object but I don't
really know of another way to do it.

Also, are people using JDBC to map relational database information to
objects or is everyone just using the result set object that is passed
back?  Are their any tools for doing this sort of mapping?  (Do they
support relationships, etc...)

It comes down to the fact that I just want to write cleaner code, and I'm
not sure quite how.  Any help would be immensely appreciated.  Thanks in
advance!

Jason

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".


____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to