You need to specify --createtables=true in asadmin deploy command. Do a
google search for "java2db" "glassfish" "jpa", you shall get some good
answers.
glassfish_at_javadesktop.org wrote:
> I've created a new project, made some JPA entities, configured the JPU but upon deploying, the tables weren't created. I know the database connection is working. Where else could be the mistake?
>
> Thanks
> [Message sent by forum member 'el_w']
>
> http://forums.java.net/jive/thread.jspa?messageID=396282
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>