"ianfmc" wrote : ...
|
| ...
| | * @ejb.interface-method view-type="remote"
| | ...
| |
|
|
CMR-Methods have always to be local. Perhaps this is the reason.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969035#396903
"SmokingAPipe" wrote : Are you really sure that you want to have a composite
primary key? From what I understand that is almost always a bad idea.
|
Oh, yes. In such cases composite primary keys are absolutely usual an necessary.
View the original post :
http://www.jboss.com/index.html?modul
I have found the mistake:
It was the sub class "PrimaryKey" and this:
* @ejb.pk class="OrderItemBean.PrimaryKey"
It generated a primary class in the wrong package ...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966318#3966318
Reply to the post :
http://w
"lafr" wrote : Add
| * @ejb.pk-field
| to the getters comment of the PK-fields.
|
Thanks. I have done this but i am getting the following Deploymenterror:
anonymous wrote : [verifier] EJB spec violation:
| Bean : OrderItem
| Method : public OrderItemBean$PrimaryKey ejbCreate
- PK
| article - varchar
| amount - float
I do not know how to code that. I have used the search, google ... etc ...
Please show me a code for an entity bean with a composite key.
Thanks
Bronks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p
@jaikiran:
Much thanks!
It was a similar problem. I had a mistake in the packaging configuration and
packed the servlet in the JAR and the WAR.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966039#3966039
Reply to the post :
http://www.jboss.com/index.htm
vlet i am getting an java.lang.ClassCastException
in the servlet at line marked with ">>>>>>>".
I have spent 4 hour and can not find a mistake.
Please take a look at my code an tell me what is wrong.
Thanks
Bronks
package testProjekt;
|