how to connect to a project with DB oracle repository

I am writing some envelope to use the rules with API methodsMy repository is oracle DB.Can I use NdRomProject and NdPromProject objects for oracle DB repository?Currently I get null when I try to lookupEntry for NdRomProject. Is scenario possible?My code as far is: