org.apache.camel.component.jpa
Interface QueryFactory

All Known Implementing Classes:
QueryBuilder

public interface QueryFactory

A Strategy to create a query to search for objects in a database

Version:
$Revision: 303 $

Method Summary
 Query createQuery(EntityManager entityManager)
          Creates a new query to find objects to be processed
 

Method Detail

createQuery

Query createQuery(EntityManager entityManager)
Creates a new query to find objects to be processed

Parameters:
entityManager -
Returns:
the query configured with any parameters etc


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.