hibernateSync连接oracle数据库的问题!
我先用hibernate configuration file选项生成hibernate.cfg.xml文件,然后我想通过hibernate Mapping file生成map文件时,我把Driver,DataBase Url,Username,Password都输入正确,可是Tables里面却没有表显示出来,这是为什么?请各位指教!
hibernate configuration file生成的文件如下:
<hibernate-configuration>
<session-factory >
<!-- local connection properties -->
<property name="hibernate.connection.url">jdbc:oracle:thin:@192.168.0.168:1521:zjjtgis</property>
<property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="hibernate.connection.username">sjjh</property>
<property name="hibernate.connection.password">sjjh</property>
<!-- property name="hibernate.connection.pool_size"></property -->
<!-- dialect for Oracle 9 -->
<property name="dialect">net.sf.hibernate.dialect.Oracle9Dialect</property>
<property name="hibernate.show_sql">false</property>
<property name="hibernate.use_outer_join">true</property>
<property name="hibernate.transaction.factory_class">net.sf.hibernate.transaction.ResinTransactionManagerLookup</property>
<property name="jta.UserTransaction">java:comp/UserTransaction</property>
</session-factory>
</hibernate-configuration>