java - How to know which framework is used? -
i have been made involve in new project , unaware of framework used.after long time came know spring used because saw imports like
import org.springframework.beans.factory.annotation.configurable;
and sure spring used.now unaware of whether hibernate used or jpa used.when asked colleague telling jpa used , telling hibernate means confused.can body please throw light regarding this.how know jpa or hibernate used.
which packages should imported jpa or hibernate.any hint please
what going on, project using hibernate implemention of jpa.
to check , see jpa used, check code , see whether or not can find entitymanager
or entitymanagerfactory
one way see if hibernate being used, check spring configuration , see whether or not hibernatejpavendoradapter
used anywhere
in case have persistence.xml file, hibernatejpavendoradapter
shouldn't present anywhere, , can check if hibernate mentioned anywhere in file
Comments
Post a Comment