About unique

91-100 of 143Refresh
Forum
2

Problem with @UniqueConstraint

/UniqueConstraint Until JPA defines Java object model level @Index / @Unique annotations (hopefully in next versions) - you will have to use JDO @Index / @Unique annotations: http://www.objectdb.com/api/java/jdo/annotations/indexes http://www.objectdb.com/java/jpa/entity/index For example: @Unique(members
Forum
2

ID format in objectdb 2.x for JDOHelper.getObjectId

IDs where always unique long numbers, so these numbers could represent objects uniquely ... ), and consequently, objects are represented uniquely by the combination of (type, object ID
Forum
2

Problem with Composite indices

class Client { @Index (unique = "true") private String name; } and a User class ... to one Client has an unique Email address but only in relation to a specific Client (e.g. Client "a"->User "d ... User How can I realize such constraint? Kind regards Markus This uniqueness constraint
Forum
2

Queries are slow on a large database

:     
Issue
2

Unexpected exception (Error 990) on find

will have to remain open until a test case is submitted. I've found something out. When I change my Id to a unique ... // with this instead of the unique column it won't work     @Column(unique = true, nullable = false
Forum
1

Are indexes implicitly created for relationships?

Do the following annotations @OneToMany @ManyToOne @ManyToMany @OneToOne imply @Index  ? Thanks, Carl   Actually these annotations (except @ManyToMany) should apply @Unique ... aware of). You should use the @Index or @Unique annotations explicitly to set indexes. FastModel
Forum
1

Composite indexes

that returns the smallest subset of unique records (like for example "isPublished" which is either true or false, then "room" which has 7-8 unique values etc...) #2. Can I use the same field as
Forum
1

Criteria Query results in a NoResultException instead of returning object

._NoResultException: No matching results for a unique query at org.jboss.seam.security.IdentityImpl ... ) Caused by: com.objectdb.o._NoResultException: No matching results for a unique query at com.objectdb.o
Forum
1

Index causes increased memory usage

Hello, In an effort to increase the speed of our queries with our embedded ObjectDB system, we configured our JDO file that defines our persistable objects with some unique String indices ... was enabled on a unique String field, our memory usage was far higher than when an index was not specified
Forum
1

New to Product & Having An Issue

setDomainId(DomainId domainId) { this.domainId = domainId; } @Unique(name="name2 ... .NoResultException No matching results for a unique query (error 782) at com.objectdb.jpa.JpaQuery