• 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 » Metamodel » Metamodel Attributes » Attribute » isCollection() - JPA Attribute's method

JPA Reference
  • Persistence
  • EntityManagerFactory
  • EntityManager
  • EntityTransaction
  • Annotations
  • Queries
  • Metamodel
    • Metamodel
    • Metamodel Types
    • Metamodel Attributes
      • Attribute
      • PersistentAttributeType
      • SingularAttribute
      • PluralAttribute
      • CollectionType
      • CollectionAttribute
      • SetAttribute
      • MapAttribute
      • ListAttribute
    • Bindable
  • Miscellaneous
  • Exceptions

isCollection() - JPA Attribute's method

Method
javax.persistence.metamodel.Attribute
boolean isCollection()

Is the attribute collection-valued (represents a Collection, Set, List, or Map).
Returns:
boolean indicating whether the attribute is collection-valued
Since:
JPA 2.0
< Attribute^ AttributePersistentAttributeType >
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.