Home » Search

About license key

81-90 of 200Refresh
Issue
5

Merge throw exception "Attempt to reuse an existing primary key value"

Hi, if Id = 0 I got javax.persistence.EntityExistsException: com.objectdb.o.UserException: Attempt to reuse an existing primary key value (ru.dz.train.test.ZeroIdTest$MyEntity:0)   if Id=1 no exception code : import javax.persistence.*; public class ZeroIdTest {     public static void main
Forum
5

Query on Embedded Primary Key?

Hi, I am trying to use Embedded Primary Key - but seems I can't retrieve them correctly with the query below - the query seem to work fine for other field (in the code = primkeycopy). The error I get when is below - it complains about a casting issue. Let me know how to fix it - (full reproducible
Forum
5

selecting objects that have a particular key/value in persistant HashMap

that the pMap field of some Person objects has the key/value pair "location'/'California'.  Can I create
Forum
5

Uninitialized primary key (id = 0)

Exception in thread "main" [ObjectDB 2.2.9_04] javax.persistence.RollbackException Failed to commit transaction: Attempt to reuse an existing primary key value (image.Meta:0) (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:277) I check the db by explorer.jar, and find
Forum
4

Upgrading Server license to a Site license

I should be interested to know if it possible to upgrade from a single server license to a site license by paying the difference. It is possible. Details have been sent to you in a private support ticket. Thanks, I should also like to know how to transfer a server license from one machine
Manual
4

Database Explorer

and primary key separated by # (e.g. Point#1). A collection can be specified as a comma separated list ... , which has to be specified by type and primary key separated by # (e.g. Point#1). The Edit > Set Reference ... type and primary key separated by # (e.g. Point#1). The Edit > Add to Collection > Add New Object
FAQ
4

Is ObjectDB better than competing object databases?

databases do not support user defined primary keys, even though this is very useful in almost every application. ObjectDB supports user defined primary keys including composite primary keys. The support
Forum
4

Internal ObjectDB error by read the primary key

Internal ObjectDB error by read the primary key
JPA Doc
4

javax.persistence.MapKeyJoinColumn

) Specifies a mapping to an entity that is a map key. The map key join column is in the collection table ... (Optional) The name of the foreign key column for the map key. (Optional) The name of the foreign key column for the map key. The table in which it is found depends upon the context. If the join
JDO Doc
4

javax.jdo.annotations.ForeignKey

get methods) Annotation for a database foreign-key. Corresponds to the xml element "foreign-key". Since: JDO 2.1 Column[] columns Columns that compose this foreign key. Columns that compose this foreign key. Returns: the columns that compose this foreign key Default value: {} Since: JDO 2.1 String deferred