This content has been marked as final.
Show 3 replies
-
1. Re: Entity Bean with Multiple Tables
aloubyansky Dec 19, 2004 11:05 AM (in response to chinesemountain)It was never planned.
-
2. Re: Entity Bean with Multiple Tables
chinesemountain Dec 20, 2004 9:18 AM (in response to chinesemountain)In post http://www.jboss.org/index.html?module=bb&op=viewtopic&t=9608&postdays=0&postorder=asc&start=10, dsundstrom says that CMP for multiple tables is "on the list for JBoss 4.0".
If it is not, could you give an example of how to implement entity bean that pulls data from multiple tables.
As an example I have 2 tables:
Table name: tblUser
Fields: username, addressId
Table: tblAddress
Fields: addressId, address
I want my entity bean to contain 2 variables: "username", "address".
Bean:username, address
[/url] -
3. Re: Entity Bean with Multiple Tables
aloubyansky Dec 21, 2004 3:31 AM (in response to chinesemountain)Use BMP if you really need this in one entity bean.