Send you the details. brgds, Janne
Werner Guttmann wrote: > > Hi, > > can you 'inline' a fully-working Java class and a mapping file ? > > Werner > > CRyback wrote: >> Hi, >> >> Nope, it will not help. It will still complain saying that it can't find >> the >> related class(BlueCar or RedCar). When they should be identified to the >> same >> instance of Car. >> >> This sounds a bit weird that this isn't supported. Maybe I'm doing >> something >> fundamentally wrong here... >> >> brgds, >> Janne >> >> >> Ralf Joachim-2 wrote: >>> >>> >>> >>> >>> >>> >>> >>> Hi CRyback, >>> >>> have you tried to add attribute auto-naming="deriveByField" at the >>> bind-xml element. >>> >>> Ralf >>> >>> CRyback schrieb: >>> >>> Hi! >>> >>> Castor will complain that it will not find descriptor for the "BlueCar" >>> as >>> it is introduced as "car". If I change the "car" to "BlueCar" (the >>> map-to) >>> then it will complain that it will not find the "RedCar". If I duplicate >>> the >>> whole class mapping, it will complain about duplicates. >>> >>> brgds, >>> CRyback >>> >>> >>> >>> Werner Guttmann-6 wrote: >>> >>> >>> Hi, >>> >>> What problems are you having ? >>> >>> Cheers >>> Werner >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> >>> Syscon Ingenieurbüro für Meß- und Datentechnik GmbH >>> Ralf Joachim >>> Raiffeisenstraße 11 >>> 72127 Kusterdingen >>> Germany >>> >>> Tel. +49 7071 3690 52 >>> Mobil: +49 173 9630135 >>> Fax +49 7071 3690 98 >>> >>> Internet: www.syscon.eu >>> E-Mail: [email protected] >>> >>> Sitz der Gesellschaft: D-72127 Kusterdingen >>> Registereintrag: Amtsgericht Stuttgart, HRB 382295 >>> Geschäftsleitung: Jens Joachim, Ralf Joachim >>> >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe from this list, please visit: >>> >>> http://xircles.codehaus.org/manage_email >>> >>> >>> >>> >> > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > > -- View this message in context: http://www.nabble.com/Unmarshalling-same-class-in-diffrent-elements-tp24035730p24091381.html Sent from the Castor - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

