-
1. Re: CMP 2.0 relationship problem.
dsundstrom Jul 21, 2002 6:21 PM (in response to chris70)I suggest you read this article on EJBs and inheritance:
http://www.theserverside.com/resources/article.jsp?l=EJBInheritance -
2. Re: CMP 2.0 relationship problem.
chris70 Jul 21, 2002 11:05 PM (in response to chris70)Yeah, I read that when it was published but it doesn't actually excite me.
I hope there's some solution based on dependent objects as its not so uncommon problem.
To be more precise, in an older version of this product we had tables like
order (with orderType)
orderItemsMetal
orderItemsWood
orderItemsBoard
and the stored procedure will populate the orderItemsXXX tables basedon orderType. How to do it in CMP2.0?
Chris -
3. Re: CMP 2.0 relationship problem.
chris70 Jul 21, 2002 11:08 PM (in response to chris70)That article didn't really excite me.
To be precise, in current version of this product, we have tables like
order (id, type etc)
orderItemsWood
orderItemsBoard
orderItemsMetal
and the stored procedure will populate the orderItemsXXX table based on the type. How do I do it in CMP 2.0 without messy code??
Chris -
4. Re: CMP 2.0 relationship problem.
chris70 Jul 21, 2002 11:09 PM (in response to chris70)That article didn't really excite me.
To be precise, in current version of this product, we have tables like
order (id, type etc)
orderItemsWood
orderItemsBoard
orderItemsMetal
and the stored procedure will populate the orderItemsXXX table based on the type. How do I do it in CMP 2.0 without messy code??
Chris -
5. Re: CMP 2.0 relationship problem.
chris70 Jul 21, 2002 11:10 PM (in response to chris70)That article didn't really excite me.
To be precise, in current version of this product, we have tables like
order (id, type etc)
orderItemsWood
orderItemsBoard
orderItemsMetal
and the stored procedure will populate the orderItemsXXX table based on the type. How do I do it in CMP 2.0 without messy code??
Chris -
6. Re: CMP 2.0 relationship problem.
chris70 Jul 21, 2002 11:11 PM (in response to chris70)That article didn't really excite me.
To be precise, in current version of this product, we have tables like
order (id, type etc)
orderItemsWood
orderItemsBoard
orderItemsMetal
and the stored procedure will populate the orderItemsXXX table based on the type. How do I do it in CMP 2.0 without messy code??
Chris -
7. Re: CMP 2.0 relationship problem.
chris70 Jul 21, 2002 11:11 PM (in response to chris70)That article didn't really excite me.
To be precise, in current version of this product, we have tables like
order (id, type etc)
orderItemsWood
orderItemsBoard
orderItemsMetal
and the stored procedure will populate the orderItemsXXX table based on the type. How do I do it in CMP 2.0 without messy code??
Chris -
8. Re: CMP 2.0 relationship problem.
chris70 Jul 21, 2002 11:11 PM (in response to chris70)That article didn't really excite me.
To be precise, in current version of this product, we have tables like
order (id, type etc)
orderItemsWood
orderItemsBoard
orderItemsMetal
and the stored procedure will populate the orderItemsXXX table based on the type. How do I do it in CMP 2.0 without messy code??
Chris -
9. Re: CMP 2.0 relationship problem.
chris70 Jul 21, 2002 11:12 PM (in response to chris70)That article didn't really excite me.
To be precise, in current version of this product, we have tables like
order (id, type etc)
orderItemsWood
orderItemsBoard
orderItemsMetal
and the stored procedure will populate the orderItemsXXX table based on the type. How do I do it in CMP 2.0 without messy code??
Chris -
10. Re: CMP 2.0 relationship problem.
chris70 Jul 21, 2002 11:14 PM (in response to chris70)That article didn't really excite me.
To be precise, in current version of this product, we have tables like
order (id, type etc)
orderItemsWood
orderItemsBoard
orderItemsMetal
and the stored procedure will populate the orderItemsXXX table based on the type. How do I do it in CMP 2.0 without messy code??
Chris -
11. Re: CMP 2.0 relationship problem.
chris70 Jul 21, 2002 11:15 PM (in response to chris70)That article didn't really excite me.
To be precise, in current version of this product, we have tables like
order (id, type etc)
orderItemsWood
orderItemsBoard
orderItemsMetal
and the stored procedure will populate the orderItemsXXX table based on the type. How do I do it in CMP 2.0 without messy code??
Chris -
12. Re: CMP 2.0 relationship problem.
chris70 Jul 21, 2002 11:19 PM (in response to chris70)That article didn't really excite me.
To be precise, in current version of this product, we have tables like
order (id, type etc)
orderItemsWood
orderItemsBoard
orderItemsMetal
and the stored procedure will populate the orderItemsXXX table based on the type. How do I do it in CMP 2.0 without messy code??
Chris -
13. Re: CMP 2.0 relationship problem.
chris70 Jul 21, 2002 11:20 PM (in response to chris70)That article didn't really excite me.
To be precise, in current version of this product, we have tables like
order (id, type etc)
orderItemsWood
orderItemsBoard
orderItemsMetal
and the stored procedure will populate the orderItemsXXX table based on the type. How do I do it in CMP 2.0 without messy code??
Chris -
14. Re: CMP 2.0 relationship problem.
chris70 Jul 21, 2002 11:23 PM (in response to chris70)That article didn't really excite me.
To be precise, in current version of this product, we have tables like
order (id, type etc)
orderItemsWood
orderItemsBoard
orderItemsMetal
and the stored procedure will populate the orderItemsXXX table based on the type. How do I do it in CMP 2.0 without messy code??
Chris