随笔分类 -  hibernate

摘要:报错提示为:org.hibernate.hql.ast.QuerySyntaxException: customers is not mapped [from customers as c]服务层代码 为:public void findCustomerAndOrders(){ Ses... 阅读全文
posted @ 2014-06-27 16:33 棣棣棣棣 阅读(270) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/dongyangbolg/p/3448988.html(流程);http://www.cnblogs.com/zyf2013/p/3440241.html(每步解释);hibernate来进行数据库的操作,表必须有主键 阅读全文
posted @ 2014-05-23 14:38 棣棣棣棣 阅读(103) 评论(0) 推荐(0)