File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
OpenJPA _ findByExample with Like and Case Insensitive
Joined: Dec 07, 2006
Jan 23, 2013 12:30:52
I am querying a database using OpenJPA and passing in an object as the SQL where,
I am using this code to create the query
CriteriaQuery<Employee> q = cb.createQuery(Employee.class);
Employee example = new Employee();
But how can I to do a LIKE and a case Insensitive query on this query?
Thanks in Advance,
I agree. Here's the link:
subject: OpenJPA _ findByExample with Like and Case Insensitive
persistence.xml file for MS SQL Server 2000
About Named Queries
J2EE - Entity & Entity Listeners usage
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015