Hi,

Could OpenJPA (3.1.2) work without any ORM files and persistence.xml while
an implementation does not use the annotation feature at all?

More over after a (very) quick investigation on my trouble and looking at:

https://github.com/apache/openjpa/blob/master/openjpa-lib/src/main/java/org/apache/openjpa/lib/xml/XMLFactory.java

and

https://github.com/apache/openjpa/blob/master/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/XMLMetaDataParser.java

Line 91:
    private boolean _validating = true;

Line 383:
        boolean validating = _validating && (getDocType() != null
            || schemaSource != null);

Line 408:
                parser = XMLFactory.getSAXParser(validating, true);

May be I am on the wrong way...

Still got the trouble for a while today :-(

Thanks!





--
Sent from: http://openjpa.208410.n2.nabble.com/OpenJPA-Users-f208411.html

Reply via email to