users@glassfish.java.net

Searching the database

From: <glassfish_at_javadesktop.org>
Date: Thu, 03 May 2007 09:52:59 PDT

Is there any quick way to perform a search on the database other than writing queries. I know find method with entitymanager, but it only works with primarykey. Is it possible to get multiple results based on some loose search? Say a string that searches all columns of type text or a date that searches all columns of type date?
[Message sent by forum member 'ketancmaheshwari' (ketancmaheshwari)]

http://forums.java.net/jive/thread.jspa?messageID=215386