[Teneo] Multi-column join? [message #613984] |
Mon, 14 January 2008 23:47 |
Jason Henriksen Messages: 231 Registered: July 2009 |
Senior Member |
|
|
I haven't updated my version of Teneo in a while. My client has decided
that they really need to support of horribly written old tables and now
they're coming up to a multi-column join problem.
We looked into the code, it looks like the multiple column join is
specifically not supported. Do you know if it would be very hard to add
support for it? Any suggestions about what would need to be done to
support it. (I.E. is it something I could do myself relatively quickly?)
Thanks for any advice,
Jason
---------------------------------------------
public class ManyToOneMapper
extends AbstractAssociationMapper
implements ExtensionPoint {
public void process(PAnnotatedEReference paReference) {
log.debug("Process many-to-one " + paReference);
final List<JoinColumn> jcs = getJoinColumns(paReference);
if (jcs.size() > 1) { // TODO support multiple join columns
log.error("Unsupported multiple join columns in " + paReference);
throw new MappingException("Unsupported multiple join columns",
paReference);
}
..
..
..
|
|
|
Powered by
FUDForum. Page generated in 0.02933 seconds