Hey
Fredrik Borgh wrote:
> I have another problem/question (suprise!). I have written a CMP Bean,
> where the database table uses an automatic counter as primary key. In the
> bean I have specified a field named iD of class Long that refers to this
> counter. So far, so good. The problems is that when I call the create
> method without setting any of the other fields (i.e. they are null) the
> following happens:
<snip>
This is a "classic". Yes, CMP and EntityBeans don't work well together.
See the ejb-interest archives at archives.java.sun.com for lots of
discussions on this topic.
/Rickard
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.ejboss.org
http://www.dreambean.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]