-
Notifications
You must be signed in to change notification settings - Fork 0
daoExecuteQuery
tarimshahab edited this page May 22, 2015
·
3 revisions
Related DAO Code
connect();
String preparedQuery = getQuery(app,queryLabel); ///// Get query from database
conn.setAutoCommit(false);
PreparedStatement pst = conn.prepareStatement(preparedQuery);
if(params != null){ /// add parameters to the query (if any)
int i=0;
for(String param : params.keySet())
{
pst.setString(++i, params.get(param));
}
}
boolean rs = pst.execute(); /// run query
conn.setAutoCommit(true);
disconnect();
-
Quickforms Basics
-
Tutorials
- Setup Tutorials
- App Development Tutorials
-
Assignments
-
Project
-
Applications
-
Quickforms Advanced
- Project With Database
- Advanced Setup
- HealthApp with Database
- Source Control
- Joining the Team
- Cordova Native Application
- Miscellaneous
- Project With Database
-
-
Form Controls
-
App Controls
-
Report Controls
-
Server Controls
-
Quickforms DAO
-
Email Notification
-
Migrating QuickForms3(Test Server) to QuickForms(Production-Server)