-->
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.  [ 4 posts ] 
Author Message
 Post subject: UserType support in annotations
PostPosted: Tue Feb 22, 2005 5:11 pm 
Newbie

Joined: Tue Feb 22, 2005 5:06 pm
Posts: 5
I'm really enjoying using annotations with Hibernate.

I was wondering if there will be annotation support for custom UserTypes? And, if so, when it will be available.

Thanks.


Top
 Profile  
 
 Post subject: Re: UserType support in annotations
PostPosted: Mon Feb 28, 2005 1:00 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
astreb wrote:
I'm really enjoying using annotations with Hibernate.

Glad to ear you

Quote:
I was wondering if there will be annotation support for custom UserTypes?

Sure it will

Quote:
And, if so, when it will be available.

As fast as I can. I'm currently on the ejb3 edr2 implementation. You may have noticed a @Type in CVS head. If you provide a CompositeUserType contribution, I'll consider it.
Right now UserTypes should work fine (wo params and no composite user type)

_________________
Emmanuel


Top
 Profile  
 
 Post subject: Re: UserType support in annotations
PostPosted: Thu Mar 03, 2005 4:48 am 
Beginner
Beginner

Joined: Mon Dec 15, 2003 5:25 am
Posts: 48
Location: Delhi, India
emmanuel wrote:
Right now UserTypes should work fine (wo params and no composite user type)


How to user UserTypes with annotations?

_________________
Vinod K. Singh


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 04, 2005 3:37 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Code:
@Type(type="my.user.Type") public MyObject getType()

_________________
Emmanuel


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