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 2012/12/02 20:39:58 UTC

[jira] [Resolved] (TORQUE-244) custom updates with prepared statements

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

Thomas Fox resolved TORQUE-244.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0

b) Now one can fire prepared statements via the executeStatement methods. 
a) As for this bit, one still would have to write custom SQL snippets. Whether one uses custom SQL snippets or a whole custom SQL expression doesn't make much difference in my opinion, so not adding another way to create the update SQL
                
> custom updates with prepared statements
> ---------------------------------------
>
>                 Key: TORQUE-244
>                 URL: https://issues.apache.org/jira/browse/TORQUE-244
>             Project: Torque
>          Issue Type: Bug
>    Affects Versions: 4.0-beta1
>            Reporter: Thomas Fox
>            Assignee: Thomas Fox
>             Fix For: 4.0
>
>
> a) At the moment, it is possible to execute an arbitrary statement.
> However, it is not possible to execute an arbitrary Prepared statement.
> This should be made possible
> b) it should be possible to execute simple cases like  UPDATE mytable SET c = c + :x via the API without having to create custom SQL

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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