Announcement Announcement Module
Collapse
No announcement yet.
Ldap/Java type conversions Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ldap/Java type conversions

    Hi,

    It seems LdapTemplate operations are NOT doing any automatic type conversion from java type to ldap types and vice-versa.
    For example if I use
    Code:
    DirContextOperations.setAttributeValues("key", new Boolean(true))
    I was expecting the framework to convert the Boolean true value to String "TRUE" in the operation, but it doesn't seem so. Is there anyway to get type conversion working with Spring Ldap?
    Is the client code expected to convert the value to correct String type before doing a LdapOperation? can org.springframework.ldap.odm.typeconversion.impl be used?
Working...
X