Vadim,

Thanks ... I must have overlooked some of the other relationships ... I will look into it !

Peter







From: "Parizher, Vadim" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] JDO Mapping: 1-n using Vector collection
Date: Thu, 5 Dec 2002 16:00:09 -0800

Product/Description has 1-n example. It is also example of dependent
object, which may or may not apply to you. Product/Group is another n-1 but
has "back-reference" only (from n to 1).

Vadim

-----Original Message-----
From: Peter Kasson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 3:39 PM
To: [EMAIL PROTECTED]
Subject: [castor-dev] JDO Mapping: 1-n using Vector collection


Hi all,

I am working on another project with Castor and am still struggling with 1-n

vector collections.

The example product/category uses many-to-many and thus doesn't apply ... I
tried it but kept getting a ClassCastException on the orig column type.

For my application, The orig col. type is integer, and I was attempting to
create vector collection of it, but it just aint there.

The docs say that relationships need to bi-directional ... seems strange to
have this requirement. I have other types that work (Customer, ... etc) but

no collections (Vector) working ever.


Any good working examples of this animal ?

Thanks,

Peter


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev


***********************************************************************
This e-mail and any files transmitted with it are intended
solely for the use of the addressee. This e-mail may
contain confidential and/or legally privileged information.
Any review, transmission, disclosure, copying, or any action
taken or not taken, by other than the intended recipient, in
reliance on the information, is prohibited. If you received
this e-mail in error, notify the sender and delete this e-mail
(and any accompanying material) from your computer and
network. In addition, please be advised that 21st Century
Insurance Group reserves the right to monitor, access and
review all messages, data and images transmitted through
our electronic mail system. By using our e-mail system, you
consent to this monitoring.
***********************************************************************


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail

----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev

Reply via email to