com.nexacro.uiadapter17.spring.dao.mybatis
Class NexacroMybatisMetaDataProvider

java.lang.Object
  extended by com.nexacro.uiadapter17.spring.dao.mybatis.NexacroMybatisMetaDataProvider
All Implemented Interfaces:
org.apache.ibatis.plugin.Interceptor

public class NexacroMybatisMetaDataProvider
extends Object
implements org.apache.ibatis.plugin.Interceptor

Mybatis의 Executor.query(MappedStatement, Object, RowBounds, ResultHandler) plugin으로, 쿼리 실행 시 (List 형태의 select) 데이터가 0건일 경우 컬럼의 메타데이터 정보를 획득한다.

Since:
10.13.2015
Version:
1.0
Author:
Park SeongMin
See Also:

Constructor Summary
NexacroMybatisMetaDataProvider()
           
 
Method Summary
 Object intercept(org.apache.ibatis.plugin.Invocation invocation)
           
 Object plugin(Object target)
           
 void setProperties(Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NexacroMybatisMetaDataProvider

public NexacroMybatisMetaDataProvider()
Method Detail

plugin

public Object plugin(Object target)
Specified by:
plugin in interface org.apache.ibatis.plugin.Interceptor

setProperties

public void setProperties(Properties properties)
Specified by:
setProperties in interface org.apache.ibatis.plugin.Interceptor

intercept

public Object intercept(org.apache.ibatis.plugin.Invocation invocation)
                 throws Throwable
Specified by:
intercept in interface org.apache.ibatis.plugin.Interceptor
Throws:
Throwable


Copyright © 2018. All rights reserved.