Home » Search

About primary key

141-150 of 200Refresh
Forum
5

KEY() / VALUE() not recognized in JPQL??

Hi! Explorer says "unexpected token" on KEY(..: SELECT FROM individual.IndividualContact $1 LEFT OUTER JOIN $1.profile.title.name m WHERE (KEY(m) = 'deu' AND VALUE(m) LIKE '%Dr%') profile = embedded entity title = referenced entity name = Map   thanks, Alex Yes
Issue
5

Page #9 entry 0 (key 'bjjl') has 75 extra bytes / Unexpected last index ID: -119 (expected -116)

------------------- [1] Page #9 entry 0 has unexpected object format [2] Page #9 entry 0 (key 'bjjl') has 75 extra ... ------------------- [1] Page #3 entry 0 has unexpected object format [2] Page #3 entry 0 (key 'guest') has 11 extra bytes
Forum
5

retrieve without key?

. i'm loading data from an external source. i use keys from that source. since i have a singleton i ... and can't see an option to retrieve an object w/o using a key. can this be done? You can use a single result query. duetto
JPA Doc
5

javax.persistence.Table

by primary key mappings. Defaults to no additional constraints. Default value: {} Since: JPA 1.0 ... javax.persistence Annotation Table Target: Classes Specifies the primary table for the annotated entity. Additional tables may be specified using SecondaryTable or SecondaryTables annotation
Issue
4

DISTINCT key causing internal exception on 2.6.4.b10

I observed that on new ObjectDb v.2.6.4.b10 query below causes internal exception SELECT DISTINCT $1 FROM Pa3DictionaryItem $2 JOIN $2.values $1 WHERE ($2.namespace == 'com.anritsu.pa3.ttcn3' AND $2.key == 'TliEvent' AND $1 != '') Query above also worked fine on ObjectDb version 2.6.1.b06
Forum
4

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
JDO Doc
4

Element.generateForeignKey

Annotation Element javax.jdo.annotations.Element String generateForeignKey Generate or assume a foreign key constraint exists on the column or columns associated with this join. Specify "true" or "false". Returns: whether to generate or assume a primary key constraint Default value: "" Since: JDO 2.1
JDO Doc
4

getObjectId(pc)

JDO vendors only for instances of persistence capable classes using application-managed (primary key ... the transaction, by the application modifying one or more of the application key fields
JPA Doc
4

javax.persistence.OneToOne

that assumes both the source and target share the same primary key values. // On Employee class ... embedded field or property. Example 1: One-to-one association that maps a foreign key column
JPA Doc
4

JoinColumn.table

that contains the column. If a table is not specified, the column is assumed to be in the primary table ... key mapping strategy, the name of the table of the source entity or embeddable. If the join is for a unidirectional OneToMany mapping using a foreign key mapping strategy, the name of the table