About long

forum_thread

alter table

Hi: After a table built by real data, how to alter table structure, such as: alter table add column ... alter table add index ... TIA ... overflow of published source code examples by breaking long lines . You may mark in paragraph code words (e.g. class ... (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex source examples (> 100 lines) ...

 
forum_thread

Upgrade to Java 8 won't run

I've been using ObjectDB with Groovy 2.1 and Java 7 for nearly a year.  Today, I updated everything to the latest revs (Groovy 2.3.6, Java 1.8.0_25, and ObjectDB 2.5.7_05), and now my application fails when opening the database. It's dying on one of these lines:   emf = Persistence.createEntityManagerFactory (dbName)   em = emf.createEntityManager()   em.setFlushMode(FlushModeType.AUTO)   ObjectDB.em = em   ... overflow of published source code examples by breaking long lines . You may mark in paragraph code words (e.g. class ... (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex source examples (> 100 lines) ...

 
issue

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

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.containers.BaseContainer.postInvoke(BaseContainer.java:2045) at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1994) at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:222)... overflow of published source code examples by breaking long lines . You may mark in paragraph code words (e.g. class ... (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex source examples (> 100 lines) ...

 
forum_thread

Glassfish 3.1.2.1 and ObjectDB 2.4.3

Hello, I tried to get the Guestbook tutorial run with Glassfish (see above) but it's not working. When I try to add a guest I got a HTTP Status 404 Wich versions of ObjectDB should I use? Thanks ... overflow of published source code examples by breaking long lines . You may mark in paragraph code words (e.g. class ... (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex source examples (> 100 lines) ...

 
forum_thread

problem with lazy loading - unittest project attached

hi, i'm still testing objectdb together with spring-data-jpa. i made a test which should simulate 4 requests 1. save entity 2. read an existing entity, add onetomany relation 3. read an existing entity, add another onetomany relation 4. read entity, get relations. i have the feeling this is not the optional way to test this, because of the differnt transaction behavior. the test is not transactional, but the spring repository methods are. ... overflow of published source code examples by breaking long lines . You may mark in paragraph code words (e.g. class ... (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex source examples (> 100 lines) ...

 
issue

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null:

The following error appears under and extended persistence context, and with creation, configuration and wiring code that is known to work perfectly with EclipseLink+Glassfish: SEVERE: Unexpected internal exception ... overflow of published source code examples by breaking long lines . You may mark in paragraph code words (e.g. class ... (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex source examples (> 100 lines) ...

 
forum_thread

Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2

Hi. I have faced a very serious issue. After upgrading the GlassFish server from 3.1.1 to 3.1.2 this error appears:   ... overflow of published source code examples by breaking long lines . You may mark in paragraph code words (e.g. class ... (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex source examples (> 100 lines) ...

 
issue

ObjectDB 2 JDO Manual

The new ObjectDB Manual describes how to use ObjectDB 2 with JPA. An additional manual that focuses on using ObjectDB 2 with JDO can help JDO users. But since writing a new manual and then maintaining two similar manuals, one for JPA and the other for JDO requires sufficient effort, this will be done only if there is sufficient demand.  ... overflow of published source code examples by breaking long lines . You may mark in paragraph code words (e.g. class ... (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex source examples (> 100 lines) ...

 
forum_thread

Issue with Casting / Joins

Hi I can't seem to find my way out of this. Basically what I have is something like: ... overflow of published source code examples by breaking long lines . You may mark in paragraph code words (e.g. class ... (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex source examples (> 100 lines) ...

 
forum_thread

ObectDb 2.3.6 in OSGi environment

Hello, I'm trying to use ObjectDb within OSGi bundles. I have one bundle for db accens which uses ObjectDb and another bundle which includes the POJO models. Everytime I start in plugin evironement i get an PersistenceException, because my POJO not found. If try the same test in normal Java environment everthing works fine. Can you please advice? Thx Peter ... overflow of published source code examples by breaking long lines . You may mark in paragraph code words (e.g. class ... (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex source examples (> 100 lines) ...