-->
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.  [ 3 posts ] 
Author Message
 Post subject: Xdoclet @hibernate.id doesn't use @hibernate.column??
PostPosted: Thu Sep 11, 2003 10:42 am 
Beginner
Beginner

Joined: Thu Aug 28, 2003 3:09 pm
Posts: 39
Location: Brazil
Hi all!

I'm having problems using the latest XDoclet 1.2b4 and I couldn't get code from cvs because of limitations on cvs server.

My problem is with @hibernate.id tag and @hibernate.column.

When I use @hibernate.column in @hibernate.many-to-one it produces the column xml element but when I use it with @hibernate.id, @hibernate.column doesn't generate the column element.

I need the column element because I have to specify its sql-type.

Do you know if this is by design? Or is there something I'm doing wrong??

Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 11, 2003 12:15 pm 
Beginner
Beginner

Joined: Thu Sep 04, 2003 2:50 pm
Posts: 45
Location: US: New York NY
i don't think you can use the @hibernate.column..

you might try

@hibernate.id column="x" type="Hibernate.Type"


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 11, 2003 1:59 pm 
Beginner
Beginner

Joined: Thu Aug 28, 2003 3:09 pm
Posts: 39
Location: Brazil
Hi russell,

Yeap, I can use it like this. but I'd like to use the @hibernate.column to be able to specify the *sql-type*. The hibernate type is being generated correctly.

Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.