ObjectDB ObjectDB

Internal Website Search

41-50 of 126 resultsRefresh
13

Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers

<beans xmlns="http://www.springframework.org/schema/beans"    xmlns:p="http://www.springframework.org ... /schema/beans             http://www.springframework.org/schema/beans/spring-beans-3.0.xsd         http ... -->   <bean id="dataSource" destroy-method="close"     class="org.apache.commons.dbcp
13

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

] (MSC service thread 1-4) JNDI bindings for session bean named GuestDao in deployment unit
12

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

.TransactionRolledbackLocalException: Exception thrown from bean: java.lang.AbstractMethodError: com.objectdb.jpa.EMF ... __UserC__Intf____Bean__.findUser(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0 ... (Reflections.java:396) at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke
11

Activation Issue

) ~[JpaMetamodelMappingContextFactoryBean.class:na] at org.springframework.beans.factory.config.AbstractFactoryBean ... .springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods ... .springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean
11

Entity listener - event instead of object

= null;             Object newPropValue = null;             // need to have a separate session for audit save             StatelessSession session = event.getPersister().getFactory().openStatelessSession();             session.beginTransaction();             // get the existing entity from
11

problem with lazy loading - unittest project attached

.RemoteTestRunner.main(RemoteTestRunner.java:197) [.cp/:na] Caused by: org.springframework.beans.factory ... .beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.beans.factory.xml
9

Pessimistic Lock Timeouts setting

. The program creates one processor bean with an injected stateful EJB which holds an instance of Entity Manager for each stock. This bean holds the currents state of a stock and creates a short life ... exchange market and my program, only relays some specific updates to the processor bean (such as price
9

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

     .lookup("java:comp/UserTransaction");    tx.begin();    SLSBObjDbRemote bean = (SLSBObjDbRemote) context      .lookup("SLSBObjDb");    long oldAmount = bean.countItems();    bean.addItems(howMany);    newTotal = bean.countItems();    if(newTotal < (howMany+oldAmount)) {     System.err
9

UTF Error

during an invocation on EJB PersonFacade, method: public java.util.List beans.AbstractFacade.findBySQL ... (EJBLocalObjectInvocationHandlerDelegate.java:90) at com.sun.proxy.$Proxy2213.findBySQL(Unknown Source) at beans.__EJB31_Generated__PersonFacade__Intf____Bean__.findBySQL(Unknown Source) at jsf.PersonController
2

ValidationMode.AUTO

Enum Constant javax.persistence.ValidationMode AUTO If a Bean Validation provider is present in the environment, the persistence provider must perform the automatic validation of entities. If no Bean Validation provider is present in the environment, no lifecycle event validation takes place. This is the default behavior. Since: JPA 2.0

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support