auto generated hibernate-mapping file does not parse...

this cant be a bug, since it fails in both v7 and v8

so, I have a an instance of SQL Server Express 2008 on my machine, db already designed, and I want to build from there out. so I start a new project, add hibernate facet, generate from database schema, lots of magic happens but the hibernate-mapping file doesnt parse, some issue w/ the property tag being in the wrong place or something, just doesnt match w the DTD.

thoughts? isnt that part just supposed to work?

thanks

1 comment
Comment actions Permalink

Hello ceteris,

so, I have a an instance of SQL Server Express 2008 on my machine, db
already designed, and I want to build from there out. so I start a new
project, add hibernate facet, generate from database schema, lots of
magic happens but the hibernate-mapping file doesnt parse, some issue
w/ the property tag being in the wrong place or something, just doesnt
match w the DTD.

thoughts? isnt that part just supposed to work?

thanks


I have checked this with simple example, and it works for me.

I generate Hibernate .hbm.xml mapping, not JPA one.
The resulted mapping structure is something like:

... ... ... ... ... ... ]]>

And it's Ok. What's with your property tag? Where is it wrongly placed?

Alexander.


0

Please sign in to leave a comment.