the intellij import will do it provided: 1) you tell it an apprpriate phase to run to discover all source dirs 2) the metamodel gen stuff is set up correctly to register its output dir as a src dir w/ maven.
On 03/05/2010 09:40 AM, Scott Marlow wrote: > On Fri, 2010-03-05 at 09:14 -0600, Steve Ebersole wrote: >> as we discussed on irc you have to run the metamodel generator. X_ is a >> generated class 99.9% of the time. You also need to add the generated >> source directory as a source directory. > > I missed the step of adding the generated source directory. I want my > MTV now! :-) > > >> >> On 03/05/2010 09:09 AM, Scott Marlow wrote: >>> I'm also blocked from debugging this issue due to a reference to >>> entitymanager/target/test-classes/org/hibernate/ejb/metamodel/Product_.class >>> not being found in the intellij project generated by "mvn idea:idea". >>> Project import seemed to have the same problem. >>> >>> >>> >>> On Thu, 2010-03-04 at 21:14 -0500, Scott Marlow wrote: >>>> I ran org.hibernate.ejb.test.lock.LockTest and get a weird "ORA-04092: >>>> cannot COMMIT in a trigger" failure in: >>>> >>>> testLockOptimistic(org.hibernate.ejb.test.lock.LockTest) >>>> testLockWrite(org.hibernate.ejb.test.lock.LockTest) >>>> testLockWriteOnUnversioned(org.hibernate.ejb.test.lock.LockTest) >>>> testLockPessimisticForceIncrement(org.hibernate.ejb.test.lock.LockTest) >>>> testLockOptimisticForceIncrement(org.hibernate.ejb.test.lock.LockTest) >>>> testContendedPessimisticReadLockTimeout(org.hibernate.ejb.test.lock.LockTest) >>>> testContendedPessimisticWriteLockTimeout(org.hibernate.ejb.test.lock.LockTest) >>>> testContendedPessimisticWriteLockNoWait(org.hibernate.ejb.test.lock.LockTest) >>>> testQueryTimeout(org.hibernate.ejb.test.lock.LockTest) >>>> >>>> test failures are here http://pastebin.com/F07aBFvm >>>> >>>> Did anyone commit changes that could impact the above tests? I'm also >>>> wondering if my oracle test database is hosed somehow (using >>>> -Poracle11gRAC). >>>> >>>> Thanks for any advice. This is blocking me from fixing HHH-4972. >>>> >>>> Scott >>>> >>>> _______________________________________________ >>>> hibernate-dev mailing list >>>> hibernate-dev@lists.jboss.org >>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev >>> >>> >>> _______________________________________________ >>> hibernate-dev mailing list >>> hibernate-dev@lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/hibernate-dev >> > > -- st...@hibernate.org http://hibernate.org _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev