Thanks, I will create a test case and debug it, maybe the issue is I don't have a explicit persistence definition in Isis (do I?) so maybe there is something wrong in Isis.
On Mon, Nov 9, 2015 at 5:52 AM, Andy Jefferson <[email protected]> wrote: > > I am creating some database views via DataNucleus, but am getting > some > > errors on startup of my webapp (with an clean database so all tables > and > > views get greated). When I look at the new database schema via MySQL > > workbench I see the views have been created but not the tables, maybe > this > > is the origin of my errors. > > I cannot imagine why DN would do this, create views before creating > tables. > > I can't either, but then I know for a fact that it creates tables BEFORE > views, and simple inspection of the code that your stack trace refers to > points to > > https://github.com/datanucleus/datanucleus-rdbms/blob/4.1/src/main/java/org/datanucleus/store/rdbms/RDBMSStoreMa > nager.java#L2874 > > so you must have something wrong with your persistence definition (or > something missing). > > > > > Regards > -- > Andy > DataNucleus (Web: http://www.datanucleus.org Twitter: @datanucleus) >
