db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CG Monroe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TORQUE-166) remove the getOMClass() method, the CLASS_DEFAULT constant and the initClass() method in the generated peers
Date Mon, 18 Jul 2011 14:09:58 GMT

    [ https://issues.apache.org/jira/browse/TORQUE-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067042#comment-13067042
] 

CG Monroe commented on TORQUE-166:
----------------------------------

Personally, I'd like to see this remain even if we aren't using it internally.  

The use case for keeping this is user written functions that take a generic Peer class as
a parameter and then need to get a record object. 

I found it useful in 3.x that given one of any of the main classes (e.g. Map, Peer, or OM),
you can easily access the other two via methods in the class you have.  Makes righting dynamic
code like application specific import and export function easier.



> remove the getOMClass() method, the CLASS_DEFAULT constant and the initClass() method
in the generated peers
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: TORQUE-166
>                 URL: https://issues.apache.org/jira/browse/TORQUE-166
>             Project: Torque
>          Issue Type: Improvement
>            Reporter: Thomas Fox
>            Assignee: Thomas Fox
>
> These methods and constants were used by village and are not needed any more.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message