Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-30-2008, 08:55 AM
Member
 
Join Date: May 2008
Posts: 5
naresh_m is on a distinguished road
How to generate primary key in EJB
Helloo to all,
How to generate a primary key using ejb .....
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-17-2008, 10:41 AM
Member
 
Join Date: Mar 2008
Posts: 27
linuxswan is on a distinguished road
What primary key you want to generate that is in the Database you are talking, ofcourse in the Enterprise java beans the Entity bean is moving all around this Primary key only.

Entity bean represent shared business data. i.e the data there in the database which is accessible by multiple clients. We maintain the client state using primary key and Entity beans.

Client state refers a record in the database, to search the records we need some rule so there comes the primary key only but not this is like the database primary key for talking.

i.e you can retrieve the data from the table where there is no primary key field is there. But by using this primary key we are accessing the record in the database and doing the operations

Last edited by linuxswan : 07-21-2008 at 03:37 PM. Reason: i think some more information you need, i will
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting primary key information from Pervasive SQL rmaadil Database 0 05-14-2008 10:46 AM
Getting primary key information in Pervasive SQL rmaadil Database 0 05-14-2008 08:18 AM
JCombox DropDown is displayed on primary monitor when the box is in between two monit Kalpana.k AWT / Swing 1 05-01-2008 04:19 PM
how to determine the primary key osval Database 1 08-07-2007 03:31 AM
how to generate dynamic pdf valery Advanced Java 1 08-06-2007 11:01 PM


All times are GMT +3. The time now is 08:39 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org