Hibernate and iKVM
Kumaravel Sadras <[email protected]>
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <CAFR7Q1uDy+nd25_KN-9a7J4L1zYB3VPT689jXpf3VrrssH+Gcg@mail.gmail.com> |
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. ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Ikvm-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ikvm-developers