List of usage examples for org.hibernate.cache.spi.entry CacheEntry getSubclass
String getSubclass();
From source file:com.hazelcast.hibernate.serialization.Hibernate42CacheEntrySerializer.java
License:Open Source License
private static void writeDisassembled(ObjectDataOutput out, CacheEntry object) throws IOException { Serializable[] disassembledState = object.getDisassembledState(); out.writeInt(disassembledState.length); for (Serializable state : disassembledState) { out.writeObject(state);//from www. j a v a2s. com } out.writeUTF(object.getSubclass()); out.writeBoolean(object.areLazyPropertiesUnfetched()); out.writeObject(object.getVersion()); }
From source file:com.hazelcast.hibernate.serialization.Hibernate51CacheEntrySerializer.java
License:Open Source License
private static void writeDisassembled(final ObjectDataOutput out, final CacheEntry object) throws IOException { Serializable[] disassembledState = object.getDisassembledState(); out.writeInt(disassembledState.length); for (Serializable state : disassembledState) { out.writeObject(state);/*from w w w . jav a2 s . c om*/ } out.writeUTF(object.getSubclass()); out.writeObject(object.getVersion()); }
From source file:com.hazelcast.hibernate.serialization.Hibernate5CacheEntrySerializer.java
License:Open Source License
private static void writeDisassembled(final ObjectDataOutput out, final CacheEntry object) throws IOException { Serializable[] disassembledState = object.getDisassembledState(); out.writeInt(disassembledState.length); for (Serializable state : disassembledState) { out.writeObject(state);/*from w w w.j a va 2s. c o m*/ } out.writeUTF(object.getSubclass()); out.writeBoolean(object.areLazyPropertiesUnfetched()); out.writeObject(object.getVersion()); }