actually I did notice further problems down the road with the insert-after- stuff. I was setting PK to -1 in the ejbCreate(). Creation went fine, but a find was finding this -1 PK'ed entity bean too. So I got rid of the insert-after- stuff. Better to readjust your db constraints. setPK() and setFK() type calls need not be publicised in the local interface, only in the bean class is fine, that way you know only bean class calls with "wrong" PKs. The published API stands intact and correct.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860379#3860379 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860379 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
