Re: [appfuse-user] Hibernate ManyToMany not updating collection

2007-09-20 Thread Matt Raible
This is a bug in Spring - I was able to find it a few days ago by googling the error message you're seeing. http://issues.appfuse.org/browse/APF-887 Matt On 9/13/07, syg6 <[EMAIL PROTECTED]> wrote: > > I tried reverting back to the way things were previous to upgrading Hibernate > (commenting ou

Re: [appfuse-user] Hibernate ManyToMany not updating collection

2007-09-13 Thread syg6
I tried reverting back to the way things were previous to upgrading Hibernate (commenting out all of the Hibernate dependency blocks in pom.xml, so it uses ${hibernate.version}, 3.2.1) and it seemed to take the change. When I ran jetty:run-war this was printed: attempting to create parent directo

Re: [appfuse-user] Hibernate ManyToMany not updating collection

2007-09-13 Thread syg6
I tried nuking the entire hibernate directory in my Maven repository and I changed my pom.xml so it has the correct hibernate-annotations block: org.hibernate hibernate-annotations 3.3.0.ga After running mvn -U. I now (seemingly) have all the correct Hibernate files installed in my repos

Re: [appfuse-user] Hibernate ManyToMany not updating collection

2007-09-12 Thread Matt Raible
If you "rm -r" the hibernate JAR you installed and try again-what happens? Matt On 9/12/07, syg6 <[EMAIL PROTECTED]> wrote: > > Hi Matt, and thanks for taking the time to answer from Oslo! > > It's official: I am now in Maven hell. I am a total Maven noob and have to > say, it's quite confusing.

Re: [appfuse-user] Hibernate ManyToMany not updating collection

2007-09-12 Thread syg6
Hi Matt, and thanks for taking the time to answer from Oslo! It's official: I am now in Maven hell. I am a total Maven noob and have to say, it's quite confusing. Previously the error I was getting when running 'mvn anything' was that it couldn't find javax.persistence.*. Do you know what the sol

Re: [appfuse-user] Hibernate ManyToMany not updating collection

2007-09-12 Thread Matt Raible
You should be able to upgrade to 3.2.5.ga without installing it. It's available in maven's central repo, which is searchable with mvnrepository.com. You need to add the full dependency block to your pom.xml since Maven doesn't allow you to override properties in dependencies. If you continue readi

Re: [appfuse-user] Hibernate ManyToMany not updating collection

2007-09-12 Thread syg6
Nothing quite like answering your own posts. No chance for arguing ... So I was reading http://www.nabble.com/Upgrading-to-hibernate-annotation-to-version-3.3.0.ga-tf4310306s2369.html#a12270648 this thread about the Hibernate / Hibernate Annotations upgrade and decided it was time to upgrade, t

Re: [appfuse-user] Hibernate ManyToMany not updating collection

2007-09-12 Thread syg6
Hmmm ... According to http://forum.hibernate.org/viewtopic.php?t=971930&highlight=inversejoincolumns+update this post it's a Hibernate http://opensource.atlassian.com/projects/hibernate/browse/HHH-2292 bug . How involved is it to change the version of Hibernate being used by Appfuse? Is it as s

[appfuse-user] Hibernate ManyToMany not updating collection

2007-09-12 Thread syg6
I am using Appfuse 2.0, Spring MVC, Hibernate. I have two POJOs, Application (as in a job application or form) and Place. I got this example straight out of the JPA Annotations Reference: Application.java @Entity @Table(name = "applications") private Set places; @ManyToMany( targetEntity=com.