java Programming Glossary: uuids
Hibernate Criteria API - adding a criterion: string should be in collection http://stackoverflow.com/questions/2735071/hibernate-criteria-api-adding-a-criterion-string-should-be-in-collection object @Entity public class Foobar ... private List String uuids ... Now I'd like to make a criteria query which would fetch.. a criteria query which would fetch all Foobar pojos whose uuids list contains the string abc123 I'm just not sure how to make.. work with any compliant implementation. Please annotate uuids with JPA's @ElementCollection annotation. Don't use Hibernate's..
|