-->
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: Configurable TypeFactory
PostPosted: Thu Oct 07, 2004 7:13 pm 
Newbie

Joined: Thu Oct 07, 2004 12:15 pm
Posts: 2
I'm wondering if it's possible to augment the static type configuration in TypeFactory.BASIC_TYPES.


So far everything I've found about using a UserType requires information about which properties use it in the mapping with <property type="MyUserType" .../> and also on any associated query parameters with something like Hibernate.custom(MyUserType.class).

What I think I'd like to be able to do is register a custom type handler (i.e. UserType) for my associated custom type (in a similar way to the static registration in TypeFactory).

From what I can see in TypeFactory.heuristicType it looks like it should be possible to add such a feature but it doesn't appear to be there at the moment.

Thanks for any info.

Cheers,
Derek


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 10, 2004 1:36 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
You can file a feature request on JIRA - and please be more precise about what you want to register and how the registration should be done.


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.