Which statement is correct ?
session.contains() method to determine if an instance belongs to the session cache.
session.contains() method to determine if an instance belongs to the data base
Both are correct
none of the above