[
https://issues.apache.org/jira/browse/METAMODEL-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15028993#comment-15028993
]
Kasper Sørensen commented on METAMODEL-189:
-------------------------------------------
Actually there is a way, but I realize it's not very convenient: Use the
constructor {code}MongoDbDataContext(DB mongoDb, SimpleTableDef...
tableDefs){code} where you can provide your own table definitions to use.
> Metamodel tries to look into mongodb schema before insert or query
> ------------------------------------------------------------------
>
> Key: METAMODEL-189
> URL: https://issues.apache.org/jira/browse/METAMODEL-189
> Project: Apache MetaModel
> Issue Type: Bug
> Reporter: Hosur Narahari
>
> MongoDB is schemaless database but metamodel checks schema before insert or
> query of collections. This causes failure to insert or query data even if it
> is a valid one.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)