1 Reply Latest reply on Mar 22, 2003 7:02 PM by Adrian Brock

    BMP Entity bean problem java.rmi.ServerException

    Michele Pompa Newbie

      I get a bunch of errors and I don't know where to go from here. If someone could have a look at my code PLEASE.....


      I am new to EJB's and Jboss so any help would really be appriciated. Well this is my problem I have been going though. I have created a BMP entity bean that does not have a Primary key as a parameter in it's ejbCreate. The reason is that I am using mysql and the PK is a auto_increment field. When I call home.create with a few parameters I then insert into the database these values. Once I do this I then get the int value assigned to the entry and then return the PK Integer Object back to the Container. First off I'm not sure if this is the best way or if I am alowed to do this. I have attached the ProductBean and the simple client I am using to test.