hi,
Could anyone send me the source code to insert data into database using javabean?

Recommended Answers

All 2 Replies

Oh, I'm sure someone probably could, but that's not really the purpose of this forum. What effort have you made to learn anything about it on your own? Have you searched for any tutorials on it? Have you tried them?

If you have specific questions, ask them, but "send me code" isn't really a valid question here.

connection.commit();

That's what commands the database engine to do the actual insert. How to get to that point and how to go on from there I leave up to you, the JDBC tutorial is a great source of information for that.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.