How to check for case sensitive in hibernate criteria
        Posted  
        
            by dhiraj
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by dhiraj
        
        
        
        Published on 2010-04-29T07:21:51Z
        Indexed on 
            2010/04/29
            7:27 UTC
        
        
        Read the original article
        Hit count: 322
        
hibernate
0 vote down star
I have used hibernate to fetch the login information from the mysql database. But the problem is that say for example the user name is 'dhiraj' in the database, now the login is successful by entering the user name, but it is also allowing to enter by taking the user name in uppercase also, e.g., 'DHIRAJ'. I want to restrict it to as it in the database. Can you tell me how to achieve that in hibernate?
© Stack Overflow or respective owner