Package org.hibernate.cache.jbc.util

Examples of org.hibernate.cache.jbc.util.DataVersionAdapter


    }

    @SuppressWarnings("deprecation")
    private Option getDataVersionOption(Object currentVersion, Object previousVersion) {
       
       org.jboss.cache.optimistic.DataVersion dv = (dataDescription != null && dataDescription.isVersioned()) ? new DataVersionAdapter(
                currentVersion, previousVersion, dataDescription.getVersionComparator(), dataDescription.toString())
                : NonLockingDataVersion.INSTANCE;
        Option opt = new Option();
        opt.setDataVersion(dv);
        return opt;
View Full Code Here


    }

    @SuppressWarnings("deprecation")
    private Option getDataVersionOption(Object currentVersion, Object previousVersion) {
       
       org.jboss.cache.optimistic.DataVersion dv = (dataDescription != null && dataDescription.isVersioned()) ? new DataVersionAdapter(
                currentVersion, previousVersion, dataDescription.getVersionComparator(), dataDescription.toString())
                : NonLockingDataVersion.INSTANCE;
        Option opt = new Option();
        opt.setDataVersion(dv);
        return opt;
View Full Code Here

TOP

Related Classes of org.hibernate.cache.jbc.util.DataVersionAdapter

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.