作者:郭亭婷892 | 来源:互联网 | 2023-09-25 18:04
本文整理了Java中org.hibernate.type.AbstractSingleColumnStandardBasicType.nullSafeGet()方法的一
本文整理了Java中org.hibernate.type.AbstractSingleColumnStandardBasicType.nullSafeGet()
方法的一些代码示例,展示了AbstractSingleColumnStandardBasicType.nullSafeGet()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AbstractSingleColumnStandardBasicType.nullSafeGet()
方法的具体详情如下:
包路径:org.hibernate.type.AbstractSingleColumnStandardBasicType
类名称:AbstractSingleColumnStandardBasicType
方法名:nullSafeGet
AbstractSingleColumnStandardBasicType.nullSafeGet介绍
暂无
代码示例
代码示例来源:origin: kiegroup/optaplanner
Number[] levelNumbers = new Number[levelsSize];
for (int i = 0; i Number levelNumber = (Number) type.nullSafeGet(resultSet, names[i + 1], session, owner);
if (levelNumber == null) {
nullCount++;
代码示例来源:origin: Evolveum/midpoint
@Override
public Object nullSafeGet(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)
throws HibernateException, SQLException {
Date date = (Date) HIBERNATE_TYPE.nullSafeGet(rs, names[0], session);
if (date == null) {
return null;
}
return asXMLGregorianCalendar(date);
}
代码示例来源:origin: org.optaplanner/optaplanner-persistence-jpa
Number[] levelNumbers = new Number[levelsSize];
for (int i = 0; i Number levelNumber = (Number) type.nullSafeGet(resultSet, names[i + 1], session, owner);
if (levelNumber == null) {
nullCount++;