|
Additionally, if you configure a UserDetails pojo with more than one role... it shows up in the ObjectTable not only for as many roles there are but for as many duplicates roles there are too.
So the duplicates are being cloned/replicated to the rendering by multiple factors. This does not appear to affect EditCollection.
It appears to be isolated to all ObjectTable renderings... So this may be HibernateListPage issue... my best guess. I will take a look. Are you using your own criteria or relying on the default implementation? A call criteria.setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY) needs to be added; let me know if it's the default implementation and I'll add it.
Hi kalle,
I wondered why But it seems like alot of overhead under the hood. Anyway, I tested it and it works. HibernateListPage.JAVA inside the ctor... You can checkin and close. Thanks Kalle, same thing is happening within the palette.
Can you nail that too... as well as other spots? Let me know if you need assistance. Additionally...
I don't see a need for HibernateListPage.JAVA Maybe you can consider removing it. Actually if you can nip this in
@Transactional that will prevent edit nightmare Fixed in HibernatePersistenceImpl
|
|||||||||||||||||||||||||||||||||||||||||||||||
It has the proper amount of users
Additionally, the join table for roles is also setup properly too.
This appears to be a collection rendering issue