Hi Frank yes the SDOUtil.registerStaticTypes issue is already covered in https://issues.apache.org/jira/browse/TUSCANY-1143
I opened a new issue for the error in the generated factory class: https://issues.apache.org/jira/browse/TUSCANY-1250 Thanks Daniel. ----- Ursprüngliche Mail ---- Von: Frank Budinsky <[EMAIL PROTECTED]> An: [email protected] Gesendet: Mittwoch, den 2. Mai 2007, 18:16:59 Uhr Betreff: Re: SDO Java RC3: SDOGenerator generated code Hi Daniel, I think you may be running into this known issue: https://issues.apache.org/jira/browse/TUSCANY-1143 If you have additional information that you can append to the JIRA that would be great. Any help fixing it would be even better :-) Thanks, Frank. Daniel Peter <[EMAIL PROTECTED]> wrote on 05/02/2007 11:22:46 AM: > Hi all, > > I tried to migrate an M2 based project to M3 RC3, and ran into the > following problem, regarding the code generated by the SDOGenerator: > The initializeMetaData() method in a generated FactoryImpl class has > this piece of code: > ? > // Obtain other dependent packages > SdtFactoryImpl theSdtPackageImpl_1 = (SdtFactoryImpl)FactoryBase. > getStaticFactory(SdtFactoryImpl.NAMESPACE_URI); > ... > // Add supertypes to types > addSuperType(myClassType, mySuperClassType); > ? > > But the variable "mySuperClassType" cannot be resolved at this > point, it is defined in another package. > After I changed the code as follows, it worked fine: > addSuperType(myClassType, theSdtPackageImpl_1.getMySuperClass()); > > Another thing I noticed in the init() method of the FactoryImpl class: > ... > // Initialize simple dependencies > SDOUtil.registerStaticTypes(SdtFactory.class); > ? > Is the usage of the SDOUtil.registerStaticTypes(...) method still > wanted here? > > Thanks, Daniel. > > > > > > __________________________________ Kennt man wirklich jeden > über 3 Ecken? Die Antworten gibt's bei Yahoo! Clever. www.yahoo.de/clever --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __________________________________ Yahoo! Clever - Der einfachste Weg, Fragen zu stellen und Wissenswertes mit Anderen zu teilen. www.yahoo.de/clever
