?? _rootdao.java
字號:
package com.test.Hibernate.dao;
public abstract class _RootDAO extends com.test.Hibernate.base._BaseRootDAO {
/*
If you are using lazy loading, uncomment this
Somewhere, you should call RootDAO.closeCurrentThreadSessions();
public void closeSession (Session session) {
// do nothing here because the session will be closed later
}
*/
/*
If you are pulling the SessionFactory from a JNDI tree, uncomment this
protected SessionFactory getSessionFactory(String configFile) {
// If you have a single session factory, ignore the configFile parameter
// Otherwise, you can set a meta attribute under the class node called "config-file" which
// will be passed in here so you can tell what session factory an individual mapping file
// belongs to
return (SessionFactory) new InitialContext().lookup("java:/{SessionFactoryName}");
}
*/
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -