Added support composite primary key for REST controller