Examples of OrmXmlParser


Examples of org.hibernate.metamodel.source.annotations.xml.OrmXmlParser

      indexClass( indexer, packageName.replace( '.', '/' ) + "/package-info.class" );
    }
    Index index = indexer.complete();

    // process the xml configuration
    final OrmXmlParser ormParser = new OrmXmlParser( this );
    List<JaxbRoot<XMLEntityMappings>> mappings = new ArrayList<JaxbRoot<XMLEntityMappings>>();
    for ( JaxbRoot<?> root : metadataSources.getJaxbRootList() ) {
      if ( root.getRoot() instanceof XMLEntityMappings ) {
        mappings.add( (JaxbRoot<XMLEntityMappings>) root );
      }
    }
    index = ormParser.parseAndUpdateIndex( mappings, index );

    // create the annotation binder and pass it the final annotation index
    final AnnotationBinder annotationBinder = new AnnotationBinder( this );
    annotationBinder.bindGlobalAnnotations( index );
    annotationBinder.bindMappedClasses( index );
View Full Code Here

Examples of org.hibernate.metamodel.source.annotations.xml.OrmXmlParser

        mappings.add( (JaxbRoot<XMLEntityMappings>) root );
      }
    }
    if ( !mappings.isEmpty() ) {
      // process the xml configuration
      final OrmXmlParser ormParser = new OrmXmlParser( metadata );
      index = ormParser.parseAndUpdateIndex( mappings, index );
    }

        if( index.getAnnotations( PseudoJpaDotNames.DEFAULT_DELIMITED_IDENTIFIERS ) != null ) {
            metadata.setGloballyQuotedIdentifiers( true );
        }
View Full Code Here

Examples of org.hibernate.metamodel.source.annotations.xml.OrmXmlParser

        mappings.add( (JaxbRoot<XMLEntityMappings>) root );
      }
    }
    if ( !mappings.isEmpty() ) {
      // process the xml configuration
      final OrmXmlParser ormParser = new OrmXmlParser( metadata );
      index = ormParser.parseAndUpdateIndex( mappings, index );
    }
  }
View Full Code Here

Examples of org.hibernate.metamodel.source.annotations.xml.OrmXmlParser

        mappings.add( (JaxbRoot<XMLEntityMappings>) root );
      }
    }
    if ( !mappings.isEmpty() ) {
      // process the xml configuration
      final OrmXmlParser ormParser = new OrmXmlParser( metadata );
      index = ormParser.parseAndUpdateIndex( mappings, index );
    }
  }
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.