mapping.java
来自「hibernate-3.1.3-all-src.zip 面向对象的访问数据库工」· Java 代码 · 共 29 行
JAVA
29 行
//$Id: Mapping.java 7586 2005-07-21 01:11:52Z oneovthafew $
package org.hibernate.engine;
import org.hibernate.MappingException;
import org.hibernate.type.Type;
/**
* Defines operations common to "compiled" mappings (ie. <tt>SessionFactory</tt>)
* and "uncompiled" mappings (ie. <tt>Configuration</tt>) that are used by
* implementors of <tt>Type</tt>.
*
* @see org.hibernate.type.Type
* @see org.hibernate.impl.SessionFactoryImpl
* @see org.hibernate.cfg.Configuration
* @author Gavin King
*/
public interface Mapping {
public Type getIdentifierType(String className) throws MappingException;
public String getIdentifierPropertyName(String className) throws MappingException;
public Type getReferencedPropertyType(String className, String propertyName) throws MappingException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?