-->
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: Xdoclet @hibernate.generator-param bug ?
PostPosted: Tue Sep 02, 2003 3:23 pm 
Newbie

Joined: Tue Sep 02, 2003 3:14 pm
Posts: 11
Hi, i am using xdoclet-1.2b4 and i cant make this tag to work correctly, a google search revealed that i am not the only one who have this issue but i have yet to see a working solution.

Basically i have :

* @hibernate.id generator-class="sequence" unsaved-value="null"
* @hibernate.generator-param name="sequence" value="mypk_sequence"

And Xdoclet output :

<id
name="id"
column="id"
type="java.lang.Long"
unsaved-value="null"
>
<generator class="sequence">
<param>mypk_sequence</param>
</generator>
</id>

It looks like a lot what Gavin suggested in this topic:
http://sourceforge.net/forum/message.php?msg_id=1957202

but it really does not work, at least for me.

If someone has an idea of what is going on, i am all listening.
Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 02, 2003 4:08 pm 
Newbie

Joined: Tue Sep 02, 2003 3:14 pm
Posts: 11
-> http://www.hibernate.org/72.html

Quote:
Note: Add <hibernate version="2.0"/> to your Ant build if you're using the latest XDoclet and like to generate a Hibernate 2.0 conform mapping. You will get strange errors otherwise (Hibernate 1.x mappings don't work well with Hibernate2).


I swear this note was not there few days ago because i dont see how i could miss it :p


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.