title: Running hibernate tool annotation generation without the "catalog" attribute
body: <p>when i run my hibernate tools
  it reads from the db and create java classes for each tables,
  and a java class for composite primary keys.
  that's great.</p>
  
  <p>the problem is this line</p>
  
  <pre><code>@Table(name="tst_feature"
      ,catalog="tstdb"
  )
  </code></pre>
  
  <p>while the table name is required, the "catalog" attribute is not required.
  sometimes i want to use "tstdb", sometimes i want to use "tstdev"</p>
  
  <p>i thought which db was chosen depends on the jdbc connection url
  but when i change the jdbc url to point to "tstdev", it is still using "tstdb"</p>
  
  <p>so,
  i know what must be done,
  just don't know how its is done
  my options are</p>
  
  <ul>
  <li>suppress the generation of the "catalog" attribute
  currently i'm doing this manually (not very productive)
  or i could write a program that parses the java file and remove the attribute manually
  but i'm hoping i don't have to</li>
  </ul>
  
  <p>OR</p>
  
  <ul>
  <li>find a way to tell hibernate to ignore the "catalog" attribute and use the schema that is explicitly specified.
  i don't know the exact setting i have to change to achive this, or even if the option is available.</li>
  </ul>