Something like this?

Collection<DataNode> nodes = runtime.getDataDomain().getDataNodes();

for (DataNode node : nodes) {

node.setAdapter(myNewAdapter);

}

On Tue, Oct 18, 2016 at 11:27 AM Hugi Thordarson <h...@karlmenn.is> wrote:

> Hi all,
> when running tests I need to switch the DB adapter to H2Adapter (my
> DataNode has a Customer adaptor). How would this be easiest to do?
>
> Cheers,
> - hugi

Reply via email to