Weblog

All | Personal | Sun
« Previous day (Dec 5, 2005) | Main | Next day (Dec 6, 2005) »
20051206 Tuesday December 06, 2005

How to use CMP beans with generated primary key I saw a question about using CMP beans with generated primary key. Therefore, I decided to write one simple application that can explain how to use this feature. More info about generating primary key values in CMP beans is avalaible here here. I would like to note that the user should never rely on the internals of the container code. And if the user chooses to use a generated PK for CMP, it means they do not care about the value, and should not try to access it (other than as an Object).
In this post we will develop EJB module that creates product and purchase order. See Entity relationship diagram:

Posted by pblaha ( Dec 06 2005, 08:12:35 PM CET ) Permalink Comments [0]

Calendar

RSS Feeds

Search

Links

Navigation

Referers

Older blog entries