[castor-dev] generated beans, inheritance, etc. (re-post)

2002-10-09 Thread Marc Dugger
hanks. -Original Message- From: Marc Dugger [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 2:42 PM To: [EMAIL PROTECTED] Subject: [castor-dev] generated beans, inheritance, etc. I just hit a brick wall when trying to build an inheritance relationship between two tables. My gene

Re: [castor-dev] Hierarchies within one class/table

2002-10-08 Thread Marc Dugger
Do a search on "bi-directional" relationships on the mailing list. I'm not an expert on Castor, but I believe you will need another field that specifies that the superior product has many subordinates. Right now, your mapping only specifies that a subordinate has one superior. I hope that helps

Re: [castor-dev] Independent relations

2002-09-26 Thread Marc Dugger
Are you thinking of lazy loading? If so, from my understanding, only collections can be lazy loaded: http://castor.exolab.org/castor-one.html#Lazy-Loading -Original Message- From: Bruce Snyder [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 1:02 PM To: [EMAIL PROTECTED] Su

Re: [castor-dev] newbie - Source Generator return type of collection types

2002-09-26 Thread Marc Dugger
I'm receiving something very similar to what Enrique has posted below. I've concluded from the mailing archives that Castor JDO doesn't support arrays. If that's the case, then what is the best pratice for modeling a 1:N when using the Source Generator? I've gone through the mailing list archive

Re: [castor-dev] ObjectModifiedException in webapp, but not junit test

2002-09-17 Thread Marc Dugger
ess object. Thanks again! -Original Message- From: Bruce Snyder [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 8:39 AM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] ObjectModifiedException in webapp, but not junit test This one time, at band camp, Marc Dugger said: MD&g

Re: [castor-dev] enclosing quotes in SQL statement not being added

2002-07-15 Thread Marc Dugger
tement not being added What database are you using? I have seen similar behaviour before in either DB2 or MS SQL Server, but I resolved it. If you could post the full mapping and your database vendor I will see if I can find what caused it (and what the resolution was) Patrick Marc Dugger wr

[castor-dev] enclosing quotes in SQL statement not being added

2002-07-15 Thread Marc Dugger
The mapping I'm having problems with is below: When attempting to insert a database record, the single quotes that delimit a string in a SQL statement are not being added by Castor. As a result, I get a SQL exception. As a test, I hand-coded the quotes around the strings and the st