Entity detached right after find?

Looks like my entity manager detaches entities right after a simple find.

	@PersistenceContext(unitName="wis-unit", type=PersistenceContextType.EXTENDED)
	private EntityManager entityManager;

       	@TransactionAttribute(TransactionAttributeType.REQUIRED)
        public void test(){

           Address adr=entityManager.find(Address.class, 2);
           System.out.println("id=2:"+adr + " "+entityManager.contains(adr));
         }

That is, the entity is flagged as ‘false’ by the above code.
Any clue as to what goes wrong here is appreciated.

Problem solved, the @Transactional annotation works for public methods only.