RE: Primary key in an EJB

2000-11-08 Thread Lee, Se Hee
Title: RE: Primary key in an EJB Table doesn't have to have a primary, but there should be column that uniques defines each row different. This usually is a primary key, but any index column should work... For these primary keys or index columns, you should create a proper primary key f

Primary key in an EJB

2000-11-08 Thread Seung Bang
Hi, How should I specify a primary key in an Entity bean, for which a db table really does not have a primary key? To my understanding, a database table with a primary key can be represented with Entity beans as follows: ejbActivate(): primKey = ctx.getPrimaryKey(); ejbPassivate():