Hi all,
sorry for this stupid question but
I don'n remember where I must put
the Primary Key Class for an Entity Bean
(with a compound PK): in the same package
of the Entity Bean Class, in the package
of the Entity Bean Interfaces or in any other
package I want ?
Many Tbanks
Moreno
-
Primary Key Class (1 messages)
- Posted by: Moreno Mauri
- Posted on: July 13 2004 05:59 EDT
Threaded Messages (1)
- Primary Key Class by Senthil Chinnaiyan on July 13 2004 07:45 EDT
-
Primary Key Class[ Go to top ]
- Posted by: Senthil Chinnaiyan
- Posted on: July 13 2004 07:45 EDT
- in response to Moreno Mauri
You can keep it in any package. You have to give the class name with complete package in your ejb-jar.xml. So it doesn't matter where you keep as long as it is within your jar file.
<prim-key-class>aaa.bbb.ccc.UserPK</prim-key-class>
Thanks,
Senthil.