If u want to update the DB....create ur own method in home interface....
if u want batch updates store all queries in one file and execute it by using ResultSet.excuteBatch("");
You would never put any persistence code in a CMP entity bean. Look at ejbStore(). This is the method the container uses to synchronize state. For CMP you would not put any persistence code in here - it is
Container Managed so let the container do its job. And, since this is a container managed method, you would not call it directly, instead it will be called implicitly it the bean is passivated, or when the transaction your updates were made in is committed.
[ October 10, 2005: Message edited by: Paul Sturrock ]