gu.sql2java.UnnameRowMetaData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sql2java-base Show documentation
Show all versions of sql2java-base Show documentation
sql2java common class package
package gu.sql2java;
import static com.google.common.base.Preconditions.*;
import static gu.sql2java.utils.JDBCUtility.getColumnTypes;
import static gu.sql2java.utils.JDBCUtility.getColumnNames;
import static gu.sql2java.utils.JDBCUtility.getColumnTypeNames;
import static gu.sql2java.utils.JDBCUtility.getSqlTypes;
import java.sql.ResultSetMetaData;
import java.util.Map;
class UnnameRowMetaData extends RowMetaData{
UnnameRowMetaData(ResultSetMetaData metaData, Map> targetTypes) {
super(UNKNOW_TABLENAME,
UNKNOW_TABLETYPE,
UnnameRow.class,
null,
null,
null,
getColumnNames(checkNotNull(metaData,"metaData is null")),
getColumnTypeNames(checkNotNull(metaData,"metaData is null")),
null,
null,
null,
getColumnTypes(metaData,targetTypes),
null, getSqlTypes(metaData), null, null, null, null, null, null, null, null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy