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

com.ibatis.sqlmap.engine.cache.NoneCacheController Maven / Gradle / Ivy

Go to download

The jBATIS persistence framework will help you to significantly reduce the amount of Java code that you normally need to access a relational database. iBATIS simply maps JavaBeans to SQL statements using a very simple XML descriptor.

The newest version!
/*-
 * Copyright 2015 Owl Group
 * All rights reserved.
 */
package com.ibatis.sqlmap.engine.cache;

import java.util.Properties;

/**
 * NoneCacheController
 * 

* Date: 2016-12-27 * * @author Song Sun * @version 1.0 */ public class NoneCacheController implements CacheController { public static final NoneCacheController INSTANCE = new NoneCacheController(); private NoneCacheController() { } @Override public void flush(CacheModel cacheModel) { } @Override public Object getObject(CacheModel cacheModel, Object key) { return null; } @Override public Object removeObject(CacheModel cacheModel, Object key) { return null; } @Override public void putObject(CacheModel cacheModel, Object key, Object object) { } @Override public void setProperties(CacheModel cacheModel, Properties props) { } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy