title: How to know underlying database name from hibernate provider
body: <p>I am using hibernate 3.x with Jboss.
  Currently we support multiple databases.</p>
  
  <p>Now in runtime, how can I know the underlying database information ? at least name or database-dialect? (e.g. MySQL, Derby, Oracle, etc)?</p>
  
  <p>Can any one suggests any way to find this information?
  I thought hibernate SessionFactory class will provide such api - but it is not?</p>
  
  <p>Thanks in advance, </p>