empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francis De Brabandere (JIRA)" <empire-db-...@incubator.apache.org>
Subject [jira] [Commented] (EMPIREDB-148) how to use DBCommond to create a prepared sql string
Date Thu, 21 Jun 2012 14:20:42 GMT

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

Francis De Brabandere commented on EMPIREDB-148:
------------------------------------------------

Should we set db.setPreparedStatementsEnabled(true) by default or is this a bad idea?
                
> how to use  DBCommond to create a prepared sql string
> -----------------------------------------------------
>
>                 Key: EMPIREDB-148
>                 URL: https://issues.apache.org/jira/browse/EMPIREDB-148
>             Project: Empire-DB
>          Issue Type: Wish
>            Reporter: yan zhang
>            Priority: Minor
>
> I am working a new project and looking for lightweight ORM tools. One feature I need
is to be able to generate sql string and we have our own layer of running query.
> I come across   DBCommand class, and it seems to be able to generate raw sql string.
One feature I am looking to is able to generate prepared update/insert statement. the getInsert()
only returns a regular sql string. 
> Would really appreciate if someone can respond on;
> 1) whether this feature is available?
> 2) if not, if this is in your feature plan?
> 3) if yes, code sample will be very helpful.
> thanks,

--
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

        

Mime
View raw message