see Hibernate Javadoc session and check methods
- contains - Check if this instance is associated with this session.
- getIdentifier - returns the value of the identifier of this object associated with this session. Beware of the exception that is thrown if the object is not connected, each exception should be considered fatal, and the session should not be used after it.
- get - returns a constant instance of this entity class with the given identifier or null if there is no such constant instance.
"get" , , , "saveOrUpdate" ( )