在自学hibernate框架 越到了一个问题 简单的查询出问题了
 Criteria cr=s.createCriteria(Person.class);
      List ps=cr.list();
然后会报错 sql执行异常
" org.hibernate.exception.SQLGrammarException: could not execute query
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.loader.Loader.doList(Loader.java:2148)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
at org.hibernate.loader.Loader.list(Loader.java:2024)
at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:94)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1533)
at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
我用log4j打印日志发现sql是这样的
Hibernate: select this_.pid as pid0_0_, this_.pname as pname0_0_, this_.page as page0_0_ from master.dbo.person this_
我在plsql里执行也会报错  如果去掉 master.dbo.就没问题了 请教各位大神 这个怎么破 有详细说明的加分java hibernate Criteria hibernate框架query