The ejbLoad would do a select statement from the view.
the ejbStore and ejbCreate would do one or more insert statements into the
tables.
Filip
Pascuzzi Domenico
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
UNICAL.IT> cc:
Sent by: A mailing Subject: table or views?
list for
Enterprise
JavaBeans
development
<EJB-INTEREST@java
.sun.com>
11/15/99 09:41 AM
Please respond to
A mailing list for
Enterprise
JavaBeans
development
Do ENTITY Beans map on tables or views in a DB?
if I have a view that use as source of data extracted from 2 or more tables
in my DB,
For instance:
TABLE 1 (field1_1, field1_2, field1_3)
TABLE 2 (field2_1, field2_2, field2_3, field2_4)
VIEW (field1_1, field2_2, field2_4)
a) how can I write ejbLoad, ejbStore and etc. methods?
b) what about the fields that I don't update or matter, like field1_2 or
field1_3 ?
===========================================================================
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".