users@glassfish.java.net

Re: Deploying doesn't generate SQL scripts

From: Sahoo <Sahoo_at_Sun.COM>
Date: Sun, 11 Apr 2010 06:11:26 +0530

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
>
>