Home » Search

About DAO

11-20 of 45Refresh
Issue
4

Exception on the recovery of a database

.objectdb.jpa.EMF.createEntityManager(EMF.java:173) at rbccm.felix.gridservice.admin.dao.ConnectionManagerFactory.createEntityManager(Unknown Source) at rbccm.felix.gridservice.admin.dao.HistoryArchiver.populateArchive(Unknown Source) at rbccm.felix.gridservice.admin.dao.HistoryArchiver.moveHistory
Forum
4

Listing large number of complicated objects with paging.

.578 [http-bio-8080-exec-3] DEBUG pl.hplxtool.dao.impl.ProductDAOImpl - Query: [select prod from Product prod order by prod.id ASC] 2011-11-15 19:30:59.578 [http-bio-8080-exec-3] DEBUG pl.hplxtool.dao ... .hplxtool.dao.impl.ProductDAOImpl - Start: 250, count: 50 2011-11-15 19:31:03.219 [http-bio-8080-exec-3
Forum
4

Activation Issue

(SharedEntityManagerCreator.java:240) at $Proxy37.find(Unknown Source) at com.googlecode.genericdao.dao.jpa.JPABaseDAO._persistOrMerge(JPABaseDAO.java:263) at com.googlecode.genericdao.dao.jpa.GenericDAOImpl.save(GenericDAOImpl.java:113) at com.contextspace.dao.impl.BaseDAOImpl.create(BaseDAOImpl.java
Forum
4

best practice for DB recovery

have two(or more) entity managers in my DAO layer and write all changes to both instances(may have IDs ... instance, restart the failed instance and then enable writes again(that will be controlled in the DAO ... . See also a previous forum thread that discussed this. You may implement your own solution in your DAO layer
Issue
4

Querying error - java.lang.ClassCastException: com.objectdb.o.STV

(JpaQuery.java:566) at rbccm.felix.gridservice.admin.dao.SimpleWorkflowInstanceDao.pagedQuery(Unknown Source) at rbccm.felix.gridservice.admin.dao.SimpleWorkflowInstanceDao.query(Unknown Source ... .gridservice.admin.dao.SimpleWorkflowInstanceDao.pagedQuery(Unknown Source) at rbccm.felix.gridservice.admin
Issue
3

Can't open replicated database

.felix.gridservice.admin.dao.ConnectionManagerFactory.createEntityManager(Unknown Source) at rbccm.felix.gridservice.admin.dao.SimpleWorkflowInstanceQueryDao.queryInstance(Unknown Source) at rbccm.felix.gridservice.admin.dao.SimpleWorkflowInstanceQueryDao.queryComplete(Unknown Source) at rbccm.felix
Forum
3

Entity Type is not found (error 301) in Query

dao, UpdateMap update) throws Exception {     List list = null;     HashMap) dao.query(             "select u from " + User.class ... ());          map.put("email", m.getString());          list = (List) dao.query
Issue
3

Negative snapshot user count

(JpaQuery.java:684) at rbccm.felix.gridservice.admin.dao.HistoryArchiver.moveHistory(Unknown Source) at rbccm.felix.gridservice.admin.dao.HistoryArchiver.access$400(Unknown Source) at rbccm.felix.gridservice.admin.dao.HistoryArchiver$1.run(Unknown Source) at java.lang.Thread.run(Thread.java:595
Forum
3

PersistenceException UserException: Failed to validate persistence.xml

(Persistence.java:186) at net.heatboxes.dao.DaoService.(DaoService.java:42) at net.heatboxes.dao ... .Provider net.heatboxes.dao.entity.UserEntity
Forum
2

Apparent Lazy Loading issues.

to have CascadeType.ALL. The test created the AttributeNames via the dao prior to trying to persist. The list ... case. Please don't use a Spring based test case with DAO objects etc. instead of the required simple test case (as demonstrated in issue #118). pedwards