[Ikvm-developers] Hibernate and iKVM
Brought to you by:
jfrijters
From: Kumaravel S. <ks...@gm...> - 2014-07-17 22:03:08
|
Hi I built a sample project in Java using Eclipse that talks to a mysql database using Hibernate. That works. I converted all the jar files to .dll using iKVMC In my Visual Studio project I instantiate my class that writes date to the database through hibernate. And I get an exception An unhandled exception of type java.lang.NoClassDefFoundError occurred in hibernateqboconnect.dll Additional Infomation: org.hibernate.cfg Configuration In the Eclipse project, we create a hibernate.xml.cfg file that resides at the src folder level, which has the configuration properties. I suspect that in .NET, it is not able to find the .cfg file. I copied the .cfg file to where the .dll files are. And I still get the same error. How do I make the C# client read this configuration file? Where should I copy it to? Thanks, -Kumar. |