ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Scherbakov <alexey.scherbak...@gmail.com>
Subject Re: A question about ignite-indexing and H2
Date Mon, 30 May 2016 16:04:03 GMT
Hi,

AFAIK, you cannot use 1.4.X version with Ignite.
If you want to use another version of H2 in your project,
you can try to use different classloader to load it separately.
Google it for details.

2016-05-30 9:20 GMT+03:00 王庆 <duck.wq@cainiao.com>:

> Hi,I am a developer from china .My English leaves much to be desired.
> Please ingore these syntax errors.When I use the spatial index module in
> ignite1.6.0 , I found it depends 1.3.175 version of the H2, but I need to
> use the 1.4.X h2 version. <dependency>
>       <groupId>com.h2database</groupId>
>       <artifactId>h2</artifactId>
>       <version>1.3.175</version>
>       <scope>compile</scope>
> </dependency>This method
> org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing # start
> will call org.h2.constant.SysProperties and org.h2.util.Utils, in front of
> the class in the 1.3.176 version of the above have been It does not exist,
> the latter class is missing serializer
> variables.  if (SysProperties.serializeJavaObject) {
>
>             U.warn(log, "Serialization of Java objects in H2 was enabled.");
>
>             SysProperties.serializeJavaObject = false;
>         }
>
>         if (Utils.serializer != null)
>
>             U.warn(log, "Custom H2 serialization is already configured, will override.");
>
>         Utils.serializer = h2Serializer();
> Is there any way to solve it? I am looking forward to your replay.Thank
> you.




-- 

Best regards,
Alexei Scherbakov

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message