[
https://issues.apache.org/jira/browse/METAMODEL-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14603377#comment-14603377
]
Kasper Sørensen commented on METAMODEL-155:
-------------------------------------------
Hi Geraud,
Sorry for the late response, I was out of office for a few days.
I guess you mean that you are using PojoDataContext then? Yes that is a little
bit misusing it's intention then. Although misuse is maybe a strong word -
you're "creatively hacking it" I would say ;-) The intent of the
PojoDataContext is actually just to wrap some POJOs or collections of basic
Java types such as Strings, Integer etc. and represent them as a DataContext -
for instance in relation to testing (as stub DataContext for a "real" data
backend).
What I would suggest instead is to implement a new first class DataContext
implementation. To cut some shortcuts, do extend QueryPostprocessDataContext
since that will allow you just to focus on the simple things first and actually
get something fully functional quickly. There's some good getting started
points here: http://wiki.apache.org/metamodel/GettingStartedNewConnectors
> Create a SimpleTableDef constructor that allows Table and Column remarks
> ------------------------------------------------------------------------
>
> Key: METAMODEL-155
> URL: https://issues.apache.org/jira/browse/METAMODEL-155
> Project: Apache MetaModel
> Issue Type: Improvement
> Reporter: Geraud Campion
> Priority: Minor
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)