Re: Redefining schema name in config file (to override JDO class annotation setting)

2016-08-25 Thread Dan Haywood
On 25 August 2016 at 08:14, Andy Jefferson wrote: > > > > So, it looks like DataNucleus will merge any XML metadata with any > > annotations (with the XML metadata taking preference). In other words, > > exactly what we want. (Andy, if you pick this up, any > >

Re: Redefining schema name in config file (to override JDO class annotation setting)

2016-08-25 Thread Andy Jefferson
> What I've found is that by adding a file SimpleObject.jdo (in the > domainapp/dom/simple package, right alongside SimpleObject.java), with the > contents: > > > http://xmlns.jcp.org/xml/ns/jdo/jdo; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; >

Re: Redefining schema name in config file (to override JDO class annotation setting)

2016-08-25 Thread Dan Haywood
Hi Steve (and Oscar) Just been playing around with this using the simpleapp. What I've found is that by adding a file SimpleObject.jdo (in the domainapp/dom/simple package, right alongside SimpleObject.java), with the contents: http://xmlns.jcp.org/xml/ns/jdo/jdo;

Redefining schema name in config file (to override JDO class annotation setting)

2016-08-16 Thread Stephen Cameron
Hi, I am using the security module which defines a schema 'isissecurity', but in MySQL the security tables get created in the default schema. Everything works fine, but I still get an error message at startup which I'd like to get rid of. I'm pretty sure I've seen reference to a means to remap