Two Laptop Bag
The moose likes Object Relational Mapping and the fly likes hbm2ddl ant task + Oracle11g XE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "hbm2ddl ant task + Oracle11g XE" Watch "hbm2ddl ant task + Oracle11g XE" New topic

hbm2ddl ant task + Oracle11g XE

Danny Talboom

Joined: Dec 02, 2009
Posts: 1

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 :
I agree. Here's the link:
subject: hbm2ddl ant task + Oracle11g XE
It's not a secret anymore!