how to create tables using persistence.xml (glassfish, oracle xe)https://www.eclipse.org/forums/index.php/mv/msg/191443/607414/#msg_607414
Originally posted by: mateusz.blaz.e-surf.pl

Hi!

I'm quite new to Eclipse in JEE applications, but I've been using Netbeans
for some time. My problem is that I can't make Eclipse create tables
depending on my entities. I would like to have creating database schema
automated as it was in Netbeans. It seems to me, that it's possible in
Eclipse with Dali too.

In the problems box i can see errors:
table JPATest doesn't exist
collumn Id doesn't exist

I have tried running my module on server, publishing it, restarting the
server in order to create this table on my database, but it didn't work..
There are no exceptions in Glassfish logs, I couldn't find any error in
Eclipse log either. It seems just like properties in persistence.xml were
ignored.

I cannot use Generate DDL as I'm using generic platform.

Can you help me please and give any suggestions, what am I doing wrong? Is
there any way I have to force interpreting the persistence.xml configuration
during deploy?