Are you ever actually committing the associated entity? If not they might have the auto-committed status and then they'll be removed if they never actually are committed before shutting down the server or logging out the session that created them.
Also see this question (or rather, my answer) about auto-committed objects.