In below there is question and answer, What I need is I want comment about the a
ID: 3596082 • Letter: I
Question
In below there is question and answer, What I need is I want comment about the answer { feel free to agree or disagree with answer and explain why you agree or disagree}, and 2nd thing is give your own answer for the question(something diffrent than answer)
Question:
Have you used any JPA “implementation”. If yes discuss your experience. If not, what are your thoughts on JPA when compared to JDBC.
Answer:
I've used hibernate for my ORM in the past. Hibernate makes it very easy if your objects are very similar to the database schema as it saves you from having to write a lot of boilerplate JDBC code. Hibernate was most valuable to me when there were complicated relationships in the database as it made it easier from a coding perspective to query the database.
Explanation / Answer
comment:
agree because your answer is right.
answer
Taughts on jpa and jdbc:
JDBC is a standard for-----> Database Access
JPA is a standard for-----> ORM
JDBC is a standard for connecting to a DB directly and running SQL against it
One of the issues with traditional JDBC apps is that you can often have some sphagettit code where lots of mapping e.g logic is mixed in with SQL, etc.
1)JPA is a standard for----> ORM
2)objects present in code and database tables can be mapped using this technolog
3)Java classes are what developer deals with rather than sql
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.