Home » Search

About unique

81-90 of 137 Refresh
JDO Doc
4

setFilter(filter)

. The user may denote uniqueness in the filter expression by explicitly declaring an expression
JPA Doc
4

Table.uniqueConstraints

Annotation Element javax.persistence.Table UniqueConstraint[] uniqueConstraints (Optional) Unique constraints that are to be placed on the table. These are only used if table generation is in effect. These constraints apply in addition to any constraints specified by the Column and JoinColumn
JPA Doc
4

TableGenerator.name

Annotation Element javax.persistence.TableGenerator String name (Required) A unique generator name that can be referenced by one or more classes to be the generator for id values. Since: JPA 1.0
JPA Doc
4

TableGenerator.uniqueConstraints

Annotation Element javax.persistence.TableGenerator UniqueConstraint[] uniqueConstraints (Optional) Unique constraints that are to be placed on the table. These are only used if table generation is in effect. These constraints apply in addition to primary key constraints. Defaults to no additional constraints. Default value: {} Since: JPA 1.0
Forum
3

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

="ArchiveTestRuns">         
Forum
3

Persist error @ManyToMany how to define correct entities relationships

made to Category from Product. The category ID is taken from the webservice Object ID ( unique ... (); } } }       New try with @Genreated index and @ Unique category ID, 1 category entity is created in the table ... .annotations. Unique; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax
Forum
2

failure to enforce NOT NULL for java.lang.String

=GenerationType.IDENTITY) private Long id; @ Unique @Persistent(nullValue=NullValue.EXCEPTION ... in a row without a clean between them does successfully violate the @ Unique constraint: [ObjectDB 2.3.7] javax.persistence.RollbackException Failed to commit transaction: Unique constraint (org
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