ObjectDB Database Search

1-47 of 47 results

Step 3: Define an EJB Session Bean

Operations on the database will be performed by an instance of a session bean (EJB) class that we will define in this step: Open the [New Session Bean] dialog box by right clicking the guest package node (in the [Projects] window), selecting New Other... Java EE (or Enterprise JavaBeans) Session

Step 3: Define an EJB Session Bean

Operations on the database will be performed by an instance of a session bean (EJB) class ... to create the new session bean (EJB) class. Now replace the content of the new source file ... Guest g ORDER BY g.id", Guest.class); return query.getResultList(); } } The GuestDao session bean (EJB

Privacy Policy

section and verifying system and server integrity). Cookies can be "Persistent" or " Session " Cookies ... , while Session Cookies are deleted as soon as You close Your web browser. We use both Session and Persistent Cookies for the purposes set out below: Essential Cookies These are Session Cookies, 

@Entity saved in Tomcat session - problem

Hi, I have found a problem, when storing @Entity object in Tomcat session . When starting or ... is to create copy of @Entity class as normal POJO and use it to store in session . The problem ... stores the session before shutdown) that failed due to an inverse (mapped by) field in the entity

Session lost

hi team we are implementing a web application based on the Liferay, system database is handled by JPA 2.0 and entity manager. when system is idle for a long period (for example 8 hours) the Session in the Persistance Context will be lost and the DB will be out of the access, is there any possible

ObjectDB Object Database Features

profiling sessions ). Unique data structures and algorithms (as a result of years of R&D). Outperforms

Database Explorer

Changes , the Explorer automatically begins a new transaction for the next editing session . Options

Entity listener - event instead of object

session for audit save             StatelessSession session = event.getPersister().getFactory().openStatelessSession();             session .beginTransaction();      

How to Use a SF with extended Persistence Context?

: Bound mail session [java:jboss/mail/Default] 13:52:02,122 INFO  [org.jboss.as.connector.subsystems ... ) JNDI bindings for session bean named GuestDao in deployment unit deployment "Guestbook.war" are as ... .EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-14) JNDI bindings for session bean named GuestUpdater in

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

all the benefits of lazy loading of course. 2. Perform the query within a @Stateful session bean ... persistence context can only be initiated within the scope of a stateful session bean. It exists from the point at which the stateful session bean that declares a dependency on an entity manager of type

Updating existing persistence entries

my persisted object which may have changed for one or more fields to a call like " session .update(objectInstance)". I can commit the session afterwards and that's it. I mean I don't need to modify the object *within* the session , I can do it wherever and whenever I want and hibernate identifies the object by

Problem to use find method on an abstract Class: AbstractMethodError is thrown

session [java:jboss/mail/Default] 08:17:22,353 INFO [org.jboss.as.connector.subsystems.datasources ... ] (MSC service thread 1-4) JNDI bindings for session bean named Factory in deployment unit deployment ... .processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-10) JNDI bindings for session

"Attempt to lock a non entity object" error

object" session .rollback() is somehow causing the problem (found through debugging ... {     session .beginTransaction();     session .lock(subjectJList ... ;   session .rollback(); . . . } //doCancelEdit

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 entity objects.

JPA Tutorials

Since this web application uses Java EE 6 EJB ( session beans) it requires a full Java EE 6 application server

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 entity objects.

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

Step 4: Add a Servlet Class

; GuestDao session bean, which is instantiated and injected by the application server into the 

Step 4: Add a Servlet Class

on the database are carried on by the GuestDao session bean, which is instantiated and injected by

Felix, rollback exception, error 613

)     at org.eclipse.jetty.server. session .SessionHandler.doHandle(SessionHandler.java:224 ... :512)     at org.eclipse.jetty.server. session .SessionHandler.doScope(SessionHandler.java

How to deploy an Objectdb project with Jboss AS 7?

service thread 1-5) JBAS015400: Bound mail session [java:jboss/mail/Default] 04:56:02,249 INFO [org.jboss ... .EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-13) JNDI bindings for session bean named

java.nio.channels.OverlappingFileLockException

.reflect.Constructor.newInstance(Constructor.java:513) at org.apache.wicket. session .DefaultPageFactory.createPage(DefaultPageFactory.java:192) at org.apache.wicket. session .DefaultPageFactory.newPage

ObjectDB without javax.persistence

(ProfileApplicationServiceImpl.java:131) at com.btc.ep.base.ui. session .SessionManager.createNewSession(SessionManager.java

virtual servers and one file

and what we see in remote sessions . As far as I understand it is not the problem of less memory

UserException - Object User#2 belongs to another EntityManager

Hi! Scenario's steps: 1. User goes to his profile, a JSF page. 2. @RequestScoped CDI bean UserDataB loads the current user of the session at each request, by using @Stateless bean UserC#findUserById(Long id) 3. JSF page's @RequestScoped CDI bean AnotherB loads trades of that user, by using

evictAll() behavior

is more like a session cache? andrewmcveigh Andrew McVeigh The L1 cache is per EntityManager

Pooling of EntityManagers

different threads or sessions . So I assume that there will be no much difference between creating

Problem upgrading

.0.3.RELEASE] at org.springframework.security.web. session .SessionManagementFilter.doFilter

Criteria Query results in a NoResultException instead of returning object

) at org.picketlink.idm.impl.api. session .managers.AttributesManagerImpl.validateCredentials

CriteriaQuery using isNotNull with other conditions results in InternalException

.java:239) at org.picketlink.idm.impl.api. session .managers.RoleManagerImpl.findRoles(RoleManagerImpl

@OneToMany(fetch = FetchType.LAZY) list is always null

session bean methods and closed when building the output in JSF. support Support So it should be open in

JBoss 7 startup fails

.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named GuestDao in

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-4) JNDI bindings for session bean named GuestDao in

Eclipse plugin problem (using ObjectDB as a separate bundle)

;Investigations. The console includes: ! SESSION 2011-07-13 23:37:23.812

Changing from client server to embedded mode

of the database file (from the client-server session ) on your computer (under objectdb/db ), you can also use

migration path from JPA / Hibernate

Hibernate API / extensions (e.g. Session instead of EntityManager , queries with HQL syntax instead of JPQL

[ODB1] Chapter 9 - ObjectDB Explorer

| Discard Changes", the Explorer automatically begins a new transaction for the next editing session

[ObjectDB 2.5.1_05] Unexpected exception (Error 990)

.sqcore.job.CacheJobManager.getJobs(CacheJobManager.java:350) at eu.ysoft.ds. session .JobsSessionData.getJobs(JobsSessionData.java:184) at eu.ysoft.ds. session .JobsSessionData.getJobsWithShared(JobsSessionData.java:129) at eu.ysoft.ds. session .JobsSessionData.getCountNotPrintedCompatibleJobs

Internal exception when quering

(BillingCodeSessionData.java:55) at eu.ysoft.ds. session .DSSession.loadBillingCodes(DSSession.java:370) at eu.ysoft.ds. session .DSSession.validateUserRequest(DSSession.java:336) at eu.ysoft.ds. session .DSSession.runActionForMessage(DSSession.java:188) at eu.ysoft.ds. session .DSSession.run(DSSession.java:148) at java.lang

ObjectDB can't be activated

of the database. Would it help if we set up a web- session with access to the server? skolb Sebastian Kolb Hopefully we can solve it with no web session . Please try build 2.5.5_08.   support Support ... activated server. skolb Sebastian Kolb Should we set-up a web session so you can take a look

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

. @Stateful // Change 1 - EXTENDED requires a Stateful session bean public class TestQuery {     ... 1 - EXTENDED requires a Stateful session bean I apologise that our exchange got out of sync, and I ... critical bugs your session of porting from EclipseLink to ObjectDB this week provides very useful input

JPQL support for Maps (JPA 2.0)

. It seems to me they are not supported. Query : "SELECT s FROM Session s JOIN s.data d WHERE VALUE(d) = :value" Object : public class Session implements Serializable {     ...     ... yet. Try: SELECT s FROM Session s JOIN s.data d WHERE d = :value support Support That works. 

Unexpected Exception (java.lang.NullPointerException: Cannot invoke "com.objectdb.o.ORS.Z9())

(EMImpl.java:297) at de.advolux.jpa.network.rmi. session .StandAloneDatabaseConnector.EndTransaction(StandAloneDatabaseConnector.java:803) at de.advolux.jpa.network.rmi. session .StandAlonePM

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName

object via a @Stateless facade session bean using em.find(entityClass, id). The strange thing

ObjectDB 2.3.1

. Fixed a Doctor and Replication regression (Type session exceeds timeout). Removed  Conflicting modifiers  validation check and error message.

Monitoring and Performance counters

from last start - caches hit rate - total sessions from clients - memory usage (for heap space