Added package check before adding @Length hibernate annotation registration