title: Netbeans creating "JPA Controller classes from entity classes"
body: <p>I want to achieve basic CRUD operations available of the db schema I already have for a JAVA program. To put it in another way, I have a DB schema I use with PHP and I just need them to be entities available in a JAVA application. I discovered I can use Netbeans and sucessfully created Entities from DB!</p>
  
  <p>(Entities look like this: <a href="http://pastebin.com/f601b9218" rel="nofollow noreferrer">http://pastebin.com/f601b9218</a>)</p>
  
  <p>However when I try to create New > JPA controllers from entity classes in Netbeans I got empty JPA controller classes like:</p>
  
  <pre><code>package javaapplication3;
  public class CustomerJpaController {
  }
  </code></pre>
  
  <p>It is empty :) I was expecting CRUD functions inside the generated JPA controller classes as I read from examples and tutorials.
  What could be the reason of empty JPA controller classes? Is there any other easy way for me to "just" match DB tables with JAVA classes for basic CRUD operation. (I wish there could be easy way to achieve active record pattern)</p>
  
  <p>Thanks in advance.</p>