users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Wed, 14 Apr 2010 07:21:52 PDT

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