Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

hbm2ddl ant task + Oracle11g XE  RSS feed

Danny Talboom
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm taking my first steps in Hibernate annotations. All was going well, until I configured my ant build file to generate the actual database. It created the right statements (they work in sql developer), but for some reason the hbm2ddl task cannot create the tables. The oracle message is as general as can be, so no luck there either...

This is the output of my ant script :

This oracle error message is generated for the creation of all tables, so I don't think it's related to any major flaws in my annotations.'
Has anyone experienced similar problems with Oracle11g XE?

This is the mapping file

The jars I'm using are :
freemarker 2.3.18
hibernate annotations 3.0beta2
hibernate 4.0.1

The full build.xml

with properties file :
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!