Home » Search

About step by step

101-110 of 200Refresh
Forum
3

How to deploy an Objectdb project with Jboss AS 7?

. Is there an instruction how to deploy objectdb project to Jboss AS 7 step by step?   I used objectdb ... .Thread.run(Thread.java:722) [rt.jar:1.7.0_21] Caused by: javax.persistence.PersistenceException ... : Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671
Manual
3

Locking in JPA

update collisions resulting from simultaneous updates to the same data by two concurrent users. Locking ... by another transaction. When using ObjectDB, optimistic locking is enabled by default and fully ... is automatically increased by one. Version numbers are managed internally but can be exposed by defining a version
Forum
3

Eclipse plugin problem (using ObjectDB as a separate bundle)

the problem I cleaned by project, and enhanced with ObjectDB with the small utility class public class ... cascaded automatically to referenced objects by default. Therefore, when you persist an object it must reference only objects that are already managed by ObjectDB - otherwise you get this exception
Forum
3

JPQL query to get entities that does not have a child entity in their child entities

:12:10 14:00:00      001 02    Step_1_Started        2105:12:10 14:00:00      001 03    Step_1_Finished       2105:12:10 14:00:05      001 04    Step_2_Started        2105:12:10 14:00:05      001 05    Step_2_Finished       2105:12:10 14:00:10      001 06    Finished              2105:12:10 14:00
Forum
3

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

when ordering the results of some projection when the order by expression is different (though logically ... _location "             + "order by s_location.id asc";         System.out.println("Working query ... "             + "left join s.location as s_location "             + "order by s.location.id asc
Forum
2

em.flush(); em.clear(); loosing data and not persisting managed objects

thread "main" [ObjectDB 2.2.3_06] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64 ... the length of primary keys, but large strings as demonstrated by this test should be avoided ... exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_24 (on Linux 2.6.32-71
Forum
2

Error using query with MAX() function

exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_24 (on Linux 2.6.32-71.24.1 ... that is supported by Java (i.e. up to 2GB). Your test case demonstrates an ObjectDB bug in ... ) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_24 (on Linux 2.6.32-71.24.1.el6.x86_64
Forum
2

find() delay

Hi, I tried objectdb in following steps: 1, for 1 to 30 {trans.begin(); create typeC o; em.persist ... , there is no result in one go; I have to disable step 1 and run again, then Step 2 output the expected ... cache? I'm not sure. But why the second find() will output? By the way, a query "select e from nodes e
Forum
2

Tutorial issue

right now, so I created the new project as specified in Step 1 The only thing I did differently was in steps two and three I used the source folder "Tutorial/src" which is what I used to create the project in Step 1; Here's the output; Exception in thread "main" [ObjectDB 2.5.4_04] javax.persistence
Forum
2

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

",          query="select g from guest.Guest g order by g.name" ) } ) @Stateless @TransactionManagement ... );   TypedQuery query = this.em.createQuery( "select g from guest.Guest g order by g.name ... ="select g from guest.Guest g order by g.name" ) } ) ... // NamedQuery does not work // TypedQuery