New Posts New Posts RSS Feed: PrimaryKey problem
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

PrimaryKey problem

 Post Reply Post Reply
Author
aladdin View Drop Down
Newbie
Newbie
Avatar

Joined: 18-Dec-2007
Posts: 11
Post Options Post Options   Quote aladdin Quote  Post ReplyReply Direct Link To This Post Topic: PrimaryKey problem
    Posted: 13-Aug-2008 at 10:27am
All works fine but,

when use primarykey not the increment field but other field,  after  modify  the primarykey field  and save ,

and reload the entitylist showing in list  the new entity and the old entity.

 1. If clear querycash  before reload is  ok .

 2. (  The EntityManager is not the same for viewing and editing , because the Cabana open new instance
        every time.)
     In viewer after editing and before reload, the modify entity is the old entity, but at others entities
     where the primarykey is the increment field the modify entity is the original entity.


Why happen this. Thanks
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down