在SSH中,我用这个连接配置可以连接上
oracle.jdbc.driver.OracleDriver
<property name="hibernate.connection.password">fccenter</property>
<property name="hibernate.connection.url">jdbc:oracle:thin:xxxx:1521/aaa</property>
<property name="hibernate.connection.username">1qaz)P(O</property>
<property name="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</property>
<property name="hibernate.show_sql">true</property>
<property name="hibernate.hbm2ddl.auto">update</property>
<property name="cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
<property name="hibernate.connection.autocommit">true</property>
<property name="javax.persistence.validation.mode">none</property>
但是换个用户名和密码却连接不上了,报
org.hibernate.QueryTimeoutException: Cannot open connection
Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
那个连接不上的用户,我用jdbc又可以连接上,这到底是怎么回事啊,大神们