Hey
Tom Jordan wrote:
> I am having a problem with the following and was hoping that someone could
> point me in the right direction.
>
> I have a 2 tables product and product_desc. product_desc is dependant upon
> product and its possible that a given product might not have a desc (its a
> long field). I thought I could represent both these tables with one
> entitybean that I have setup a CMP Entity bean. Since the desc in the
> product_desc field might not exists always, I specified a transient field
> and then wrote code in the ejbcreate(), ejbload() and ejbStore() to populate
> this field.
>
> The ejbload works just fine. The update statement in the ejbStore does not
> work at all. I am using sqlserver 7 as the database, all the permisions on
> the table exist. I turned on the sqlprofiler and can see that an update
> statement is being executed but I don't see the data changing as it is
> specified.
>
> Would any one have any ideas as to why this might not be working? Is my
> design flawed?
The basic idea should be ok. Skip the transient part though, as
transient don't mean anything in the context of entitybeans.
Any more info on the problem? I'm afraid it's rather hard to diagnose
with only the above.
/Rickard
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".