Re: NetBeans Platform CreateReadUpdateDelete Tutorial

geertjan wielenga <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Organization Oracle Corporation
Message-ID <[email protected]>
Here's what I see in the Output window:

javax.persistence.PersistenceException: No Persistence provider for 
EntityManager named CustomerLibraryPU

And when I look at your persistence.xml file, I see that the entity 
manager is named "CutomerLibraryPU".

So, there is a typo -- and when I change line 53 in your 
CustomerViewerTopComponent to this, everything works fine:

        EntityManager entityManager = 
Persistence.createEntityManagerFactory("CutomerLibraryPU").createEntityManager();

Gj

On 12-4-2016 10:50, ric.evans wrote:
> As requested here is the link
>
> https://github.com/ric80231/NetBeans-Platform-CRUD.git
>
> If there are any problems please let me know. I have not done this before so I have quite possibly made a mistake.
>
>         Ciao Ric
>
> P.S. I am not receiving notifications when somebody replies, even though it is switched on.
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.