protected void beginTransaction() throws HibernateException {
session = sessionFactory.openSession(); transaction = session.beginTransaction(); //跟踪程序到这里就不往下走了~~~~ }
数据库oracle 92 tomcat 5.5.9 eclipse3.2~~~~~请各位高手帮忙啊~~~~后台输出20:05:37,109 DEBUG AbstractEntityPersister:2449 - Version select: select CourseId from Courses where CourseId =?
20:05:37,109 DEBUG AbstractEntityPersister:2450 - Snapshot select: select course_.CourseId, course_.name as name0_ from Courses course_ where course_.CourseId=?
20:05:37,109 DEBUG AbstractEntityPersister:2452 - Insert 0: insert into Courses (name, CourseId) values (?, ?)
20:05:37,109 DEBUG AbstractEntityPersister:2453 - Update 0: update Courses set name=? where CourseId=?
20:05:37,109 DEBUG AbstractEntityPersister:2454 - Delete 0: delete from Courses where CourseId=?
20:05:37,312 DEBUG EntityLoader:79 - Static select for entity com.hellking.study.hibernate.Course: select course0_.CourseId as CourseId0_0_, course0_.name as name0_0_ from Courses course0_ where course0_.CourseId=?
20:05:37,312 DEBUG EntityLoader:79 - Static select for entity com.hellking.study.hibernate.Course: select course0_.CourseId as CourseId0_0_, course0_.name as name0_0_ from Courses course0_ where course0_.CourseId=?
20:05:37,312 DEBUG EntityLoader:79 - Static select for entity com.hellking.study.hibernate.Course: select course0_.CourseId as CourseId0_0_, course0_.name as name0_0_ from Courses course0_ where course0_.CourseId=? for update
20:05:37,312 DEBUG EntityLoader:79 - Static select for entity com.hellking.study.hibernate.Course: select course0_.CourseId as CourseId0_0_, course0_.name as name0_0_ from Courses course0_ where course0_.CourseId=? for update nowait
20:05:37,343 DEBUG EntityLoader:34 - Static select for action ACTION_MERGE on entity com.hellking.study.hibernate.Course: select course0_.CourseId as CourseId0_0_, course0_.name as name0_0_ from Courses course0_ where course0_.CourseId=?
20:05:37,343 DEBUG EntityLoader:34 - Static select for action ACTION_REFRESH on entity com.hellking.study.hibernate.Course: select course0_.CourseId as CourseId0_0_, course0_.name as name0_0_ from Courses course0_ where course0_.CourseId=?
20:05:37,343 DEBUG SessionFactoryObjectFactory:39 - initializing class SessionFactoryObjectFactory
20:05:37,359 DEBUG SessionFactoryObjectFactory:76 - registered: 8abe8c2d13bf78440113bf7847bf0000 (unnamed)
20:05:37,359 INFO SessionFactoryObjectFactory:82 - Not binding factory to JNDI, no JNDI name configured
20:05:37,359 DEBUG SessionFactoryImpl:293 - instantiated session factory
20:05:37,359 DEBUG SessionFactoryImpl:354 - Checking 0 named HQL queries
20:05:37,359 DEBUG SessionFactoryImpl:374 - Checking 0 named SQL queries
20:05:37,437 DEBUG SessionImpl:219 - opened session at timestamp: 4851008869822464
20:05:37,453 DEBUG JDBCTransaction:54 - begin
20:05:37,453 DEBUG ConnectionManager:415 - opening JDBC connection
//到这里就停了
session = sessionFactory.openSession(); transaction = session.beginTransaction(); //跟踪程序到这里就不往下走了~~~~ }
数据库oracle 92 tomcat 5.5.9 eclipse3.2~~~~~请各位高手帮忙啊~~~~后台输出20:05:37,109 DEBUG AbstractEntityPersister:2449 - Version select: select CourseId from Courses where CourseId =?
20:05:37,109 DEBUG AbstractEntityPersister:2450 - Snapshot select: select course_.CourseId, course_.name as name0_ from Courses course_ where course_.CourseId=?
20:05:37,109 DEBUG AbstractEntityPersister:2452 - Insert 0: insert into Courses (name, CourseId) values (?, ?)
20:05:37,109 DEBUG AbstractEntityPersister:2453 - Update 0: update Courses set name=? where CourseId=?
20:05:37,109 DEBUG AbstractEntityPersister:2454 - Delete 0: delete from Courses where CourseId=?
20:05:37,312 DEBUG EntityLoader:79 - Static select for entity com.hellking.study.hibernate.Course: select course0_.CourseId as CourseId0_0_, course0_.name as name0_0_ from Courses course0_ where course0_.CourseId=?
20:05:37,312 DEBUG EntityLoader:79 - Static select for entity com.hellking.study.hibernate.Course: select course0_.CourseId as CourseId0_0_, course0_.name as name0_0_ from Courses course0_ where course0_.CourseId=?
20:05:37,312 DEBUG EntityLoader:79 - Static select for entity com.hellking.study.hibernate.Course: select course0_.CourseId as CourseId0_0_, course0_.name as name0_0_ from Courses course0_ where course0_.CourseId=? for update
20:05:37,312 DEBUG EntityLoader:79 - Static select for entity com.hellking.study.hibernate.Course: select course0_.CourseId as CourseId0_0_, course0_.name as name0_0_ from Courses course0_ where course0_.CourseId=? for update nowait
20:05:37,343 DEBUG EntityLoader:34 - Static select for action ACTION_MERGE on entity com.hellking.study.hibernate.Course: select course0_.CourseId as CourseId0_0_, course0_.name as name0_0_ from Courses course0_ where course0_.CourseId=?
20:05:37,343 DEBUG EntityLoader:34 - Static select for action ACTION_REFRESH on entity com.hellking.study.hibernate.Course: select course0_.CourseId as CourseId0_0_, course0_.name as name0_0_ from Courses course0_ where course0_.CourseId=?
20:05:37,343 DEBUG SessionFactoryObjectFactory:39 - initializing class SessionFactoryObjectFactory
20:05:37,359 DEBUG SessionFactoryObjectFactory:76 - registered: 8abe8c2d13bf78440113bf7847bf0000 (unnamed)
20:05:37,359 INFO SessionFactoryObjectFactory:82 - Not binding factory to JNDI, no JNDI name configured
20:05:37,359 DEBUG SessionFactoryImpl:293 - instantiated session factory
20:05:37,359 DEBUG SessionFactoryImpl:354 - Checking 0 named HQL queries
20:05:37,359 DEBUG SessionFactoryImpl:374 - Checking 0 named SQL queries
20:05:37,437 DEBUG SessionImpl:219 - opened session at timestamp: 4851008869822464
20:05:37,453 DEBUG JDBCTransaction:54 - begin
20:05:37,453 DEBUG ConnectionManager:415 - opening JDBC connection
//到这里就停了
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货