Skip to content

Instantly share code, notes, and snippets.

@gdenning
gdenning / CustomerDaoImpl.java
Created February 29, 2012 22:58
How to configure OpenJPA using Spring 3 with Annotation-Based Transactions
package com.sample.dao.impl
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.Query;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;