public boolean delete(String lmtWybs) {
Session session = null;
Transaction tx = null;
try {
session = HibernateSessionFactory.getSession();
tx = session.beginTransaction();
String hql = "delete from ServiceInfo where lmtWybs in(" + lmtWybs
+ ")";
System.out.println(hql);
Query query = session.createQuery(hql); query.executeUpdate();
tx.commit();
System.out.println("2");
return true;
} catch (HibernateException e) {
 throw e;
//e.printStackTrace();
//return false;
} finally {
HibernateSessionFactory.closeSession();
}
}