⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lazyinitializationexception.java

📁 人力资源管理系统主要包括:人员管理、招聘管理、培训管理、奖惩管理和薪金管理五大管理模块。
💻 JAVA
字号:
//$Id: LazyInitializationException.java,v 1.4.2.1 2003/10/25 07:43:51 oneovthafew Exp $package net.sf.hibernate;import net.sf.hibernate.exception.NestableRuntimeException;import org.apache.commons.logging.LogFactory;/** * A problem occurred trying to lazily initialize a collection or * proxy (for example the session was closed) or iterate query * results. *  * @see Hibernate#initialize(java.lang.Object) * @see Hibernate#isInitialized(java.lang.Object) * @author Gavin King */public class LazyInitializationException extends NestableRuntimeException {		public LazyInitializationException(Exception root) {		super("Hibernate lazy instantiation problem", root);	}		public LazyInitializationException(String msg) {		super(msg);		LogFactory.getLog(LazyInitializationException.class).error(msg, this);	}		public LazyInitializationException(String msg, Exception root) {		super(msg, root);	}		/**	 * @deprecated use <tt>getCause()</tt>	 * @see org.apache.commons.lang.exception.NestableRuntimeException#getCause()	 */	public Exception getRoot() {		return (Exception) super.getCause();	}	}

⌨️ 快捷键说明

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