刘政道 - 应用程序框架

《31天学会CRM项目开发(C#编程入门及项目实战)》作者,IT经理,程序员
  博客园  :: 新随笔  :: 联系 :: 管理

Hibernate invalid oracle URL

Posted on 2009-10-09 19:42  刘政道  阅读(217)  评论(0编辑  收藏  举报

When I config my Hibernate for Oracle,

I got an error, that "java.sql.Exception:invalid Oracle URL",

I config my hibernate like this

hibernate.connection.url:jdbc:oracle:thin@10.130.129.11:1521:mydb

Do you konw the error?

I could never found the error if I donot copy the url from IBM demo code,

It so lucklv for me.

jdbc:oracle:thin:@10.130.129.11:1521:mydb


Do you notice it?