新增注释

master
星期八 5 years ago
parent fbdbd4a4a1
commit 23a1dd024d
  1. 5
      panda-beans/src/main/java/org/panda/beans/util/ClassUtil.java
  2. 1
      panda-jdbc/src/main/java/org/panda/jdbc/helper/DataBaseHelper.java
  3. 1
      panda-web/src/main/java/org/panda/web/servlet/DispatcherServlet.java

@ -135,6 +135,11 @@ public class ClassUtil {
} }
/**
* 通过类名添加到类集合中
* @param classSet 类集合
* @param className 类名
*/
public static void doAddClass(Set<Class> classSet,String className){ public static void doAddClass(Set<Class> classSet,String className){
Class<?> clazz = loadClass(className,false); Class<?> clazz = loadClass(className,false);
classSet.add(clazz); classSet.add(clazz);

@ -60,7 +60,6 @@ public class DataBaseHelper {
*/ */
public static void beginTransaction() { public static void beginTransaction() {
Connection conn = getConnection(); Connection conn = getConnection();
try { try {
conn.setAutoCommit(false); conn.setAutoCommit(false);
} catch (SQLException e) { } catch (SQLException e) {

@ -27,6 +27,7 @@ import java.lang.reflect.Method;
import java.util.Map; import java.util.Map;
/** /**
* 统一请求拦截器
* @author qi * @author qi
*/ */
@WebServlet(urlPatterns = "/*",loadOnStartup = 0) @WebServlet(urlPatterns = "/*",loadOnStartup = 0)

Loading…
Cancel
Save