G
gk
Hi, I have 4 questions ....i have made it in a interactive way and
tried to explain in simple way.
do you have answer ?
what is "Key class" in Entity Bean of EJB ?
you might say, for each primary key/field of a table, there should be
a class , and its a "Key class"
am i right ?
Q1 :
If so, there are so many fields in a table apart from the primary
field.
why we dont make the classes for those ? we only make a class
for Primary filed ? why ?
is it because when we pull by keywe will get value ?
or any other reason also ?
Q2:
how this primary Key class is used in the Entiyty bean ?
Q3:
can we make 2 Key class ? can we use these 2 in the Entity Bean ?
Q4: i have a column say ALPHA and has the values say A,B,C etc in 3
rows respectively.
how do i make a Key class for such column type carrying these values ?
Regards
tried to explain in simple way.
do you have answer ?
what is "Key class" in Entity Bean of EJB ?
you might say, for each primary key/field of a table, there should be
a class , and its a "Key class"
am i right ?
Q1 :
If so, there are so many fields in a table apart from the primary
field.
why we dont make the classes for those ? we only make a class
for Primary filed ? why ?
is it because when we pull by keywe will get value ?
or any other reason also ?
Q2:
how this primary Key class is used in the Entiyty bean ?
Q3:
can we make 2 Key class ? can we use these 2 in the Entity Bean ?
Q4: i have a column say ALPHA and has the values say A,B,C etc in 3
rows respectively.
how do i make a Key class for such column type carrying these values ?
Regards