About unique

101-110 of 142Refresh
Forum
1

Possible issue with timestamps

(long id) {             this.id = id;         }         @Index(unique="false")         public ... (String firstname) {             this.firstname = firstname;         }         @Index(unique
Forum
1

Search with wildcards and index issue

Hi, I have a search using wildcards: SELECT $1 FROM CDI $1 WHERE $1.loginId LIKE '%*_last%2' ESCAPE '*' This works perfectly when loginId has NO annotations. Now if I add to loginId the following annotations: @Index(unique="true") @Column(nullable=false,unique=true) the search no longer works. I
Forum
1

Searching lists within objects

> attributeList = new ArrayList(); } @Entity @Unique(members={"type","value"}) class ... multiple Attribute instances with identical type / value by defining a composite unique index on type
Forum
1

Should I use ObjectDB and JDO?

JDO API reference unique to ObjectDB, or is it an exact copy of some JDO 2.x API that I could find ... reference unique to ObjectDB, or is it an exact copy of some JDO 2.x API It is the same JDO. ObjectDB
Forum
1

Update Entity references if we change the type of an entity

your application. Object IDs will have to be unique per entity type hierarchy rather than per type ... IDs will have to be unique per entity type hierarchy rather than per type.", but in your example
Forum
1

Updating Entities

). Losing synchronization when using UPDATE queries is not unique to ObjectDB but a limitation ... that contain a distinct Entity each: Employee and Paygrade. Paygrade must remain unique and in
Result
1

ObjectDB version 2.3.3

#544). Added support of @Column(unique="true") and equivalent ORM XML (issue #550). Fixed
Forum
1

@JoinColumn(nullable=false)

of the @ManyToOne and @OneToOne annotations. Similarly, see this forum thread regarding setting a unique constraint when using ObjectDB. bugsbunny2003
Forum
1

A few questions on object database design

. After all, everything stored in player instances are unique to that player... So, is it OK to store
Forum
1

Accessing objects to make them available after EntityManager close?!

; @Id @GeneratedValue Long id; @Unique private String word; private Set meanings