Andrus,
Perfect that worked like a charm, only one small change, addModule, not
module.
Tony
On Wed, Jan 9, 2019 at 10:58 AM Andrus Adamchik
wrote:
> You may do something like this:
>
> ServerRuntime.builder()
>.module(b ->
> b.bind(SchemaUpdateStrategyFactory.class).toInstance(descriptor
You may do something like this:
ServerRuntime.builder()
.module(b -> b.bind(SchemaUpdateStrategyFactory.class).toInstance(descriptor
-> new CreateIfNoSchemaStrategy()))
...
This is what "bootique-cayenne" does to generate the schema.
Andrus
> On Jan 9, 2019, at 6:46 PM, Tony Giaccone wr
I'm trying to spin up an in memory instance of H2 so that I can run some
unit tests. The model, has just the model and no datanode. I spin it up
with this line:
This code is in a project that is just cayenne and represents our data
model. It does have some base level of service implementation and