All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkiverse.mybatis.runtime.graal.SerializedCacheSubstitution Maven / Gradle / Ivy

There is a newer version: 2.2.4
Show newest version
package io.quarkiverse.mybatis.runtime.graal;

import java.io.Serializable;

import org.apache.ibatis.cache.CacheException;
import org.apache.ibatis.cache.decorators.SerializedCache;

import com.oracle.svm.core.annotate.Substitute;
import com.oracle.svm.core.annotate.TargetClass;

@TargetClass(SerializedCache.class)
final public class SerializedCacheSubstitution {

    @Substitute
    private byte[] serialize(Serializable value) {
        throw new CacheException("ObjectOutputStream.writeObject is unsupported in Graal VM");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy