We help IT Professionals succeed at work.

jsp CRUD operations with and without prepared statement also hibernatge

gudii9 asked
Last Modified: 2018-09-11

I am workign in jsp CRUD operations 0n mysql with and without prepared statements and hibernate approach. I wonder what are advanges and disadvantages and practical uses of each approach? can you please provide some sample code on each aproach to try on mysql databse preferable with primary key and foeign key kind of relationships as i am not that strong on the data modeling and relationships?
please advise
Watch Question

Top Expert 2015
Unlock this solution and get a sample of our free trial.
(No credit card required)
I can tell you about the benefit of using prepared statement to execute crud operations. The most important benefit is that prepared statement executes same query multiple times with more efficiency. This minimize the risk of sql injection attacks on your website. This is the most secure and efficient method of performing crud in PHP/MySQL.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.