saperliu / hibernate-generic-dao

Automatically exported from code.google.com/p/hibernate-generic-dao
0 stars 0 forks source link

UUID #112

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
NOTE: If you have a question rather than a bug report or feature request,
please post at http://groups.google.com/group/java-generic-dao .

What steps will reproduce the problem?
1. add a string UUID value filter on a UUID field
2. Search.addFilterEqual("id", "c0f2369d-82f8-4a30-9f1f-d6cc4451cf27")
3. cannot convert string to UUID

What is the expected output? What do you see instead?
it works just with  Search.addFilterEqual("id", 
UUID.fromString(paramValue.toString("c0f2369d-82f8-4a30-9f1f-d6cc4451cf27")))

i think that should implicitly convert string to uuid

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by rcarloma...@gmail.com on 14 Apr 2014 at 2:03

GoogleCodeExporter commented 9 years ago
Is this relevant anymore?

Original comment by pablit...@gmail.com on 14 Jun 2014 at 6:49