Home » Search

About license key

61-70 of 200Refresh
Forum
5

Index on map key

Is there a way to create an Index with @Index on the key of a map? Indexes on map keys as well as queries on map keys are currently not supported. But as a workaround you can use a collection ... ();         Query query = em.createQuery(             "SELECT o FROM MyEntity o JOIN o.map e WHERE e.key
Forum
5

More Efficient Primary Keys

Can you give us a recommendation as we can represent the Key (UUID) most efficient? Both in terms ... . We already need the key before the entities are persisted so that we can build even references. a) Composite Primary Key  with two Longs b) Embedded Primary Key with two Longs c) Furthermore, as String
Issue
5

Eager Fetch of Map with Entities as Keys

Loading eagerly a map that uses entity objects as keys is currently unsupported, if the equals and hashCode methods of the keys are based on the key entity persistent content, since that content ... ();         MyKeyEntity key = new MyKeyEntity("key");         em.persist(key);         entity.map
Manual
5

SSL Configuration

private key and its corresponding public key (the SSL protocol is based on the RSA algorithm ... . This file is generated from the Keystore file by omitting the private key (it still contains the general information and the public key). You can generate these files using the JDK keytool utility
Forum
5

problem when primary key value is zero

and recommendations, in particular there are some primary keys with value == 0. These cause problems for objectDB, typically "JPA Unexpected argument as primary key". When using eclipselink, there is a workaround ... have a zero value in primary key column -->            
Forum
5

A bidirectional OneToOne association with a shared primary key

@OneToOne association that has a shared primary key, example: http://fruzenshtein.com/bidirectional-one-to-one-primary-key-association/ Can ObjectDB support this same specific relationship ... one to one association, but it cannot be based on identical primary keys, i.e. the primary key
Forum
5

Getting Foreign Key

How to get Foreign key using  org.eclipse.persistence.queries.WriteObjectQuery class ... level primary key but i also nead to get foreign key which is belongs to header. WriteObjectQuery ... got pojo name query.getPrimaryKey() by using this i can get primary key now i nead to get foreighn
Forum
5

Foreign key constraint issue

Hi, I'm trying to create two tables (Parent and Child) with a foreign key constraint from Child ... one specific case that foreign key constraint doesn't apply and I can't figure how to make it work ... get deleted, whereas I'd want to remove all orphaned child entities (as with a foreign key constraint
Forum
5

Can a Set<E> be a foreign key?

I have two classes, Cell and Character.  Basically, the cell is like a room, and contains a variable (private Set cellHeldCharacters;) which holds the IDs of the characters within the cell (The IDs are Primary Keys).  Can I use the Foreign Key annotation for the variable, or is it illegal
Forum
5

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

Hi,   I don't have a useful test case to expose this issue, but I am getting an intermittent "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