Examples of afterDeserialise()


Examples of org.hibernate.search.query.engine.spi.HSQuery.afterDeserialise()

    int size = extractResultSize( hsQuery );

    assertEquals( "Should have found a match", 1, size );

    HSQuery hsQueryDuplicate = (HSQuery) SerializationTestHelper.duplicateBySerialization( hsQuery );
    hsQueryDuplicate.afterDeserialise( searchFactory );
    int sizeOfDuplicate = extractResultSize( hsQueryDuplicate );

    assertEquals( "Should have found a match", 1, sizeOfDuplicate );
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.