db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fox (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TORQUE-100) clone() method for Criteria
Date Mon, 30 Jan 2012 18:18:10 GMT

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

Thomas Fox resolved TORQUE-100.

       Resolution: Fixed
    Fix Version/s: 4.0
         Assignee: Thomas Fox

clone() is now implemented for criteria
> clone() method for Criteria
> ---------------------------
>                 Key: TORQUE-100
>                 URL: https://issues.apache.org/jira/browse/TORQUE-100
>             Project: Torque
>          Issue Type: Wish
>            Reporter: Tamas Ruff
>            Assignee: Thomas Fox
>             Fix For: 4.0
> Hi,
> I want to create a org.apache.torque.util.Criteria object from a (possible complicated)
textual expression: this is made using a parser and an interpreter for a textual expression
using brackets and different operators. During the creation of the org.apache.torque.util.Criteria
object several database select operations are made (among others replacing some textual labels
from the original textual expression with their corresponding IDs form different database
> Thereafter I have to use the resulting Criteria object several times as a base for creating
further Criteria objects. For that the clone() method would be the ideal candidate...
> But as I see the clone() method is not yet implemented for the Criteria class.
> I want to avoid the "parsing-interpreting-replacing labels with IDs" phase for each new
Criteria object needed because they are time-consuming operations. Other alternative would
be the use of org.apache.commons.lang.SerializationUtils, but this is also quite slow.
> Do you plan to implement the clone() method in the near future?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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

View raw message