The error tells you that Hibernate couldn't locate the Notify constructor.
More, you are not allowed to add Integer.parseInt in your HQL query. Use the expected type from the ResultSet and do the casting inside the constructor from the incoming parameter.