I am using Netbeans 7.4 to build my application. And also, I am using embedded java db. Now, I want to generate my JPA entities from my database from my database.
But, when I
rightclick my package -> New -> Entity classes from database
, select my database, Available Tables
is not showing up even a single one of the tables inside ANK
schema.
One more strange thing I noticed is when I connect my db from Netbeans services tab, two schema options appear. First, APP
in bold, second Other schemas
. Schema APP
don't have any tables. The tables are in ANK
schema in Other schemas
.
Can anybody tell me where I could have gone wrong?
I don't even know if I should be using java db, or I should go for pretty appealing h2, HSQL or some matured db like mysql.