Discussion:
[Middlegen-user] View / Foreign Key Relationships
Perchonok, David
2003-01-22 19:00:06 UTC
Permalink
We understand that Middlegen generates EntityBean relationships based upon
the foreign key definitions in the database. However, we need an EntityBean
relationship established from a table to a view and foreign keys from tables
to views are not permissible (at least with Oracle). In other words, we have
an EntityBean that maps to a table and a second EntityBean that maps to a
view - Is there a way to establish a realtionship between the two?

Thanks in advance -

David Perchonok
Software Design and Development
Bank of America - CRM Services
Phone: 704.388.3617
Pager: 877.863.2829
Email: ***@bankofamerica.com
Aslak Hellesøy
2003-01-22 21:43:02 UTC
Permalink
Have you tried the crossref element?

http://boss.bekk.no/boss/middlegen/ant/table.html

<table ...>
<crossref .../>
</table>

Aslak
-----Original Message-----
Perchonok, David
Sent: 22. januar 2003 21:58
Cc: Oconnor, James H
Subject: [Middlegen-user] View / Foreign Key Relationships
We understand that Middlegen generates EntityBean relationships based upon
the foreign key definitions in the database. However, we need an
EntityBean
relationship established from a table to a view and foreign keys
from tables
to views are not permissible (at least with Oracle). In other
words, we have
an EntityBean that maps to a table and a second EntityBean that maps to a
view - Is there a way to establish a realtionship between the two?
Thanks in advance -
David Perchonok
Software Design and Development
Bank of America - CRM Services
Phone: 704.388.3617
Pager: 877.863.2829
-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
Loading...