Can't generate persistence mapping: already loaded DLL
I would like to generate persistence mapping (new functionality in 6.0).
The first connect is successfully, for example select a schema.
The second and following connect will fail:
java.lang.UnsatisfiedLinkError: Native Library C:\Programs\Oracle\Ora10g\BIN\ocijdbc10.dll already loaded in another classloader
Please sign in to leave a comment.
A workaround could be to use the Oracle "thin" driver, but I guess you
know that...
regards,
Messi
Andreas Bachmann wrote:
Hello Andreas,
Have you tried adding ojdbc14.jar to IDEA classpath (in idea.bat)?
Regards,
Gregory Shrago
Andreas Bachmann wrote:
Thin is not an option... see attachment!
URL: jdbc:oracle:thin:@GIS002
Can I use the TNSNAME for Thin?
Attachment(s):
thin.gif
Ahh... DOES work. Thank you!
But is this a Oracle problem or a IDEA problem?
It is JAVA limitation.
Since the problem's already solved, just for info: I'm not 100% sure,
but I think you can't use TNSNAME for the thin driver, you need
something like host:port/name.
regards,
Messi
Andreas Bachmann wrote: