HI NJ,If you have the right jars in the classpath, you should not have issues using the <serializer>. What are issues you are facing? If you don't configure (@Customizer(GridCacheCustomizer.class), then L2 caching will be disabled. You can also use @CacheInterceptor(value = CoherenceInterceptor.class)
Thanks for the reply.The jars you mentioned are already on my classpath.when i removed the annotation(@Customizer(GridCacheCustomizer.class)) in the entity class,the data is inserting in to the database.when i used this annotation,I am getting the above error.one more thing,i am getting error at the <serializer> element in the coherence-cache-config.xml.
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
Configure a wrapper serializer to support serialization of relationships.
Backing map scheme with no eviction policy.
894112 wrote:Hope this helps!
I am getting error in the serializer element in coherence-cache-config.xml.It is saying that *"The content of Element type "serializer" must match (instance) "*.Even i tried by putting @CacheInterceptor(value = CoherenceInterceptor.class) in the entity class.Still facing the error in the serializer element.Is it mandatory to have serializer element in the caherence-cache-config.xml?