-->
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: Wrong call to super constructor
PostPosted: Wed Mar 28, 2007 9:52 am 
Regular
Regular

Joined: Wed Aug 24, 2005 11:49 am
Posts: 63
I generate pojo's using the hibernate tool from ant.
For just 1 class (out of 300) I get an incorrect constructor.

The constructor calls the constructor of the superclass, but with the arguments in the wrong order.

This is all in the generated code generated with just one invocation of the hbm2java task.

Maybe relevant, the .hbm looks like this (partial)
Code:
<subclass name="com.Scheme">
    <subclass name="com.SchemeSubclass">
    </subclass>
</subclass>


These subclasses don't contain extra properties (don't ask, I didn't create the model)

_________________
Edwin van der Elst
Finalist IT Group


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 28, 2007 11:46 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
please create a minimal testcase and put it in our jira. thanks.

_________________
Max
Don't forget to rate


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.