Develop

Hi , As you asked i cloned develop branch 
using git clone -b develop <url>
and i applied manually the patch (because in this version there was some mismatch ) and i recompiled source just for verifiing no sintax error. Just for information I used this patch in version 1.7.rc2 and all was ok.  
The patch is very simple and fixs 2 problems:
1)  Using javax.validation framework is thrown a runtime exception when orientdb entity manager is  present.
2) When i use targetEntity parameter in javax.persistence , it is not considered by orientdb and conseguentely it gives a side effect.