Hi all !

Here is the question.

Suppose I have an entity bean mapping to the table "user" in the database.
The table "user" contains the following fields :
id, integer, primary key.
name, char(30)
address1, char(30)
address2, char(30)
address3, char(30)
address4, char(30).

OK, I admit that this may be a bad design but it is for the sake of the
example.

Now, I have an the entity bean with the following properties :

public int id;
public String name;
public String address;

with corresponding getters/setters.

Is it possible, with container-managed bean, to map the address property to
the 4 address fields in the databse or do I HAVE to use bean-managed bean ?

What would be the different solutions ?

Can I use a hybrid between bean-managed bean and container-managed bean ?

Thanks a lot !

Max.

===========================================================================
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".

Reply via email to