文章列表
package com.briup.test;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import com.briup.common.ConnectionFactory;
public class ...
package com.briup.run.common.transaction;
import org.hibernate.Session;
import com.briup.run.common.util.HibernateSessionFactory;
public class HibernateTransaction implements Transaction {
private org.hibernate.Transaction transaction;
public void beginTransaction() {
Session session = Hiberna ...
package com.briup.run.common.util;
import java.util.List;
import org.hibernate.HibernateException;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.cfg.Configuration;
/**
* Configures and provides access to Hibernate sessions, tied to the current
* thread of executi ...