Added database support, domain.data needs JPA annotations.