I have a table that contains a CLOB that I need to manage the persistence of but I would like JBoss to manage the persistence of the rest of the fields. Here is what I did and I would like some comments back: 1. Create a CMP Bean and mark all fields except my CLOB as CMP fields 2. Override ejbStore() to update my BMP field (CLOB) 3. Override ejbLoad() to load my BMP field (CLOB) 4. Call ejbStore() in ejbPostCreate() Now this is working but I want to know if step 4 is correct? My dilemna is that if I update my BMP field in the ejbCreate() method, the row does not exist yet, so that fails and I don't want to create the entire row in the ejbCreate() method, that is the container's responsibility. Two questions: 1. Is this the preferred way to handle the BMP of a single field? 2. Not a problem yet, but what if I wanted to BMP a field in that was not nullable? That would have to be done in the creation of the row.. All comments are appreciated! Thanks, Steve __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] List Help?: [EMAIL PROTECTED]
