[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: A question about Configure Persistence Context with Orac

thomas2008ch do-not-reply at jboss.com
Sat May 10 14:12:00 EDT 2008


Here is an example for using HSQL. But how can I set the username and password?


  | <persistence>
  |   <persistence-unit name="ejb3trail">
  |     <jta-data-source>java:/DefaultDS</jta-data-source>
  |     <properties>
  |       <property name="hibernate.hbm2ddl.auto"
  |                 value="create-drop"/>
  |     </properties>
  |   </persistence-unit>
  | </persistence>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149936#4149936

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149936



More information about the jboss-user mailing list