Hi, what is the smartest way for delete a dependants ejbs? For example, the OrderLine beans when i remove the Order bean. What i tought is: 1) in the ejbRemove of the OrderBean get a reference of the OrderLine home, find the lines of this all the lines, and remove one by one. It work, but it's veeeery slow. 2) raw: "DELELE FROM OrderLine WHERE order_id=<my_id>" using a db-trigger. This method is faster and easier to write, but i think leave the beans in a "strange" status, right? Other ideas? What's the best solution? Davide __________________________________________________ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]
