[spring] use findOne in repositories

also add aspects to check parameters
& write tests for aspects