hibernate tool鏈接oracle生成pojo和xml文件沒法查詢表解決辦法

須要在hibernate的配置文件中增長spa


        <property name="hibernate.default_schema">[username]</property>
        <property name="hibernate.default_catalog">[username]</property>hibernate

 

其中[username]是用戶名稱,在生成的  SQL  中,將給定的  schema/
tablespace 附加於非全限定名的表名上。table

相關文章
相關標籤/搜索