?? daofactory.java
字號:
package com.netshop.domain.dao.hibernate;
import com.netshop.domain.dao.*;
public class DAOFactory {
public static UserinfoDao createAccountDAO (){
return new UserinfoDAOImpl();
}
public static CategoryDao createCategoryDAO(){
return new CategoryDAOImpl();
}
public static ItemDao createItemDAO(){
return new ItemDAOImpl();
}
public static OrderDao createOrderDAO(){
return new OrderDAOImpl();
}
public static ProductDao createProductDAO(){
return new ProductDAOImpl();
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -