• Post Reply Bookmark Topic Watch Topic
  • New Topic

DataSource with Hibernate

Ricardo Lecheta
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to configure Hibernate to use a datasource in WebSphere Application Server 5, then in hibernate.cfg.xml I put the following configuration;
<session-factory >
<property name="dialect">net.sf.hibernate.dialect.OracleDialect</property>
<property name="connection.datasource">jdbc/oradevel</property>
but this doesn't works,
is there more one configuration to do?
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!