* 执行非查询sql
* @param sql
*/
public void executeSQL(String sql){
final String tempsql = sql;
this.getHibernateTemplate().execute(new HibernateCallback()
{
public Object doInHibernate(Session session)
throws HibernateException
{
session.createSQLQuery(tempsql).executeUpdate();
return null;
}
});
}