I have CMPs to manage Create, Update and Remove entities, and i use BMPs to Selects and Finds.
And i have a problem :
When i create an entity with a CMP and when i make a findBy with my BMP, i find it and his values are OK.
But when i update it with my CMP, i've got the old value when i made a findBy with my BMPs.
Is anybody did already have this problem ???
Thanks in advance.
JBoss supports BMP-style custom finders on CMP entity beans. This means you could have the CMP with a findBy which calls to the database and returns a set of PKs.