• Download
  • Forum
  • Login
  • My Account
  • Admin
  • A
  • Logout
Fast Object Database for Java - with JPA/JDO support
ObjectDB ObjectDB
  • ObjectDB
    • Overview
    • Features
    • Download
    • Change Log
    • License
    • Company
  • Tutorials
    • Quick Start with JPA
    • JPA Web App (Tomcat)
    • Java EE JPA (GlassFish)
    • Spring MVC and JPA
  • Manual
    • Quick Tour
    • Entity Classes
    • Using JPA
    • JPA Queries
    • Tools and Utilities
    • Configuration
  • JPA
    • Persistence
    • EntityManagerFactory
    • EntityManager
    • EntityTransaction
    • Annotations
    • Queries
    • Metamodel
    • Miscellaneous
    • Exceptions
  • JDO
    • JDOHelper
    • PersistenceManagerFactory
    • PersistenceManager
    • Transaction
    • Query
    • Extent
    • Annotations
    • Callbacks
    • Listeners
    • Predefined ID Classes
    • Miscellaneous
    • Exceptions
  • Support
    • FAQ
    • Forum
    • Issue Tracking
    • Help Desk
  • Manager
Home » JPA » Annotations » Mapping (ORM) » MapKeyJoinColumn » MapKeyJoinColumn.referencedColumnName - JPA annotation element

JPA Reference
  • Persistence
  • EntityManagerFactory
  • EntityManager
  • EntityTransaction
  • Annotations
    • Class Modifiers
    • Field Modifiers
    • Relationships
    • Access Modes
    • Value Generation
    • Callback Methods
    • JPQL Queries
    • Java EE
    • Mapping (ORM)
      • AssociationOverride
      • AssociationOverrides
      • AttributeOverride
      • AttributeOverrides
      • CollectionTable
      • Column
      • DiscriminatorColumn
      • DiscriminatorType
      • DiscriminatorValue
      • Inheritance
      • InheritanceType
      • JoinColumn
      • JoinColumns
      • JoinTable
      • Lob
      • MapKeyClass
      • MapKeyColumn
      • MapKeyJoinColumn
      • MapKeyJoinColumns
      • MapsId
      • OrderColumn
      • PrimaryKeyJoinColumn
      • PrimaryKeyJoinColumns
      • SecondaryTable
      • SecondaryTables
      • Table
      • UniqueConstraint
    • SQL Queries
  • Queries
  • Metamodel
  • Miscellaneous
  • Exceptions

MapKeyJoinColumn.referencedColumnName - JPA annotation element

Annotation Element
javax.persistence.MapKeyJoinColumn
String referencedColumnName

(Optional) The name of the column referenced by this foreign key column. The referenced column is in the table of the target entity.

Default (only applies if single join column is being used.) The same name as the primary key column of the referenced table

Default value:
""
Since:
JPA 2.0
< MapKeyJoinColumn^ MapKeyJoinColumnMapKeyJoinColumns >
About ObjectDB Getting Started Support
DBMS Features Quick Tour with JPA ObjectDB FAQ
Editions and Prices JPA Console Tutorial ObjectDB Manual
Licence Web App Tutorial Forum
Attributions Java EE JPA Tutorial Issue Tracking
Privacy Spring MVC JPA Tutorial Website Search
Terms of Use Download ObjectDB Contact Us

Which JPA is Faster?

 

See a comparison of Hibernate, EclipseLink, OpenJPA, DataNucleus, MySQL, PostgreSQL, Derby, HSQLDB, DB4O by Versant, H2 Database, SQLite and ObjectDB

in the JPA Benchmark.

Copyright © 2003, 2010, 2021  ObjectDB Software, all rights reserved. The JPA API Reference Documentation (JavaDoc) on this website is derived with some adjustments from the open source JPA 2 RI (EclipseLink) and is available under the terms of the Eclipse Public License, v. 1.0 and Eclipse Distribution License, v. 1.0. The JDO API Reference Documentation (JavaDoc) on this website is derived with some adjustments from the JDO 2.2 API and is available under the terms of the Apache License, v. 2.0. Images on this website are available under these licecnes. Documentation on this website explains how to use JPA in the context of the ObjectDB Object Database but mostly relevant also for ORM JPA implementations, such as Hibernate (and HQL), EclipseLink, TopLink, OpenJPA and DataNucleus. ObjectDB is not an ORM JPA implementation but an Object Database (ODBMS) for Java with built in JPA 2 support.