Hibernate invalid oracle URL

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?



原文地址:https://www.cnblogs.com/liuzhengdao/p/1579853.html