You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Thiago H. de Paula Figueiredo (JIRA)" <ji...@apache.org> on 2014/06/22 23:57:24 UTC
[jira] [Resolved] (TAP5-2206) support parsing of JPA 2.x
definitions
[ https://issues.apache.org/jira/browse/TAP5-2206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thiago H. de Paula Figueiredo resolved TAP5-2206.
-------------------------------------------------
Resolution: Fixed
Fix Version/s: 5.4
Thanks Andreas for reporting the bug and providing the fix!
> support parsing of JPA 2.x definitions
> --------------------------------------
>
> Key: TAP5-2206
> URL: https://issues.apache.org/jira/browse/TAP5-2206
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-jpa
> Affects Versions: 5.3.7
> Reporter: Andreas Ernst
> Assignee: Thiago H. de Paula Figueiredo
> Priority: Critical
> Labels: month-of-tapestry
> Fix For: 5.4
>
>
> <persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
> </persistence>
> does not work
> <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_1_0.xsd" version="1.0">
> </persistence>
> namespace URI is a constant there and has different value
> https://github.com/apache/tapestry-5/blob/master/tapestry-jpa/src/main/java/org/apache/tapestry5/internal/jpa/PersistenceContentHandler.java#L80
--
This message was sent by Atlassian JIRA
(v6.2#6252)