Reputation: 3557
I've been trying to get the following setup to work for the last few days:
I keep running into the same problem:
java.sql.SQLException: [FMWGEN][SQLServer JDBC Driver]This driver is locked for use with embedded applications.
On the Oracle website, i found that Weblogic 12c supports SQL Server 2008 and up
.. but I'm starting to have my doubts about this being true for SQL Server 2012 ..
Has anyone been able to get this configuration running and/or does anyone know if this is possible?
Upvotes: 2
Views: 2028
Reputation: 3557
After 2 more days of searching, I found out that the correct amount of dependencies has to be added to the classpath:
<dependency>
<groupId>weblogic-server</groupId>
<artifactId>wlsqlserver</artifactId>
<version>12c</version>
</dependency>
<dependency>
<groupId>weblogic-server</groupId>
<artifactId>weblogic</artifactId>
<version>12c</version>
</dependency>
<dependency>
<groupId>weblogic-server</groupId>
<artifactId>wlclient</artifactId>
<version>12c</version>
</dependency>
Upvotes: 2