Overview

This is a testcase for http://www.datanucleus.org/servlet/jira/browse/NUCCORE-1234


Requirements
------------
karaf
postgresql
maven
plink
putty


Setup
-----
Create the database
> exec setupdb

Compile
> exec compile


Run
---
> exec run
(The test will pass this way)


Run in osgi
-----------
Start karaf's root instance and keep it open
> exec karaf

Create/Start karaf's test instance and deploy artifacts
> exec start

You can also start in debug mode
> exec startDebug

Open a console
> exec console

Display logs inside console
$ log:display

Stop/Destory karaf's test instance
> exec stop


Workaround
----------
In order to make the test pass in osgi
open api/pom.xml
There's a comment under the plugins section
Uncomment it and then recompile and restart in karaf