About code weaving

191-200 of 200Refresh
Forum
0

Insertion Speed Rate and Batch Load

has 4GB and I did use your attached modified code. However, with -javaagent set to objectdb.jar, I ... for possible use in one of our smart grid data data collection product. I run the codes in 2 ... this code  with the above enhanced setting on another PC ( Intel Celeron 550@2GHz, 3GB memory ) : Total
Forum
0

Is there a function of "drop table" or "delete from table"?

. The code “createQuery("DELETE FROM MyEntity e").executeUpdate();” works, but it can not reset id to zero ... generated ID sequences is not supported by JPA and JDO. The following non portable code ... ()); Assuming you use JPA - you have to use the JDO ability to access sequences. The code
Forum
0

Issue with orphanRemoval and multiple EntityManagers

(which are much more efficient). This test case has been distilled from very large amount of code, some of it not under our control. Refactoring all that code to remove cascading merge is not possible ... ? No, it is supported of course. But since the 2 modes use separate code in many areas (e.g. detecting
Forum
0

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

for building the Guestbook.war only maven.   My GuestDAO code is as follows: package guest; import ... is? The tutorial code from http://www.objectdb.com/files/examples/guestbook-jee6.zip does not ... ); The full code of GuestDAO becomes: package guest; import java.util.List; import javax.ejb
Issue
0

JPA Composite Key make Object Db throws "Unexpected exception (Error 990)"

obfuscated code is not easy for me. Any help would be appreciated :) Can you please attach a small ... it may be very helpful. Well i have tested a small case test with minimal code, so i have pointed ... embedded Id ) key with an enum type. Here is the code : package test; import java.util.*; import
Forum
0

JPA CriteriaQuery -- Iterate Expression<List<Object>>

field (String) of each element of the List of Records (see pseudo code).  //using MetaModel ... (String.class); //pseudo code(i think i need something like this here) Predicate myPred ... "), searchString ) //pseuso code (i thin i need to check my predicate here?) builder
Forum
0

License Activation Change and Checking Activation

a different activation code. With this code it works. The only difference I can think of is that my WiFi ... both activation codes now in your configuration, so ObjectDB will work on your laptop with either the WIFI
Forum
0

Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany

In the code example below (also attached) I would like to understand why I am able to print ... );         }     } } LAZY in JPA is a hint. If your code is enhanced (as always recommended), for example ... _unmapped:[] If the code is not enhanced, ObjectDB has to keep a snapshot of the entity object
Issue
0

NullPointer on query

I'm getting a null pointer when running the following code: TypedQuerycode usually works fine so I ... are thrown on the original persist/commit. Full code is: ObjectDbMessagePayload payload = em.find
Forum
0

NullPointerException while setting a new property value

.java:1) OK. Please try now 2.4.4_03. The ObjectDB code was changed, but NPE still persists. Tue Oct ... (); } } 3. The code continues with a revalidation and re-setting some properties to entities from ... that the enhanced code should handle it somehow.   When using JPA with multi threads each thread