We use Cocobase from thoughtinc (see http://www.thoughtinc.com) to do this.
They have two options to store the object to relational mapping, in the
database,
and as XML files. ejbLoad and ejbStore methods become almost one-liners
using this!
Frank
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Shawn McKisson
Sent: Friday, October 15, 1999 3:54 PM
To: [EMAIL PROTECTED]
Subject: SQL query string outside of the bean?
As opposed to hardcoding a query string inside a bean, can anyone suggest a
good
method for getting SQL into the ejbLoad and ejbStore methods?
I've considered property files and reading from a file, but there is some
administration overhead that deals with wich queries belong to which
beans/methods.
Should I use the database to store database queries?
Has anyone written a tool that addresses this "problem"?
Thanks.
--shawn
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-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 EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".