These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: DOM4j XML datainsert Attribures are Not Elements
PostPosted: Tue Nov 15, 2005 9:00 am 
Newbie

Joined: Tue Nov 15, 2005 7:20 am
Posts: 17
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

hibernate 3.1 rc2:

Two tables/two classes linked with a many to one 2 character string as primary key :
As I'm loading a blank DB with XML strings, the process crashes (ClassCastException) all the time. This seems normal since (dom4j 1.6)
Attributes are casted to Elements. An Attribute is not derived nor related to an Element so the ClassCastException
(Dom4jaccessor/ EntityTYPE/ElementWrapper)
it seems that the hibernate 3.1 rc2 code is incomplete or heavily buggy to be very polite.
Is there any progress to be expected ? soon . As is this product is not usable ....

DOM4J entities:

Multiple class type mismatches :

Name and version of the database you are using:

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:

_________________
XML way to go


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 15, 2005 9:09 am 
Newbie

Joined: Tue Nov 15, 2005 7:20 am
Posts: 17
Sorry double defined please use the other entry

_________________
XML way to go


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.