In the Coherence with TopLink Grid approach, use the Coherence APIs (with caches backed by TopLink) to access the database.