[
https://issues.apache.org/jira/browse/OPENJPA-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16799463#comment-16799463
]
Maxim Solodovnik commented on OPENJPA-2781:
-------------------------------------------
In our project we have
{code}
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
version="2.0">
and openjpa 3.0.0/3.0.1-SNAPSHOT
{code}
Maybe you have your project available online?
Or maybe you can create sort of quick-start?
> OpenJPA need internet connection to read the persistence.xml
> ------------------------------------------------------------
>
> Key: OPENJPA-2781
> URL: https://issues.apache.org/jira/browse/OPENJPA-2781
> Project: OpenJPA
> Issue Type: Bug
> Components: jpa
> Environment: - Ubuntu 18
> - Java 8
> Reporter: Rafael Macedo
> Assignee: Maxim Solodovnik
> Priority: Critical
>
> OpenJPA requires internet connection to understand correctly the namespaces
> in the persistence.xml.
> It happens even if the schema location is a file inside the project.
> A lot of tests were done and none of them worked without connecting to the
> internet.
> I don't know if it is a bug or if this is the expected behavior.
> Why does it happen? Please, give any feedback about it.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)