1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.mobility.database.dao;
17
18 import javax.persistence.EntityManager;
19 import javax.persistence.NoResultException;
20 import javax.persistence.PersistenceContext;
21 import javax.persistence.Query;
22
23 import org.springframework.stereotype.Repository;
24
25 @Repository
26 public class DatabaseDaoImpl implements DatabaseDao {
27
28 @PersistenceContext
29 private EntityManager entityManager;
30
31 public EntityManager getEntityManager() {
32 return entityManager;
33 }
34
35 public void setEntityManager(EntityManager entityManager) {
36 this.entityManager = entityManager;
37 }
38
39 }