Hi there, That's kind of a lot of questions in one - would make it easier if you give more details and make separate mail threads on each.
Anyways ... 1) We currently don't have a way in the MetaModel API to get the autogenerated key if your database gives that back, sorry. Contributions on that welcome, but it would involve an API-breaking change I think. 2) "When column has null value" ... What error is thrown and when? Be specific, show stack trace, give context etc. 3) You can pass multiple parameters to a compiled query by making sure that the compiled query has multiple QueryParameter instances in it. And then invoke the executeQuery method with a varargs argument [1]. Kasper [1] http://metamodel.apache.org/apidocs/4.4.0/org/apache/metamodel/DataContext.html#executeQuery(org.apache.metamodel.query.CompiledQuery, java.lang.Object...) 2015-11-24 9:58 GMT+01:00 Arunkumar Pillai <[email protected]>: > Hi > > I'm not able to get the auto generated value from insert statement and also > if column has null value row.getValues is throwing error. > > Also how to pass multiple parameters to compiled Query >
