各位大神:怎么解决com.microsoft.sqlserver.jdbc.SQLServerException: 对象名 'classnet.news' 无效。 15
Hibernate:selecttop10this_.idasid0_1_,this_.viewnumasviewnum0_1_,this_.imgasimg0_1_,t...
Hibernate: select top 10 this_.id as id0_1_, this_.viewnum as viewnum0_1_, this_.img as img0_1_, this_.author as author0_1_, this_.pubtime as pubtime0_1_, this_.menuId as menuId0_1_, this_.content as content0_1_, this_.title as title0_1_, this_.source as source0_1_, this_.status as status0_1_, newsmenuen2_.id as id1_0_, newsmenuen2_.name as name1_0_ from classnet.news this_ inner join classnet.news_menu newsmenuen2_ on this_.menuId=newsmenuen2_.id where this_.status=?
2014-05-26 17:30:02,701 WARN [org.hibernate.util.JDBCExceptionReporter] - SQL Error: 208, SQLState: S0002
2014-05-26 17:30:02,701 ERROR [org.hibernate.util.JDBCExceptionReporter] - 对象名 'classnet.news' 无效。
2014-05-26 17:30:02,701 WARN [org.apache.struts.action.RequestProcessor] - Unhandled Exception thrown: class org.hibernate.exception.SQLGrammarException
五月 26, 2014 5:30:02 下午 org.apache.catalina.core.ApplicationDispatcher invoke
严重: Servlet.service() for servlet action threw exception
com.microsoft.sqlserver.jdbc.SQLServerException: 对象名 'classnet.news' 无效。
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:216) 展开
2014-05-26 17:30:02,701 WARN [org.hibernate.util.JDBCExceptionReporter] - SQL Error: 208, SQLState: S0002
2014-05-26 17:30:02,701 ERROR [org.hibernate.util.JDBCExceptionReporter] - 对象名 'classnet.news' 无效。
2014-05-26 17:30:02,701 WARN [org.apache.struts.action.RequestProcessor] - Unhandled Exception thrown: class org.hibernate.exception.SQLGrammarException
五月 26, 2014 5:30:02 下午 org.apache.catalina.core.ApplicationDispatcher invoke
严重: Servlet.service() for servlet action threw exception
com.microsoft.sqlserver.jdbc.SQLServerException: 对象名 'classnet.news' 无效。
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:216) 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询