Examples of ProvidedId


Examples of org.hibernate.search.annotations.ProvidedId

  protected void init(XClass clazz, ConfigContext context) {
    super.init( clazz, context );

    // special case @ProvidedId
    ProvidedId provided = findProvidedId( clazz, reflectionManager );
    if ( provided != null ) {
      idBridge = BridgeFactory.extractTwoWayType( provided.bridge() );
      idKeywordName = provided.name();
    }

    if ( idKeywordName == null ) {
      throw new SearchException( "No document id in: " + clazz.getName() );
    }
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.