ObjectDB Database Search

1-50 of 51 results

Step 3: Define an EJB Session Bean

Operations on the database will be performed by an instance of a session bean ( EJB ) class ... Bean and clicking Next . Enter GuestDao as the EJB class name - use exactly that case sensitive class name. The Java package name should be guest. Click Finish to create the new session bean ( EJB

ObjectDB with JRebel: copious 'Not Enhanced:' errors with EJBs

output for nearly every @ EJB on startup. Typical message is like: Info: [2016-10-30 09:16:46 #6 enhancer.agent] Not Enhanced: com/example/ ejb /query/__EJB31_Generated__ExampleQuery__Intf__: com.objectdb.o.TEX: Type com.example. ejb .query.__EJB31_Generated__ExampleQuery__Intf__ is not found at com

How to package orm.xml when using EJB in WAR?

and Maven correctly copies META-INF and all contents into the root of jar file when the ( EJB ) project is built. When that EJB is deployed to e.g. GlassFish 3.1.1 all apperar to be OK, and a singleton ... ). However, when a different web project (WAR file), which declares a dependency to the database EJB is built

Glassfish 4 AbstractMethodError: com.objectdb.jpa.EMF.createEntityManager

). Thanks! WARNING:   EJB5184:A system exception occurred during an invocation on EJB UserC, method: public void com.mirq.controller.UserC.findUser(java.lang.Long) WARNING:   javax. ejb ... /persistence/EntityManager; at com.sun. ejb .containers.EJBContainerTransactionManager

newbie - lots of exeptions

(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.glassfish. ejb .security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052) at org.glassfish. ejb .security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124) at com.sun. ejb .containers

Guessbook tutorial: Java EE 6 JPA Tutorial - Maven Project

during an invocation on EJB GuestDao, method: public void guest.GuestDao.persist(guest.Guest) WARNING: javax. ejb .EJBException at com.sun. ejb .containers.BaseContainer.processSystemException(BaseContainer.java:5215) at com.sun. ejb .containers.BaseContainer.completeNewTx(BaseContainer.java:5113) at com.sun. ejb

UTF Error

on EJB PersonFacade, method: public java.util.List beans.AbstractFacade.findBySQL(java.lang.String) WARNING: javax. ejb .EJBException: Error reading UTF string at com.sun. ejb .containers.EJBContainerTransactionManager.processSystemException(EJBContainerTransactionManager.java:723) at com.sun. ejb .containers

Duplicate Entity class names causes Exception in Query

.invoke(Method.java:597) at org.glassfish. ejb .security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052) at org.glassfish. ejb .security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124) at com.sun. ejb .containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5367

Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2

this error appears: WARNING: EJB5184:A system exception occurred during an invocation on EJB ProjFeedFacade, method: public java.util.List com.n2nconnect.mm.jpa. ejb .AbstractFacade.findRange(int[]) WARNING: javax. ejb .EJBException at com.sun. ejb .containers.BaseContainer.processSystemException

Entity is not related to ObjectDB, but i get exception from ObjectDB

) JBAS014134: EJB Invocation failed on component DialogManagerBean for method public abstract void granat.dp. ejb .IDialogManagerBean.callDialogAction(java.util.UUID): javax. ejb ... ] at granat.dp. ejb .DialogBeanLocal$$$view417.findAction(Unknown Source) [dp.domain-1.0-SNAPSHOT.jar

A lot of ENT and SIV instances which are not cleared by GC

? I use simple EJB managers containing EntityManagers. On bean's PreDestroy and in servlet's i make ... (Method.java:483) at org.glassfish. ejb .security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081) at org.glassfish. ejb .security.application.EJBSecurityManager.invoke

Error reading UTF string

:41,862 ERROR [org.jboss.ejb3.invocation] (http-0.0.0.0-0.0.0.0-8080-5) JBAS014134: EJB Invocation failed on component AuthenticationBean for method public abstract java.util.UUID granat.dp. ejb .IAuthenticationBean.getCurrentPersonId(java.util.UUID): javax. ejb .EJBTransactionRolledbackException: com

Step 4: Add a Servlet Class

. ejb . EJB ; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import ... GuestServlet extends HttpServlet { private static final long serialVersionUID = 1L; // Injected DAO EJB : @ EJB GuestDao guestDao; @Override protected void doGet( HttpServletRequest request

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

via a querying @ EJB gives many fields null (and not even empty, I mean truly null). In ... whether or not I perform the above post-construct query. When I serve the query via and @ EJB ... (!). The query is performed by an @ EJB : @Stateless public class TestQuery {    

com.objectdb.o.InternalException: Unexpected internal exception

) at java.lang.reflect.Method.invoke(Method.java:606) at org.glassfish. ejb .security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052) at org.glassfish. ejb .security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124) at com.sun. ejb .containers.BaseContainer

2.5.3_02: java.lang.UnsupportedOperationException

.reflect.Method.invoke(Method.java:606) at org.glassfish. ejb .security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081) at org.glassfish. ejb .security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153) at com.sun. ejb .containers.BaseContainer.invokeBeanMethod

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

(City.java:39) ejb .PersonBean.create(PersonBean.java:32) sun.reflect.NativeMethodAccessorImpl.invoke0 ... .InterceptorContext$Invocation.proceed(InterceptorContext.java:374) org.jboss.as.weld. ejb .Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:127) org.jboss.as.weld. ejb

JPA Tutorials

with a Servlet and a JSP: JPA Web Application Tutorial This web application does not use EJB ... Since this web application uses Java EE 6 EJB (session beans) it requires a full Java EE 6 application server

Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance

.JavaEETransactionManagerSimplified.commit(JavaEETransactionManagerSimplified.java:857) at com.sun. ejb .containers.BaseContainer.completeNewTx(BaseContainer.java:5115) at com.sun. ejb .containers.BaseContainer.postInvokeTx(BaseContainer.java:4880) at com.sun. ejb .containers.BaseContainer.postInvoke(BaseContainer.java:2039) at com.sun

Pessimistic Lock Timeouts setting

setting a shared lock in the EJB could get around this, but this would be global and impact all threads ... with an injected stateful EJB which holds an instance of Entity Manager for each stock. This bean holds ... transaction. I used to retrieve my stock object by a JPA EJB . However, after retrieval

Double persist of Entity field with Cascade.ALL

. The enterprise application ( Book_dberror ) which contains the EJB module ( Book_dberror- ejb ) 3. A Java ... to Book_dberror_Libs and Objectdb.jar to Book_dberror_ ejb . In persistence.xml, I had to use ObjectDB ... - ejb with Book_db- ejb Book_dberror_Libs with Book_db_Libs Thanks. Burabari Burabari Kpai Your test

ObjectDB within a resource adapter module and Java EE Connector Architecture

of) an EJB Module after the pattern of the classic EAR File structure as illustrated in the Java EE 7 ... at least the name of the final database file from an EJB module that leverages a persistence unit associated with it ? Example: JPA-style: 2 separate end-project web apps leverage the same EJBs , which in

Possible cause for "Enhancement of type ... is old and cannot be used"

.DomainElement is not enhanced. ... As a side-effect it then eventually fails with: Caused by: javax. ejb .CreateException: Initialization failed for Singleton ReflectionHelper at com.sun. ejb .containers.AbstractSingletonContainer.createSingletonEJB(AbstractSingletonContainer.java:476) at com.sun. ejb .containers

Step 2: Entity Class and Persistence Unit

with the specified database url. The next step is adding an EJB Session Bean that will manage Guest entities.

Step 2: Entity Class and Persistence Unit

with the specified database url. The next step is adding an EJB Session Bean that will manage Guest entities.

Java EE Web Tutorial

This tutorial demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application using GlassFish, ObjectDB and JPA. Since this web application uses Java EE 6 EJB (session beans) it requires a full Java EE 6 application server, such as GlassFish 3.0.1 or JBoss AS 6

GlassFish 3.1.2.2/JBoss 7.1.1

problem (http://www.java.net/forum/topic/glassfish/glassfish/cant-return-entity- ejbs -remote- ejb ... the problem of accessing ObjectDB from a stateless EJB in JBoss AS 7.1.1. support Support

How to Use a SF with extended Persistence Context?

] (http-localhost-127.0.0.1-8080-1) JBAS014134: EJB Invocation failed on component GuestUpdater for method public void guest.GuestUpdater.updateGuest(java.lang.String): javax. ejb .EJBException: java ... -localhost-127.0.0.1-8080-1) Servlet.service() for servlet GuestServlet threw exception: javax. ejb

Visibility of changes in Transaction is not visible to a JPA QL Query

. The only complexity is that everything is structured into separate projects ( an EAR, The EJBs , the EJB interfaces, the JPA Model, and the Web tier ). The objectdbee.jar is added as a module to the EAR, and the persistence.xml is located where it is used in the EJB project ( this was the only way I

WebSphere Liberty Configuration

: An exception occurred: java.lang.Throwable: javax. ejb .EJBException: CWNEN0030E: The server was unable ... .java:4900) at [internal classes] Caused by: javax. ejb .EJBException: CWNEN0030E: The server

Bug with unique constraint exception not resulting in transaction roll back

I'm using ObjectDB 2.5.6_02 and running into a bug with a JDO @Unique constraint.  I'm using JPA in general. I have an EJB persisting two entities with @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) declared on the EJB method.  The two entities have the same value

PersistenceException UserException: Failed to validate persistence.xml

.Thread.run(Thread.java:722) Caused by: javax.el.ELException: javax. ejb .EJBException: The bean ... :96) ... 30 more Caused by: javax. ejb .EJBException: The bean encountered a non-application exception

What role is the JDO in ObjectDB?

Mike Keith believe the JDO is out of date. Then what role of JDO in ObjectDB? Will our codes with JDO be out of date? Due in part to some of the failures of the EJB persistence model, and some ... . Once the EJB 3.0 persistence movement was in motion, however, and the major vendors all signed

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

. But 2.4.4 worked javax. ejb .EJBException at com.sun. ejb .containers.BaseContainer.processSystemException(BaseContainer.java:5215) at com.sun. ejb .containers.BaseContainer.completeNewTx(BaseContainer.java:5113) at com.sun. ejb .containers.BaseContainer.postInvokeTx(BaseContainer.java:4901) at com.sun. ejb

Unexpected exception (Error 990) - NullPointerException

.reflect.Method.invoke(Method.java:606) at org.glassfish. ejb .security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081) at org.glassfish. ejb .security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153) at com.sun. ejb .containers.BaseContainer.invokeBeanMethod

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

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

exception: Caused by: javax. ejb .EJBException: Attempt to persist a reference to a non managed com.greensoft.entity.Block instance         at com.greensoft. ejb