Menu

#85 create(Data) methods in CMP beans do not set the primary key

open
EJB (58)
2
2003-02-23
2003-02-20
vanitas
No

CMP create() methods getting SomethingData class as
their only argument do merely call setData() and they do
not set the primary key. This is not nice as using such
create methods are virtually impossible (an excpetion is
thrown).

Discussion

  • Aslak Hellesřy

    Aslak Hellesřy - 2003-02-23
    • priority: 5 --> 2
     
  • Aslak Hellesřy

    Aslak Hellesřy - 2003-02-23

    Logged In: YES
    user_id=49846

    Data objects are deprecated in XDoclet, so this RFE gets low
    pri.

     

Log in to post a comment.