Reuse objects in DAO
Created by: freemo
When copying from DAO to beans and back there should be a mechanism to cache and reuse objects that are equal (by id or internal name) rather than creating new instances.
This works both ways, when persisting a bean to the DAO it should look for the existing one int he database and modify it rather than always creating new ones.