Home » Search

About DAO

21-30 of 45Refresh
Forum
2

createQuery method error

Hello, I am learning ObjectDB now. I create a simple Dao method as below:   public boolean isJobExist(String name) { TypedQuery query = em.createQuery( "SELECT count(j) FROM ... \java\com\xxxx\ xxxx \xxxx\dao\JobDao.java:75: createQuery(java.lang.String) in javax.persistence
Forum
2

EntityManager JPA or JDO impl and different behavior

to have CascadeType.ALL. The test created the AttributeNames via the dao prior to trying to persist ... for the key - if it is sufficient to demonstrate the problem, no DAO, Spring, etc.). Please follow
Issue
2

Feature Request: Subclassed PersistenceException for Type Not Found in DB Schema

.summaryframework.entities.daos.SummaryArchiveDAO:206 -> Query failed due to TEX: Type ... .daos.SummaryArchiveDAO:204 com.adheris.cap.loggingservices.AbstractHLogService:74 One of the methods
Issue
2

InternalException using 2.3.7_12

) at $Proxy56.getSingleResult(Unknown Source) at com.contextspace.dao.party.impl.EntitlementDAOImpl ... (JdkDynamicAopProxy.java:196) at $Proxy21.GetEntitlementForRole(Unknown Source) at com.contextspace.dao
Forum
2

Potential ObjectDB bug

.jpa.JpaQuery.getSingleResult(JpaQuery.java:757) [objectdb.jar:] at com.example.dao.TvrtkaDAO ... .dao.TvrtkaDAO.getVlasnikAplikacije(TvrtkaDAO.java:57) [classes:] at com.example.clara1.Clara1UI.init
Issue
2

Server out of memory exceptions

) at rbccm.felix.gridservice.admin.dao.SimpleWorkflowInstanceDao.saveWorkflow(Unknown Source) at rbccm.felix.gridservice.admin.dao.SimpleWorkflowInstanceDao.SaveWorkflow(Unknown Source) at rbccm
Forum
2

Suspected memleak caused by bad state of EntityManager

.rollback(EMImpl.java:295) ~[EMImpl.class:na] at com.app.dao.impl.ObjectdbExpeditionDAO ... .objectdb.jpa.EMImpl.clear(EMImpl.java:414) ~[EMImpl.class:na]         at com.app.dao.impl
Forum
2

"Problem" with cross join

At first, this is my first JPA Projekt - and the code should work with Hibernate and JPA, using the specifc DAOs. Following query string returns no result using ObjectDB - using Hibernate, or EclipseLink this query works fine. select distinct c from CI c, CIstring s where c.name like :SSTR or (c.id
Forum
2

can't get HashMap out of the database

(fetch=FetchType.EAGER). Outside the DAO method only fields that have already been loaded are available
Forum
2

Changes in detach behaviour?

have a Spring DAO. It does the following: I call for example getUserByName("blub). Spring creates