FIX for ManyToOne targetType & OSGI MANIFEST

Fixed the ManyToOne targetType bug and included a test
yes I just took a look and 

 final Iterator<SpiEbeanPlugin> plugins = ServiceLoader.load(SpiEbeanPlugin.class).iterator();

doesn’t find any classes. 
This might help
http://blog.osgi.org/2013/02/javautilserviceloader-in-osgi.html
 
On 15 Oct 2014, at 08:52, Rob Bygrave <notifications@github.com> wrote:

> In src/main/java/com/avaje/ebeaninternal/server/core/DefaultServer.java:
> 
> > @@ -286,6 +286,12 @@ protected void loadAndInitializePlugins(InternalConfiguration config) {
> >          ddlGenerator = (DdlGenerator)plugin;
> >        } 
> >      }
> > +    
> > +    if (ddlGenerator == null){
> No worries. I'll merge it in ... just checking.
> …
> —
> Reply to this email directly or view it on GitHub.
> 

E. Mc Greal

Marburger Straße 2 | D-10789 Berlin
Tel: +49 30 859946220
Mobile: +49 170 5547619

Imilia Interactive Mobile Applications GmbH
Amtsgericht Charlottenburg - HRB: 97063 B 
Geschäftsführer: Edward Mc Greal
USt-IdNr.:DE243909420
www.imilia.com