Yes, it looks strange. And I feel nobody does it.
It is used non-portable implementation of
EJB. EJB component is coupled
to Oracle VPD technology.
The idea is to verify datasource configuration on deployment,
and if database version is wrong then deny deployment.
I know that binging to datasource can be changed after deployment,
but VPD requires redeployment in this case.