Hibernate.custom(MyUserType.class)



                                                                                       
                                               
                    "Viktor Szathmary"                                                 
                                               
                    <[EMAIL PROTECTED]>                 To:     [EMAIL PROTECTED]      
                       
                    Sent by:                                cc:                        
                                               
                    [EMAIL PROTECTED]       Subject:     [Hibernate] find with 
UserType                               
                    eforge.net                                                         
                                               
                                                                                       
                                               
                                                                                       
                                               
                    29/01/03 06:09 AM                                                  
                                               
                                                                                       
                                               
                                                                                       
                                               




hi,

how is one supposed to do a find() where a parameter is a user type? i
wrote an URLUserType that just maps to a single varchar field (so i tried
Hibernate.STRING as the type), but i cant seem to be able to query these
fields properly (ClassCastException). i can provide more details if
needed, but i'm not even sure if this is supposed to work at all...

thanks,
      viktor
--

  [EMAIL PROTECTED]

--
http://fastmail.fm - Faster than the air-speed velocity of an
                      unladen european swallow


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel




**********************************************************************
Any personal or sensitive information contained in this email and
attachments must be handled in accordance with the Victorian Information
Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988
(Commonwealth), as applicable.

This email, including all attachments, is confidential.  If you are not the
intended recipient, you must not disclose, distribute, copy or use the
information contained in this email or attachments.  Any confidentiality or
privilege is not waived or lost because this email has been sent to you in
error.  If you have received it in error, please let us know by reply
email, delete it from your system and destroy any copies.
**********************************************************************





-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to