eva/3 Application BuilderDeveloping Additional eva/3 ComponentsUser CommandsExamples for Tasks of an CommandExamples for database commands 

deactivate the automatically transaction control

If the automatically transaction control can be deactivated for eva/3 applications. All transaction commands should be send using a .dsql statement which contains the commit and rollback statements. The command for deactivating the automatically transaction control can be implemented like this:

       
        try {
            //Get the .connection file
            ConnectionDescriptor connDesc = ObjectLoader.getConnectionDescriptor("filename");
            //Get the connection
            Connection conn = HSRecordSet.getConnection(connDesc);
            //Deactivate AutoCommit
            conn.setAutoCommit(false);
        } catch (Exception e) {
            e.printStackTrace();
        }