Re: [hibernate-dev] Problems building Core

2010-02-05 Thread Strong Liu
try add this to your .bashrc (or others if you're not using unix-like os) export MAVEN_OPTS=-Xmx1024m --- Best Regards, Strong Liu On Feb 6, 2010, at 3:16 PM, Amin Mohammed-Coleman wrote: > Hi All > > I'm trying to build core and followed the steps mentioned and

Re: [hibernate-dev] Problems building Core

2010-02-05 Thread Amin Mohammed-Coleman
Hi All I'm trying to build core and followed the steps mentioned and I'm getting the following exception: Failure executing javac, but could not parse the error: The system is out of resources. Consult the following stack trace for details. java.lang.OutOfMemoryError: Java heap space a

[hibernate-dev] unit test failure on trunk in org.hibernate.ejb.test.PackagedEntityManagerTest

2010-02-05 Thread Scott Marlow
Please send email if anyone is working on this unit test failure (org.hibernate.ejb.test.PackagedEntityManagerTest): "Caused by: java.sql.SQLException: Attempt to insert null into a non-nullable column: column: ID table: DISTRIBUTOR in statement [insert into Distributor (id, name) values (null, ?)

Re: [hibernate-dev] Unable to dispatch Entities in different jars

2010-02-05 Thread Emmanuel Bernard
Guys, The approach consisting of merging persistence.xml files is super broken. Period. It's a hack that happens to work for some version(s) of Hibernate but surely fails on other providers and is totally against the spirit and the word of the spec. The only decent approach I can think of is fo

Re: [hibernate-dev] Unable to dispatch Entities in different jars

2010-02-05 Thread Max Rydahl Andersen
This discussion is super relevant for multi module project development in IDE's too. I've followed up - I hope emmanuel do too since this one actually is one of my biggest issues I have when it comes to "autoscanning". /max - "Bouiaw" wrote: > Thanks for your answer. > > I made some tes

Re: [hibernate-dev] Unable to dispatch Entities in different jars

2010-02-05 Thread Bouiaw
Thanks for your answer. I made some tests but I think there is no way to acheive this my (common) need without tweaking with merging in one PU. I don't want to SPAM the dev list so I created a thread on the Hibernate forum with my feedback : https://forum.hibernate.org/viewtopic.php?f=1&t=1002467