Currently the only persistence mechanism supported is protobuf. You could probably save a protobuf blob to redis, if that's what you're looking for.
On 06/26/2017 08:16 AM, Ajit Soman wrote: > Is there is any way to save bitcoin wallet object in database. I have > tried to save wallet object in redis database. i got this exception: > > > | > org.redisson.client.RedisException:Unexpectedexception whileprocessing > command > at > org.redisson.command.CommandAsyncService.convertException(CommandAsyncService.java:321) > at > org.redisson.command.CommandAsyncService.get(CommandAsyncService.java:164) > at org.redisson.RedissonObject.get(RedissonObject.java:70) > at org.redisson.RedissonMap.put(RedissonMap.java:197) > at com.examples.redis.RedissonedBitcoin.main(RedissonedBitcoin.java:27) > at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282) > at java.lang.Thread.run(Thread.java:748) > Causedby:com.fasterxml.jackson.databind.JsonMappingException:Infiniterecursion > (StackOverflowError)(through reference > chain:org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Params["genesisBlock"]->org.bitcoinj.core.Block["params"]->org.bitcoinj.params.TestNet3Para > | > > -- > You received this message because you are subscribed to the Google > Groups "bitcoinj" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to bitcoinj+unsubscr...@googlegroups.com > <mailto:bitcoinj+unsubscr...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "bitcoinj" group. To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.