Package com.mysql.clusterj

Examples of com.mysql.clusterj.ClusterJDatastoreException


    public void readData(byte[] data, int length) {
        try {
            blob.readData(data, length);
        } catch (NdbApiException ndbApiException) {
            throw new ClusterJDatastoreException(local.message("ERR_Datastore"),
                    ndbApiException);
        }
    }
View Full Code Here


    public void writeData(byte[] data) {
        try {
            blob.writeData(data);
        } catch (NdbApiException ndbApiException) {
            throw new ClusterJDatastoreException(local.message("ERR_Datastore"),
                    ndbApiException);
        }
    }
View Full Code Here

    public void setValue(byte[] data) {
        try {
            blob.setValue(data);
        } catch (NdbApiException ndbApiException) {
            throw new ClusterJDatastoreException(local.message("ERR_Datastore"),
                    ndbApiException);
        }
    }
View Full Code Here

    public void setNull() {
        try {
            blob.setNull();
        } catch (NdbApiException ndbApiException) {
            throw new ClusterJDatastoreException(local.message("ERR_Datastore"),
                    ndbApiException);
        }
    }
View Full Code Here

    private void mapCharsetName() {
        this.nativeCharsetName = charsetMap.getName(charsetNumber);
        this.charsetName = charsetMap.getMysqlName(charsetNumber);
        if (charsetName == null) {
            throw new ClusterJDatastoreException(
                    local.message("ERR_Unknown_Charset_Name",
                    tableName, columnName, nativeCharsetName));
        }
    }
View Full Code Here

    public void executeCommit() {
        handlePendingPostExecuteCallbacks();
        try {
            ndbTransaction.executeCommit();
        } catch (NdbApiException ndbApiException) {
            throw new ClusterJDatastoreException(local.message("ERR_Datastore"),
                    ndbApiException);
        }
    }
View Full Code Here

        AbortOption abortOption = abort?AbortOption.AbortOnError:AbortOption.AO_IgnoreError;
        try {
            ndbTransaction.execute(NdbTransaction.ExecType.Commit,
                    abortOption, force);
        } catch (NdbApiException ndbApiException) {
            throw new ClusterJDatastoreException(local.message("ERR_Datastore"),
                    ndbApiException);
        }
    }
View Full Code Here

        try {
            ndbTransaction.execute(NdbTransaction.ExecType.NoCommit,
                    abortOption, force);
            performPostExecuteCallbacks();
        } catch (NdbApiException ndbApiException) {
            throw new ClusterJDatastoreException(local.message("ERR_Datastore"),
                    ndbApiException);
        }
    }
View Full Code Here

    public void executeNoCommit() {
        try {
            ndbTransaction.executeNoCommit();
            performPostExecuteCallbacks();
        } catch (NdbApiException ndbApiException) {
            throw new ClusterJDatastoreException(local.message("ERR_Datastore"),
                    ndbApiException);
        }
    }
View Full Code Here

    public void executeRollback() {
        try {
            clearPostExecuteCallbacks();
            ndbTransaction.executeRollback();
        } catch (NdbApiException ndbApiException) {
            throw new ClusterJDatastoreException(local.message("ERR_Datastore"),
                    ndbApiException);
        }
    }
View Full Code Here

TOP

Related Classes of com.mysql.clusterj.ClusterJDatastoreException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.