Hello

After I upgraded from 0.9.4 to 0.9.5 a new problem came up (but the old 
problem is gone :) ) :

The mappings from repository.xml were not recognized anymore. A debugger 
session showed me, that the java field names (attributes) used in the 
class are corresponding to the repository.xml in a different manner than 
before. It looks like that the field name in repository.xml is now 
corresponding to the name of the getter/setter Methods and NOT to the 
attribute in the java class anymore, is that true?

java:                        repository.xml:
--------------               ---------------
getName                      name
getNAME                      NAME

Anyway I modified the reversedb tool again and now everything works fine 
for me.

Is there anybody interrested in this modyfied reversedb tool? I would be 
pleased to contribute. I just didn't test it with other SQL servers than 
HSQLDB, but my changes were mostly affecting the XML and java source 
generation. I found also the parsing of the one-to-many relations to be 
incorrect. At least for HSQLDB the metadata.getCrossReference() didn't 
return good results. I changed this.

PS.: Oh yes, the JDO API is really just a prototype. Yesterday I had a 
look at the sources. Now, I decided to use the OJB API, I think it might 
be easier to migrate to JDO later and ODMG really is complicated.

/olaf


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to