摘要:
方式1: select * from person where name like "%"#{name}"%" 方式2: select * from person where name like '%'||#{name}||'%' 方式3: select * from person where na 阅读全文
摘要:
在spring4+hibernate4整合过程中,使用@Transactional注解事务会报"Exception in thread "main" org.hibernate.HibernateException: save is not valid without active transact 阅读全文