users@glassfish.java.net

Re: local transactions (RESOURCE_LOCAL) and automatic table creation in GF 3

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Wed, 14 Apr 2010 10:28:58 -0700

If you are using container transactions, your PU is a JTA type. That
said, I'm not sure why tables aren't created...

-marina

glassfish_at_javadesktop.org wrote:
> Hi,
>
> The file persistence.xml is missing
>
> <exclude-unlisted-classes>false</exclude-unlisted-classes> below non-jta-data-source tag.
>
>
> Any way, despite drop-and-create-tables property, when I deploy application no tables are created. If i change to JTA transaction-type at persistence.xml then tables are created as expected.
>
> I can't understand why tables aren't created when RESOURCE_LOCAL transaction type is used.
>
> Leandro
> [Message sent by forum member 'leandro_komosinski']
>
> http://forums.java.net/jive/thread.jspa?messageID=396907
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>