Hi,
I found a strange behaviour using tables and Eclipselink. I am using a BeanItemContainer as a container and use the @Entity annotated classes as itemIDs. I have many different entities and would like to create tables dinamically, so BeanItemContainer is perfect.
The problem I have found is that when using the @Entity annotated classes as IDs some fields appear blank, only some fields in some entries (but always the same if I restart the server). I have found 3 workarounds:
- Disabling Eclipselink static weaving, NOT an option.
- Wrapping each entity into a POJO with the same getters and setters
- Accesing the fields of the entity with generated columns.
They all work but they are ugly and suppose a lot of work.
Any ideas of what could be going on?
Best,
Francesco