JPA 2.1 entity mappings not recognized

Hi ,

I am currently switching an important project from Java EE 6 to Java EE 7 and I got a named-queries.xml file with the following at the top:

<entity-mappings xmlns="http://xmlns.jcp.org/xml/ns/persistence/orm"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence/orm http://xmlns.jcp.org/xml/ns/persistence/orm_2_1.xsd"
                 version="2.1">


This results in many many errors on almost every query.

I remember that a ticket has already been posted:

https://youtrack.jetbrains.com/issue/IDEA-121059

WHEN WILL THIS BE FIXED? I need full Java EE support. Currently I can only revert to Eclipse as long as IntelliJ has this issue. Please fix.

:_| :(

Karsten

6
Avatar
Permanently deleted user

I keep getting this in my projects as well, it's pretty annoying. Has this made any progress two years on?

2
Avatar
Permanently deleted user

Currently a problem for us too.

0
Avatar
Permanently deleted user

Same here. Very annoying problem. 

0

请先登录再写评论。