altoo-ag / akka-kryo-serialization

Kryo-based serialization for Akka
Apache License 2.0
241 stars 73 forks source link

Hibernate proxy problem #250

Closed Emmenemoi closed 1 year ago

Emmenemoi commented 3 years ago

It's nearly impossible to solve Hibernate proxy (or any similar java proxy) compatibility without access to a custom class resolver.

Could you add a possibility to setup a custom classresolver? Either with fully qualified class name in akka conf or through Kryo initializer?

nvollmar commented 3 years ago

This would have to be done by a FQCN in the config since Kryo requires the class resolver to be instantiated.

If you'd be willing to create a pull request we will take that into careful consideration.