
com.lingdonge.db.util.DefaultRowMapper Maven / Gradle / Ivy
package com.lingdonge.db.util;
import com.lingdonge.core.exceptions.UtilException;
import com.lingdonge.core.reflect.ClassUtil;
import com.lingdonge.core.util.ReflectUtil;
import org.springframework.jdbc.core.RowMapper;
import java.beans.BeanInfo;
import java.beans.PropertyDescriptor;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
* 默认通用类型映射转换:将Jdbc查询出来的ResultSet转换为Entity实体类
* http://blog.csdn.net/phantomes/article/details/37880009
*/
public class DefaultRowMapper implements RowMapper
© 2015 - 2025 Weber Informatics LLC | Privacy Policy