-->
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: LDAP again. CustomType / UserType ???
PostPosted: Thu Dec 11, 2003 2:25 am 
Regular
Regular

Joined: Fri Sep 12, 2003 12:40 pm
Posts: 65
If I'm interested in using LDAP to manage users and groups, can someone provide a hint into Gavin's comments about using a UserType or CustomType?

From the javadoc, we have:

Code:
Object    nullSafeGet(ResultSet rs, String[] names, Object owner)
          Retrieve an instance of the mapped class from a JDBC resultset.
void    nullSafeSet(PreparedStatement st, Object value, int index)
          Write an instance of the mapped class to a prepared statement.


There are link tables (many-to-many) where I envision using the uid field of the inetOrgPerson in my schema.

Does anyone have thoughts on this? I'm only interested in a specific field. I'll do lookups in the directory to get other attributes.

I'm unclear on how the UserType would be used in HQL and other circumstances.

Thanks,

_________________
- Brian


Top
 Profile  
 
 Post subject: Please see this post in Beginners area
PostPosted: Thu Dec 11, 2003 2:12 pm 
Regular
Regular

Joined: Fri Sep 12, 2003 12:40 pm
Posts: 65
http://forum.hibernate.org/viewtopic.php?t=926308

_________________
- Brian


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.