On any level this is wrong. A student sleeping with a minor student isn't acceptable. There is line of trust that a teacher or any other person in position of authority over a student should never cross. Lately several "women" teachers have been criminally prosecuted for inappropriate relationships, actions and betraying the trust that parents and the school board place in them. For years, male teachers have been prosecuted for the same actions but not highly publicized nationally. If my son was sleeping with his teacher, I'd seek a prosecution and ensure she's never allowed to have a direct influence over children that she wasn't a parent of. If my daughter was sleeping with her teacher, I'd chop his penis, tongue and fingers off and ensure he's never put in a position to betray a childs' trust.
Teachers should never betray the trust that is given to them to foster the minds of children.
It is just as wrong for a college professor to sleep with his/her student as well. They are educators and shouldn't be opportunistic parasites who latch onto an unsuspecting student in their class.
There is no jealousy involved when you are a parent and looking out for your childs best interest although they may not understand at the time. It sounds cool to the young male student to sleep with a teacher but that's just a fantasy that should remain that way. If a teacher respects his/herself, they won't even entertain the thought of sliding in bed with a CHILD.