Examples of OriginImpl


Examples of org.hibernate.util.xml.OriginImpl

      try {
        final InputSource inputSource = new InputSource( is );
        XmlDocument xmlDocument = MappingReader.INSTANCE.readMappingDocument(
            cfg.getEntityResolver(),
            inputSource,
            new OriginImpl( "persistence-unit-info", xmlFile )
        );
        Element rootElement = xmlDocument.getDocumentTree().getRootElement();
        if ( rootElement != null && "entity-mappings".equals( rootElement.getName() ) ) {
          Element element = rootElement.element( "package" );
          String defaultPackage = element != null ? element.getTextTrim() : null;
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.