Read the rules before posting!
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: Eclipse plugin 3.0 alpha1
Name and version of the database you are using: Oracle
Eclipse Version: 3.1M5
I didn't see this in JIRA, so figure I'd post here first (like the JIRA page says).
When I use the hibernate.cfg.xml Eclipse wizard it generates the following, invalid file. Note the space required before the session-factory declaration and the name attribute. It's easy to fix, but someone should know about it.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factoryname="foo">
<property name="hibernate.connection.username">foo</property>
<property name="hibernate.connection.password">bar</property>
<property name="hibernate.dialect">org.hibernate.dialect.OracleDialect</property>
<property name="hibernate.connection.url">jdbc:oracle:thin:@dev-db01:1521:foo</property>
<property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
</session-factory>
</hibernate-configuration>