Thank your for the answer. I will work on the patch, trying to not break
anything. And I will send another patch for maven local build that do not
read the good version of the library (got stuck on home made build system).
I will release also H2 Spatial OSGi integration and unit testing projects
also.
For license I will see with my boss Erwan. Spatial feature would require at
least one library dependency JTS topology suite, is this a problem for
trunk development ? May be an optional build to enable spatial feature ?
Best regards,
-Nicolas
Le jeudi 18 avril 2013 16:27:30 UTC+2, Noel Grandin a écrit :
>
>
>
> 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.