FIX for ManyToOne targetType & OSGI MANIFEST

Fixed the ManyToOne targetType bug and included a test
No worries.  I'll merge it in ... just checking.

On 15 October 2014 19:50, nedge <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){
>
> yes the lookup in OSGi doesn’t work - I’ll take a close look now and see
> what is going on.
> On 15 Oct 2014, at 06:45, 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){ Why is
> this here? Is it ServiceLocator is not working in OSGi? — 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
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ebean-orm/avaje-ebeanorm/pull/194/files#r18877121>.
>