the problem is the circular reference.

on the one class i have 
@ManyToOne
@JoinColumn(name="error")
public ErrorModel getError() {
        return error;
}
and on the other
@OneToMany( mappedBy = "error",fetch=FetchType.EAGER)
private Set<SolutionModel> solutions = new HashSet<SolutionModel>();

this is causing it.
can somebody please provide me some equal hashCode and toString methods or
classes which definitely don't cause any circular reference?
when i do a log.debug or a system.out.print in any of those three methods,
why don't i see it in the mvn output?

can i tell xfire to stop referencing back to the object which called the
collection somehow in a configuration file? 

i don't really need the @ManyToOne annotation only the @OneToMany in my
application, is that possible somehow? if yes, how?









mraible wrote:
> 
> Can you please post your stacktrace and model object?
> 
> Thanks,
> 
> Matt
> 
> On Dec 20, 2008, at 1:28 PM, agathon <n...@schoenhouse.de> wrote:
> 
>>
>> using the save method of the GenericDaoHibernate class is somehow  
>> not working
>> with webservices !!!
>> maybe something with the parameter type "Object"?
>> you have to create a save method in your PersonManger,  
>> PersonMangerImpl,
>> PersonDaoHibernate, PersonDaoHibernateImpl.
>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/axis-stackoverflow-tp21091534s2369p21108679.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/axis-stackoverflow-tp21091534s2369p21131013.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to