DescriptorRepository.getAllMappedColumns() does not work properly if two or 
more classes are mapped to the same table but have different field descriptors 
for a single column.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

         Key: OJB-45
         URL: http://issues.apache.org/jira/browse/OJB-45
     Project: OJB
        Type: Bug
  Components: PB-API  
    Versions: 1.0.x CVS    
 Environment: Windows XP Pro with Tomcat 5 running with ojb 1.0rc6
    Reporter: Anthony Brittis


DescriptorRepository.getAllMappedColumns() does not work properly if two or 
more classes are mapped to the same table but have different field descriptors 
for a single column.

Since this method caches field descriptors using the column name as the key, 
only one class-descriptors version will be stored and used.  

If two or more classes are mapped to the same table, but have different field 
descriptors for a column, only one of the field descriptors will "win-out" and 
be used by the rest of the classes.  This is a particular problem if you want 
to use different jdbc-type and conversion attribute values.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to