myeclipse4+hibernate2,hibernate mapping出现问题
myeclipse4+hibernate2
数据库是ms sql server2000
创建mapping时 <class name="Authors" table="authors" schema="dbo" catalog="pubs">
提示错误:attribute "catalog" must be declared for element type "class"
如果去掉schema="dbo" catalog="pubs",则运行时无法找到表authors
有没有好的解决办法
table="authors" 改为table="pubs.dbo.authors" 倒是可以,但太麻烦