About value

191-200 of 200Refresh
Forum
13

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
13

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
13

"Unsupported auto value type java.lang.String" when persisting new instance

"main" [ObjectDB 2.3.2] javax.persistence.PersistenceException Unsupported auto value type java.lang ... (NetworkInformationDatabase.java:71) Caused by: com.objectdb.o.UserException: Unsupported auto value type java.lang.String ... ; You cannot use @GeneratedValue for string Id only for numeric Ids. Id fields whose type is string have to be assigned a value by the application. kiki
Forum
13

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
13

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
12

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
12

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
12

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
12

EmbeddedId with Generated field value

both solutions I expected I could get a generated value for the field uid by simply adding the documented
Forum
12

Failed to read the value of field ... using reflection

Hello, we got following exception. Can you explain me, what is the reason of this exception?   Caused by: com.objectdb.o.UserException: Failed to read the value of field field com.btc.ep.expression.formula.bl.dmos.Valuation.variableSettings using reflection at com.objectdb.o.MSG.a(MSG.java