Joe Ess wrote:Thanks, Piyush. I saw that post and tried it both ways. Same error. For the record, Oracle Enterprise Manager Console shows the schema name as all-caps (and I removed the "real" values from the code I posted and the code you quoted).
Piyush Mangal wrote:
Joe Ess wrote:Thanks, Piyush. I saw that post and tried it both ways. Same error. For the record, Oracle Enterprise Manager Console shows the schema name as all-caps (and I removed the "real" values from the code I posted and the code you quoted).
Try removing default schema property altogether and see if you are able to get rid of this error. Regarding connection URL jdbc:oracle:thin:@localhost:1521:WWWWW.
Are you sure WWWWW is valid SID?
Piyush Mangal wrote:
Try removing default schema property altogether and see if you are able to get rid of this error. Regarding connection URL jdbc:oracle:thin:@localhost:1521:WWWWW.
Are you sure WWWWW is valid SID?
Joe Ess wrote:
Piyush Mangal wrote:
I removed the schema property. Same error. "WWWWW" appears in the tnsnames.ora and that whole connection URL is a copy/paste from a functioning Plain Old JDBC application. I just gave it a try and it works fine:
Can you post the content of DBConnector ?
Piyush Mangal wrote:Please try following code.
Joe Ess wrote:I tried using a hibernate.hbm.xml file with the same settings...
SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Ben Fisher wrote:To close the loop on this, I had to add the following property to hibernate.cfg.xml to get it to work for me:
<property name="hibernate.temp.use_jdbc_metadata_defaults">false</property>
Ben Fisher wrote:To close the loop on this, I had to add the following property to hibernate.cfg.xml to get it to work for me:
<property name="hibernate.temp.use_jdbc_metadata_defaults">false</property>
Don't get me started about those stupid light bulbs. |