话说 从book中查 只要title writer publication 三者中有一个满足条件 即可 条件为 三者内容必须有keyword
我写的是:
String hql="from Book as book where book.title or book.writer or book.publication like '%"+writerKey+"%'";
查不出来
我写的是:
String hql="from Book as book where book.title or book.writer or book.publication like '%"+writerKey+"%'";
查不出来
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货