Class LocalXsdResolver


  • public class LocalXsdResolver
    extends Object
    When Hibernate loads an XSD we fully expect that to be resolved from our jar file via ClassLoader resource look-up. This class simplifies the steps needed to achieve those goals explicitly using its own ClassLoader for the look-ups.
    • Constructor Detail

      • LocalXsdResolver

        public LocalXsdResolver()
    • Method Detail

      • latestJpaVerison

        public static String latestJpaVerison()
      • isValidJpaVersion

        public static boolean isValidJpaVersion​(String version)
      • resolveLocalXsdUrl

        public static URL resolveLocalXsdUrl​(String resourceName)
      • resolveLocalXsdSchema

        public static Schema resolveLocalXsdSchema​(String schemaResourceName)