It means just that - the SessionFactory class you are referring to does not have that method. Given you have not mentioned which API you are using, and have not posted any code, we can only guess...