On Thursday, 18 April 2013, Nicolas Fortin (OrbisGIS) wrote:

> We are using H2 in an OSGi environment.
>
>  I search an alternative to CREATE ALIAS in order to provide to h2 the
> java Class.
>
> Maybe by calling something like org.h2.util.Utils.addUserClass("Class
> name",Class<?> userClass);



Are yes, I see your problem. In an osgi context the db does not know which
class loader to use when loading the alias.

For now I suggest you patch such a method in yourself. If you can't go
that, I will send you a patch next week. (I'm at a conference this week)




>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to