Hi all,

I have a problem understanding the order in the mapping file for the database.
Actually my xml file looks like following:
<database name="cds9test" engine="oracle">
    <driver class-name="oracle.jdbc.driver.OracleDriver"
            url="jdbc:oracle:thin:@furz.auf.furz.de:1111:athutf8">
      <param name="user" value="furztest" />
      <param name="password" value="furztest" />
    </driver>
        <mapping href="aspectNameDependentTest.xml" />  
        <mapping href="aspectDependentTest.xml" />
</database>
aspectDependentTest declares a one-to-many relationship to aspectNameDependentTest
aspectNameDependentTest "depends" on aspectDependentTest
Now if i want to insert a new AspectDependentTest object with added 
AspectNameDependentTest objects
only the master object is inserted. If i change the order of the 2 mapping entries the 
insert was correct.
But with the changed order i can't delete a row because i get an exception: 
org.exolab.castor.jdo.QueryException: Could not find mapping for class 
com.siemens.cds9.jdo.AspectNameDependentTest

How can i solve the problem ? 

thx in advance

Mark Baier
Softwareentwicklung

SOLYP Informatik GmbH
Frommannstr. 17
D-90419 N�rnberg
Germany

Fon:  +49-911-93334-5
Fax:  +49-911-93334-88
mailto:[EMAIL PROTECTED]

+++   NEWS  +++  NEWS  +++  NEWS  +++  NEWS  +++  NEWS
Siemens plant mit Solyp. Konzernweites Planungs-Tool der Siemens AG, "Strategy and 
Goals Information System" (SGI) basiert auf Framework-L�sung MCMS
http://www.solyp.de/3161.html
+++ +++ +++ +++ +++ +++ +++ +++ +++ +++ +++ +++

SQL Developer - das universell einsetzbare Frontend f�r Datenbank-Entwickler
http://www.pressetext.at/pte.mc?pte=020828004

Solutions for your profit
http://www.solyp.de
SQL Developer - das universell einsetzbare Frontend f�r Datenbank-Entwickler
http://www.pressetext.at/pte.mc?pte=020828004

Solutions for your profit
http://www.solyp.de

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

Reply via email to