Is it possible to find out about all savings accounts before or during divorce?

What to do if the partner is hiding the accounts? If the spouse of this partner will come to a bank and asks directly, they won't disclose, will they?