类org.hibernate.type.SingleColumnType源码实例Demo

下面列出了怎么用org.hibernate.type.SingleColumnType的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: lams   文件: LiteralNode.java
public Object getLiteralValue() {
	String text = getText();
	if ( getType() == QUOTED_STRING ) {
		text = text.substring( 1, text.length() -1 );
	}

	final Type inherentType = getDataType();
	if ( inherentType == null ) {
		return text;
	}

	return ( (SingleColumnType) inherentType ).fromStringValue( text );
}
 
源代码2 项目: jadira   文件: ColumnMapper.java
SingleColumnType<? super J> getHibernateType(); 
 类所在包
 类方法
 同包方法