1 Reply Latest reply on Dec 29, 2002 7:44 AM by wpfeiffe

    How the Table is getting created automatically

      Hi,

      For the examples of Ch4, the table got created automatically when i executed the Examples. Where we provided the info for creating a table ??

      How to view the Data base details of the Hypersonic Database that comes with JBoss..

      Thanks in Advance..
      -Sateesh

        • 1. Re: How the Table is getting created automatically
          wpfeiffe

          By default the HyperSQL database is being used. This is dictated by the element in the standardjbosscmp-jdbc.xml file in the 'servers/default/conf' dir. There is a sub-element to called <create-table> which dictates that tables get created for Entity Beans at deployment time. Note also the <delete-table> which you almost always want to be false. I think that the table structure is dictated by the EB fields in the Bean class.

          I am using SQuirreL SQL to view the Hypersonic tables. You can get it at http://squirrel-sql.sourceforge.net/