Re: Design and Source view of persistence.xml don't match

2019-07-19 Thread Geertjan Wielenga
Yes: https://issues.apache.org/jira/browse/NETBEANS-2848

Gj

On Fri, Jul 19, 2019 at 2:31 PM Richard Grin 
wrote:

> Hi,
>
> I continue to test NetBeans 11.1 beta 4 and report potential bugs (is it
> the right place to do it?)
>
> Web project with Payara 5.192.
>
> Just after having created a Web project with Maven, if I display
> persistence.xml, the 2 views, Source and Design, don't match (for example
> the version of JPA or the JDBC connection). Do you have the same problem?
>
> I join an image of the Design view and here it is the source:
>
> 
>  "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_2.xsd";
> 
> >
> 
> 
>
> 
> 
>
> Another (small and not important) problem: in the design view it is not
> possible to check "Include All Entity Classes...", even after having added
> entity classes coming from the wizard "Add Entities from database".
>
> In another project, I have added
> jdbc/sample inside the persistence unit
> and nothing have appeared in the Design view. The design view seems
> unstable: sometimes good, sometimes not good. However it is not a blocker
> because it is always possible to use the source view.
>
> Richard
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Design and Source view of persistence.xml don't match

2019-07-19 Thread Richard Grin
Hi,

I continue to test NetBeans 11.1 beta 4 and report potential bugs (is it the 
right place to do it?)

Web project with Payara 5.192.

Just after having created a Web project with Maven, if I display 
persistence.xml, the 2 views, Source and Design, don't match (for example the 
version of JPA or the JDBC connection). Do you have the same problem?

I join an image of the Design view and here it is the source:


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_2.xsd";>






Another (small and not important) problem: in the design view it is not 
possible to check "Include All Entity Classes...", even after having added 
entity classes coming from the wizard "Add Entities from database".

In another project, I have added jdbc/sample 
inside the persistence unit and nothing have appeared in the Design view. The 
design view seems unstable: sometimes good, sometimes not good. However it is 
not a blocker because it is always possible to use the source view.

Richard

-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists