Internal Website Search

51-72 of 72 results

use of Singleton into tomcat

hi all. i would write a class singleton that encapsulate the entitymanagerFACTORY    into it.(the entitymanagerFactory  IS A property of the only instance of class singleton. (the class singleton is not a Ejb !!!!!!!!!). into tomcat it not possible  use ejbs ............. i

@ElementCollection Set is emptied sometimes

are manipulated in this project. Just as an idea, I have attached the class that does that, a @Singleton EJB

Jboss 6 persistence.xml startup error

Hi,  I'm trying to migrate a small EJB 3.1 project from Postgres to ObjectDb to test out feasibility, but I keep getting stuck on setting up the persistence.xml on JBoss 6 AS. Here is my setup: com.objectdb.jpa.Provider and here is the error: 2011-04-04 18:35:23,098 ERROR [org.jboss.kernel

Attempt to begin a new transaction when a transaction is active

in order to persist records.  For example : @ EJB RecordDao recordDao; recordDao.storeRecord

What are the steps of creating small web app?

, JSF, JSP, EJB , JMS, JPA, JDBC,Security, Ajax using Primefaces. # Backend technologies: MYSQL

Does ObjectDB create one instance of each entity class on (web app) load ?

a (mostly) LAZY-only fetch policy across the system. Most of my EJB methods for querying are configurable

Problem with distinct select, order by and equivalent alias/attribute path

get the same error still. It is a Java EE 7 project running in wildfly 9 using JPA and JTA ( EJB 3.1

Query can't see recently persisted object

When using container managed transactions ( EJB ) in Payara 4.1.3 with ObjectDB embedded, ObjectDB does not appear to present a read consistent view of persisted objects within the same transaction. e.g. in the following code the NoResultException is correctly thrown on the first occasion

JRebel integration feature

a lot of frustration, enabling me to develop JSF backing beans and parts of EJBs (such as queries

disabling JDO in objectdb embedded mode

/applications/metamodel-ear-1.0-SNAPSHOT/lib/metamodel- ejb -1.0-SNAPSHOT.jar] doneCalled = false Parent

UserException - Object User#2 belongs to another EntityManager

occurred while executing [@PostConstruct.] javax. ejb .EJBException: The bean encountered a non-application

Error in reading Enum in JPA - Failed to read using reflection

I have created a very simple Entity User which has an enum Status (INACTIVE, ACTIVE). When an entity User is created, everything looks OK and I have seen on explorer that User is created as expected with valid values of Status. This is all done with JPA/ EJBs . However, at the time of reading

Web Framework Recommendation for leveraging JPA + ObjectDB

server (JBoss / GlassFish) with servers, JSPs, JSF and EJB . Spring MVC Framework

Help with JPA2 Criteria and conditional operator grouping

around the 'or'. Hence, my logic conditions is failing. The same EJB running against my eclipselink

Reporting Engine?

of JPQL / EJB QL is available for both Birt (using an external extension) and Jasper

Replication error on slave restart

(all: master, slave, local). All communication with DB is over EJB persistance-unit (with objectdb-jee

Externalising persistence.xml properties in Glassfish?

get that to your ejb . That is the easiest solution.  Another way might be by setting a system variable

Null enums and IS (NOT) NULL: NullPointerException

class TestBean { @PersistenceContext(unitName = "my-pu") private EntityManager entityManager; @ EJB

Pre-detach loading: retrieval by navigation not working in if statement

can configure an entity-query @ EJB with a specific loader that - after the em.find(id) is performed - executes

Glassfish , OpenEJB Realm

    Hello , i'm developing EJB Application. I was in dilemma using OpenEJB and Glassfish. They all support JDBC Realm but i want to use only ObjectDB solution. So , there is no JPA Realm for any application server.Thats big minus for objectdb.   I will try to integrate for glassfish

objectdb:2.8.4 - Error occurred during initialization of boot layer

.jar javax. ejb .jar javax.jms.jar javax.persistence.jar javax.resource.jar javax.servlet.jsp.jar

ObjectDB 2.2.6

Fixed the "Attempt to reuse an existing primary key value" after flush bug. Fixed a bug in tracking changes to collections of new flushed entity objects. Fixed generated value (ID allocation) bug with flush and in EJB containers. Fixed a NullPointerException on getObjectsById. Fixed a server