# HG changeset patch # User František Kučera # Date 1264560661 -3600 # Node ID 58aa900334e4aa74ea07765bedc7f4fc10b1f81a # Parent f76fc9f3cb7c4e72d4c8140259e2ba5c1e2294d3 drobnosti diff -r f76fc9f3cb7c -r 58aa900334e4 java/nekurak.net-web/src/java/cz/frantovo/nekurak/dao/NekurakSuperDAO.xml --- a/java/nekurak.net-web/src/java/cz/frantovo/nekurak/dao/NekurakSuperDAO.xml Wed Jan 27 01:28:52 2010 +0100 +++ b/java/nekurak.net-web/src/java/cz/frantovo/nekurak/dao/NekurakSuperDAO.xml Wed Jan 27 03:51:01 2010 +0100 @@ -3,4 +3,5 @@ jdbc/nekurak + \ No newline at end of file diff -r f76fc9f3cb7c -r 58aa900334e4 java/nekurak.net-web/src/java/cz/frantovo/superDAO/SuperDAO.java --- a/java/nekurak.net-web/src/java/cz/frantovo/superDAO/SuperDAO.java Wed Jan 27 01:28:52 2010 +0100 +++ b/java/nekurak.net-web/src/java/cz/frantovo/superDAO/SuperDAO.java Wed Jan 27 03:51:01 2010 +0100 @@ -3,7 +3,6 @@ import java.io.InputStream; import java.sql.Connection; import java.sql.ResultSet; -import java.sql.SQLException; import java.sql.Statement; import java.util.Collections; import java.util.HashMap; @@ -14,7 +13,7 @@ /** * Předek všech DTOček - * @author fiki + * @author fiki http://hg.frantovo.cz/SuperDAO/ */ public class SuperDAO { @@ -128,7 +127,7 @@ protected void rollback(Connection spojeni) { try { spojeni.rollback(); - } catch (SQLException e) { + } catch (Exception e) { log.log(Level.FINEST, "rollback se nezdařil", e); } } diff -r f76fc9f3cb7c -r 58aa900334e4 java/nekurak.net-web/web/WEB-INF/web.xml --- a/java/nekurak.net-web/web/WEB-INF/web.xml Wed Jan 27 01:28:52 2010 +0100 +++ b/java/nekurak.net-web/web/WEB-INF/web.xml Wed Jan 27 03:51:01 2010 +0100 @@ -23,7 +23,8 @@ java.lang.NullPointerException /WEB-INF/chyby/nullPointer.jsp - + jdbc/nekurak javax.sql.DataSource