Re: [hibernate-dev] Invoking hbm2java without using Ant

2008-05-14 Thread Lakshmana Pamarthy
So is this what causing the java.lang.ExceptionInInitializerError while trying to instantiate JDBCMetaDataConfiguration ? --- Max Rydahl Andersen <[EMAIL PROTECTED]> wrote: > The exception says it all. You seem to have multiple commons-logging classes > on the class path. > > /max > > > Here y

Re: [hibernate-dev] Invoking hbm2java without using Ant

2008-05-14 Thread Lakshmana Pamarthy
Here you go: I have all the required jars added to the project. Those include commons-logging-1.0.4jar, hibernate2.jar, hibernate-tools.jar, hibernate-annotations.jar, dom4j-1.6.1.jar etc... org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than

Re: [hibernate-dev] Invoking hbm2java without using Ant

2008-05-13 Thread Lakshmana Pamarthy
Hi, Wondering if you can help me here. I have a hibernate.reveng.xml file which contains some tables. I want to generate mappings and POJOs for those tables that are in the reveng.xml file without using Ant. Here is how my code looks like: String fileName = "hibernate.reveng.xml"; JDBCMetaDataC

[hibernate-dev] Invoking hbm2java without using Ant

2008-04-21 Thread Lakshmana Pamarthy
As part of the reverse engineering code generation functionality, I am trying to find a solution on how to invoke hbm2java from a java class without using ant. I read the documentation on Ant tasks at http://www.hibernate.org/hib_docs/tools/reference/en/html/ant.html But this doc doesn't tell an