objectnotfoundexception.java
来自「hibernate 开源框架的代码 jar包希望大家能喜欢」· Java 代码 · 共 25 行
JAVA
25 行
//$Id: ObjectNotFoundException.java 9855 2006-05-02 18:55:45Z steve.ebersole@jboss.com $package org.hibernate;import java.io.Serializable;/** * Thrown when <tt>Session.load()</tt> fails to select a row with * the given primary key (identifier value). This exception might not * be thrown when <tt>load()</tt> is called, even if there was no * row on the database, because <tt>load()</tt> returns a proxy if * possible. Applications should use <tt>Session.get()</tt> to test if * a row exists in the database.<br> * <br> * Like all Hibernate exceptions, this exception is considered * unrecoverable. * * @author Gavin King */public class ObjectNotFoundException extends UnresolvableObjectException { public ObjectNotFoundException(Serializable identifier, String clazz) { super(identifier, clazz); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?