openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Zwolak (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OPENJPA-2457) ReverseMappingTool.getClassName(...) should be public or have a public equivalent just like getFieldName(...).
Date Thu, 21 Nov 2013 23:05:36 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-2457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Zwolak updated OPENJPA-2457:
----------------------------------

    Description: 
While creating an implementation of ReverseCustomizer I came across tables that are not mapped
and passed to MyReverseCustomizer.unmappedTable(...) method.  I would like to map the tables
in much the same way the ReverseMappingTool would if it could map the tables; therefore, I'd
like to use the same name converter implemented in getClassName.  getFieldName is public so
I can map the fields the same as the ReverseMappingTool, so why not getClassName?

Note, using the getClassName method on MyReverseCustomizer won't help since the ReverseMappingTool
has already by-passed that method and called unmappedTable.

  was:While creating an implementation of ReverseCustomizer I came across tables that are
not mapped and passed to MyReverseCustomizer.unmappedTable(...) method.  I would like to map
the tables in much the same way the ReverseMappingTool would if it could map the tables; therefore,
I'd like to use the same name converter implemented in getClassName.  getFieldName is public
so I can map the fields the same as the ReverseMappingTool, so why not getClassName?


> ReverseMappingTool.getClassName(...) should be public or have a public equivalent just
like getFieldName(...).
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2457
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2457
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jdbc
>    Affects Versions: 2.4.0
>            Reporter: Jason Zwolak
>            Priority: Minor
>
> While creating an implementation of ReverseCustomizer I came across tables that are not
mapped and passed to MyReverseCustomizer.unmappedTable(...) method.  I would like to map the
tables in much the same way the ReverseMappingTool would if it could map the tables; therefore,
I'd like to use the same name converter implemented in getClassName.  getFieldName is public
so I can map the fields the same as the ReverseMappingTool, so why not getClassName?
> Note, using the getClassName method on MyReverseCustomizer won't help since the ReverseMappingTool
has already by-passed that method and called unmappedTable.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message