You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by "Thomas Fox (JIRA)" <ji...@apache.org> on 2015/10/06 04:46:26 UTC

[jira] [Resolved] (TORQUE-334) retrieveByPKs(simpleType) should also be generated

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

Thomas Fox resolved TORQUE-334.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 4.1

solution (thanks to Greg Monroe for the suggestion):
- Generate new methods retrieveByTypedPKs and retrieveByObjectKeys.
- Made generated methods retrieveByPKs deprecated.
- Inserted generation option torque.om.retrieve.bypk.deprecated = true for disabling the generation of the deprecated methods

> retrieveByPKs(simpleType) should also be generated
> --------------------------------------------------
>
>                 Key: TORQUE-334
>                 URL: https://issues.apache.org/jira/browse/TORQUE-334
>             Project: Torque
>          Issue Type: Bug
>            Reporter: Thomas Fox
>            Assignee: Thomas Fox
>             Fix For: 4.1
>
>
> Currently, there is a retrieveByPKs(Collection<ObjectKey>) method.
> But if e.g. the PK is of type Integer, there should also be a  retriveByPKs(Collection<Integer>) method



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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