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

2008-05-14 Thread Max Rydahl Andersen
what is the stacktrace ? -max > 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: > > Strin

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-14 Thread Max Rydahl Andersen
The exception says it all. You seem to have multiple commons-logging classes on the class path. /max > 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 e

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 Max Rydahl Andersen
That is what the exception says. /max > 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 cl

[hibernate-dev] Sync maven jboss repo with central repo?

2008-05-14 Thread Tomislav Stojcevich
The jboss maven repo is not currently being sync'd to the central repo for the org/hibernate packages. I need the latest entitytManager which is no in central but is in the jboss repo. I can't just add the jboss repository in my pom because our 'production' builds are done on a special build serv

Re: [hibernate-dev] Sync maven jboss repo with central repo?

2008-05-14 Thread Emmanuel Bernard
The sync process in on someone's todo list at JBoss. But todo lists are long these days. On May 14, 2008, at 12:49, Tomislav Stojcevich wrote: The jboss maven repo is not currently being sync'd to the central repo for the org/hibernate packages. I need the latest entitytManager which is no

Re: [hibernate-dev] Sync maven jboss repo with central repo?

2008-05-14 Thread Max Rydahl Andersen
Just a comment: I never understood how a community global repository is considered more trustworthy than some other repository. Note that i'm not saying the jboss repo is more trustworthy. btw. the way to use multiple repositories is to setup a proxy maven repository that does the syncing for y

Re: [hibernate-dev] Sync maven jboss repo with central repo?

2008-05-14 Thread Tomislav Stojcevich
On Wed, May 14, 2008 at 4:37 PM, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote: > Just a comment: I never understood how a community global repository is > considered > more trustworthy than some other repository. > The number of users/reviewers? who controls its contents? how long it's been aroun

[hibernate-dev] remove object from collection without collection fetching

2008-05-14 Thread Renat
Hello, I have bi-directional association between parent/child. Parent can have too many children and I want to add and remove to "children" (inverse=true) collection without loading collection. "children" collection mapped as . With adding to collection I have no problem, but when I try to re