About value

151-160 of 200Refresh
Forum
14

Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance

"Attempt to reuse an existing primary key value". In this particular instance, the error is: Attempt to reuse an existing primary key value (com.x.y.z.UserPassword:1) (error 642) at com.objectdb.jpa ... .EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)   The attempted PK value to be re-used
Forum
14

List of Enum Values in an entity

wrong? Joachim Arrays of enum values are expected to be supported by ObjectDB. If the entity is enhanced, you may see a null value in the debugger before accessing the field, but when the field ... It is unclear. Maybe you see null values for old Guest instances that have been persisted before adding
Forum
14

Use of sequences to generate field values in JDO

I'm trying to use sequences to set field values in JDO.  I want to do this in XML metadata to avoid ... ="true" value-strategy="sequence" sequence="audit_seq"/> When the code is run I get the message ... 341) Can you describe how I should be using sequences to provide field values
Forum
14

WebService : Failed to get reference value of field using enhanced method

: org.apache.axis2.AxisFault: Failed to commit transaction: Failed to get reference value of field field ... .apache.axis2.AxisFault: Failed to commit transaction: Failed to get reference value of field field ... situated in one place --- I get always this error : "Failed to get reference value of field using
Forum
14

Failed to write the value of field using reflection (error 363) on LAZY fetch

thread "main" [ObjectDB 2.6.3] javax.persistence.PersistenceException Failed to write the value ... .java:45) Caused by: com.objectdb.o.UserException: Failed to write the value of field field ch
Forum
14

Merge Issue: Attempt to reuse an existing primary key value

: Attempt to reuse an existing primary key value (MyTestCase$MyEntityChild:'child1') at com.objectdb.o ... that "Attempt to reuse an existing primary key value" on my merge operation is a total nonsense. If 2.5
Forum
14

Query fails with numerical values > 2^31

". The field p.TimeOfDeletion is of type long. As far as I know, the maximum value greater than 2^31 ... values of '1410521074995' are stored. So, it is possible to store this big numbers. But, why is my DELETE
Forum
14

Failed to read the value of field using reflection

I have recently encountered an issue with reading objects: Exception: com.objectdb.o.UserException Message: Failed to read the value of field field Character.stats using reflection Stack Trace: com.objectdb.o.MSG.d(MSG.java:75) com.objectdb.o.UMR.P(UMR.java:934) com.objectdb.o.UMR.B(UMR
Forum
14

How to avoid NULL values on Embedded entities

Hi there. I'm new on this. trying to learn. I'm trying to make a value non nulleable. So, when I try to upload to the DB this field as null, it give me an error. I tried this, but it didn't work: public class Pedido {     @Id @GeneratedValue     private long id;         @Embedded private Direccion
Forum
14

KEY() / VALUE() not recognized in JPQL??

Hi! Explorer says "unexpected token" on KEY(..: SELECT FROM individual.IndividualContact $1 LEFT OUTER JOIN $1.profile.title.name m WHERE (KEY(m) = 'deu' AND VALUE(m) LIKE '%Dr%') profile = embedded entity title = referenced entity name = Map   thanks, Alex Yes