Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] Multi-column join?
[Teneo] Multi-column join? [message #613984] Mon, 14 January 2008 23:47
Jason Henriksen is currently offline Jason HenriksenFriend
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);
}
..
..
..
Previous Topic:EMFT - Search - Build Announcements
Next Topic:Cannot modify resource set without a write transaction
Goto Forum:
  


Current Time: Thu Apr 25 02:10:46 GMT 2024

Powered by FUDForum. Page generated in 0.02933 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top