[jboss-user] [JBoss Seam] - Re: EntityManager is Null inside Constructor
saeediqbal1
do-not-reply at jboss.com
Fri Feb 1 09:11:28 EST 2008
| @PersistenceContext
| private EntityManager entityManager;
| private List<CorpCustomers> existingData;
| public void fillExistingData()
| {
| existingData = entityManager.createQuery("select c from CorpCustomers c where c.context = :con") .setParameter("con", "_574555XXXX") .getResultList();
| }
|
|
and in the constructor i am trying to call this fillExistingData() method
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125527#4125527
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125527
More information about the jboss-user
mailing list