DAO conventions

From OpenNMS
(Redirected from DAOConventions)
Jump to: navigation, search

DAO Naming

Method naming

get

A get method is used retrieve an object. If the object does not exist, a null is returned.


load

Much like get, but upon not being able to find an id it throws an ObjectRetrievalFailureException