essai cursor as ObjectEntity -> fail