[hibernate-dev] overriding target through annotations

2006-11-29 Thread Emmanuel Bernard
I'm looking at ANN-422 In HA, the target is usually inferred from the API (generics), and can be overridden in all associations through targetEntity ( @ManyToOne(targetEntity...) ) currently, you cannot override the target for a component, nor you can override it for a map-key-many-to-many/

Re: [hibernate-dev] overriding target through annotations

2006-11-29 Thread Max Rydahl Andersen
this would help on a related issue http://opensource.atlassian.com/projects/hibernate/browse/HHH-2268 which is about the problem of redundant methods in jdk5 when you have covariant methods (e.g. Object clone() in Object and Customer clone() in Customer) With respect to HHH-2268 we could