I added a OneToOne Realtionship to one of my entity classes. To give this field a value in my existing datasets i wrote an upgrade method. The cool thing is that
SELECT u FROM Unit u WHERE u.lastPosition IS NOT NULL
returns no datasets.
Is this a bug or am i missing something?