
io.quarkiverse.mybatis.runtime.graal.SerializedCacheSubstitution Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-mybatis Show documentation
Show all versions of quarkus-mybatis Show documentation
MyBatis SQL mapper framework for Java
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