How to create a JDBC for Oracle and MySQL?

ehm ... not? just use the one that exists.
but if you are talking about a persistence layer, I would recommend using JPA or hibernate rather than JDBC.

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.