Marco,

I have used Castor JDO a bit with Spring, but not to the extent you  are (probably) 
looking for. Point is that Castor JDO can be definitely used with 
Spring (through their ProxyBeanFactory), but as it stands, there is no support for 
some of the integration features between Spring and Hibernate.

To be honest, I am actually thinking of looking at some of these issues after the 
0.9.6 release in a month time, but first I have to get this release out of 
my way, and we expect a bit of increased trafic on the mailing lists due to some of 
the changes on the JDO side.

Feel free to talk to me off-line if you think that such an integration would make 
sense, and you'd be willing to 'make available' some of your time to get 
this implemented.

Regards
Werner

On Mon, 11 Oct 2004 09:37:28 +0100, Marco Mistroni wrote:

>
>Hello all,
>       Has anyone ever used Castor together with Spring Framework?
>I am developing a webservice that has to interact with a database..
>Currently I am using hibernate as tool, but I want to be able to switch
>Implementation of ORM tool easily..
>I just couldn't find anything on the web related to using Castor with
>Spring.
>
>Anyone can help?
>
>Thanx in advance and regards
>       marco
>
>
>
>-----Original Message-----
>From: Nick Stuart [mailto:[EMAIL PROTECTED] 
>Sent: 10 October 2004 00:01
>To: [EMAIL PROTECTED]
>Subject: Re: [castor-user] JDO: mapping class extends
>
>
>You are right that the SELECT would only return the record if it was
>in BOTH tables. In theory (if you insert everything through castor)
>you wont have a case where something is in the extended table that is
>not in the first.
>
>Hope this helps!
>
>-Nick Stuart
>
>
>
>On Fri, 08 Oct 2004 11:48:57 -0600, Eric Anderson <[EMAIL PROTECTED]>
>wrote:
>> 
>> If I map a class as extends to two different database tables. Like so.
>> 
>> <class name="PatientSearchForm" identity="patientId">
>>         <map-to table="WWW_PATIENTS_ENTRY"/>
>> blah....
>> </class>
>> 
>> and
>> 
>> <class name="PatientInfoForm" identity="patientId"
>>         extends="PatientSearchForm">
>>         <map-to table="WWW_PAT_ADULT_INFO"/>
>> blah..
>> </class>
>> 
>> When I do a SELECT p FROM org.usiis.struts.PatientInfoForm p WHERE
>> patientId=$1 it only returns an object if it exists in the
>> WWW_PAT_ADULT_INFO, both but not only WWW_PATIENTS_ENTRY.
>> 
>> If the second extends the first, should it return an object if it
>> exists only if the table it extends? Doesn't seem to work this way...
>> 
>> Any help (still pretty new to castor).
>> 
>> -----------------------------------------------------------
>> If you wish to unsubscribe from this mailing, send mail to
>> [EMAIL PROTECTED] with a subject of:
>>         unsubscribe castor-user
>>
>
>
>
>----------------------------------------------------------- 
>If you wish to unsubscribe from this mailing, send mail to
>[EMAIL PROTECTED] with a subject of:
>        unsubscribe castor-user
>
>
>
>----------------------------------------------------------- 
>If you wish to unsubscribe from this mailing, send mail to
>[EMAIL PROTECTED] with a subject of:
>        unsubscribe castor-user
>



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

Reply via email to