Rev 2009 | Rev 2019 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2009 | Rev 2018 | ||
---|---|---|---|
Line 15... | Line 15... | ||
15 | 15 | ||
16 | public static void main(1.5.0/docs/api/java/lang/String.html">String[] args) throws 1.5.0/docs/api/java/sql/SQLException.html">SQLException, HibernateException |
16 | public static void main(1.5.0/docs/api/java/lang/String.html">String[] args) throws 1.5.0/docs/api/java/sql/SQLException.html">SQLException, HibernateException |
17 | { |
17 | { |
18 | 18 | ||
19 | 19 | ||
20 | - | ||
21 | - | ||
22 | //HibernateUtils.getCurrentSession().beginTransaction(); |
20 | //HibernateUtils.getCurrentSession().beginTransaction(); |
23 | 21 | ||
24 | //HibernateUtils.getCurrentSession().connection().commit(); |
22 | //HibernateUtils.getCurrentSession().connection().commit(); |
25 | 23 | ||
26 | //HibernateUtils.getCurrentSession().connection().rollback(); |
24 | //HibernateUtils.getCurrentSession().connection().rollback(); |