DZone
Java Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Java Zone > Cayenne in a Minute

Cayenne in a Minute

Mohammed Amine Tazi user avatar by
Mohammed Amine Tazi
·
Sep. 08, 10 · Java Zone · Interview
Like (0)
Save
Tweet
5.80K Views

Join the DZone community and get the full member experience.

Join For Free

Cayenne is a powerful Java Object Relational Mapping framework. It’s open source and completely free. One of the main Cayenne distinctions is that it comes with cross-platform modeling GUI tools. This places Cayenne in the league of its own, making it a very attractive choice over both closed source commerical products and traditional “edit your own XML” open source solutions.

Cayenne supports numerous other features, including caching, a complete object query syntax, relationship pre-fetching, on-demand object and relationship faulting, object inheritance, database auto-detection, and generic persisted objects. Most importantly, Cayenne can scale up or down to virtually any project size. With a mature, 100% open source framework, an energetic user community, and a track record of solid performance in high-volume environments, Cayenne is an exceptional choice for persistence services.

Cayenne is distributed with CayenneModeler – a complete GUI mapping tool that supports reverse-engineering of RDBMS schemas, working with database mappings and generation of Java source code for the persistent objects.

Persistent Java classes are generated and synchronized with the mapping using the Modeler or alternatively with an Ant task. A database SQL schema can be generated from the Modeler and also with simple API calls.

A partial list of Cayenne features includes:

  • “Lazy” relationships and incremental fetching of data.
  • Object queries, including in-memory sorting and filtering of objects with Cayenne expression language.
  • Isolation of object graph changes between user sessions.
  • Committing all created, modified or deleted objects with a single method call.
  • Distributed cache.
  • Automatic ordering of DML operations to satisfy database integrity constraints.
  • Combining multiple physical data sources into a single virtual data source.
  • Database independence with adapters for all major databases.
  • Multiple strategies for automated primary key generation.
  • … and many more

Enjoy using Cayenne framework for your enterprise solution. Have Fun !!

From http://www.misterj2ee.com/2010/09/cayenne-in-a-minute/

Database Open source Relational database Object (computer science)

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • How Does the Database Understand and Execute Your Query?
  • How to Handle Early Startup Technical Debt (Or Just Avoid it Entirely)
  • A Guide to Understanding Vue Lifecycle Hooks
  • The Most Popular Technologies for Java Microservices Right Now

Comments

Java Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo