propertymapping.java

来自「介绍了hibernate的入门有一些基本常用的事例」· Java 代码 · 共 33 行

JAVA
33
字号
//$Id: PropertyMapping.java,v 1.2 2005/03/23 15:40:54 steveebersole Exp $package org.hibernate.persister.entity;import org.hibernate.QueryException;import org.hibernate.type.Type;/** * Abstraction of all mappings that define properties: * entities, collection elements. * * @author Gavin King */public interface PropertyMapping {	// TODO: It would be really, really nice to use this to also model components!	/**	 * Given a component path expression, get the type of the property	 */	public Type toType(String propertyName) throws QueryException;	/**	 * Given a query alias and a property path, return the qualified	 * column name	 */	public String[] toColumns(String alias, String propertyName) throws QueryException;	/**	 * Given a property path, return the corresponding column name(s).	 */	public String[] toColumns(String propertyName) throws QueryException, UnsupportedOperationException;	/**	 * Get the type of the thing containing the properties	 */	public Type getType();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?