File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hbm2ddl ant task + Oracle11g XE

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

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 :
ejb3-persistence
freemarker 2.3.18
hibernate annotations 3.0beta2
ojdbc6.jar
slf4j-api-1.6.4
hibernate 4.0.1

The full build.xml



with properties file :
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic