hibernate tool连接oracle生成pojo和xml文件无法查询表解决办法

需要在hibernate的配置文件中增加


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

其中[username]是用户名称,在生成的  SQL  中,将给定的  schema/
tablespace 附加于非全限定名的表名上。

原文地址:https://www.cnblogs.com/Mr-Nobody/p/3603903.html