@Override public boolean isEqual(Object x, Object y, SessionFactoryImplementor factory) { if ( x == y ) return true; if ( x == null || y == null ) return false; if ( x instanceof Byte[] ) { Object[] o1 = (Object[]) x; Object[] o2 = (Object[]) y; return ArrayHelper.isEquals( o1, o2 ); } else { byte[] c1 = (byte[]) x; byte[] c2 = (byte[]) y; return ArrayHelper.isEquals( c1, c2 ); } }
@Override public boolean isEqual(Object x, Object y, SessionFactoryImplementor factory) { if ( x == y ) return true; if ( x == null || y == null ) return false; if ( x instanceof Byte[] ) { Object[] o1 = (Object[]) x; Object[] o2 = (Object[]) y; return ArrayHelper.isEquals( o1, o2 ); } else { byte[] c1 = (byte[]) x; byte[] c2 = (byte[]) y; return ArrayHelper.isEquals( c1, c2 ); } }