Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4254556
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T05:06:00+00:00 2026-05-21T05:06:00+00:00

I’ve only learned Java last quarter of 2010. I can say the knowledge I

  • 0

I’ve only learned Java last quarter of 2010. I can say the knowledge I gained as of now are not enough and there’s a lot of improvement. I still do studying while developing but most of my code is snippet from other current working application. I guess my way of studying the language affect the way I know it. Instead of learning the basic first, I jump up to advanced features that affect how I understand it. (I did advanced to fulfill my previous project tasks.)

I often connect to my MySql database using import java.sql.connection etc. I’m using Eclipse IDE then when I create an instance of Connection/PreparedStatement and I haven’t imported the packages. Eclipse will show related Packages that’s where mysql.jdbc.* I’ve encountered.

All though I did some research about it still its not too clear for me. The difference of those to packages.

  • Does it have pros and cons?
  • Does it have a big significance difference with performance and security?
  • Does it use in different way?
  • Is there more things to know?

I know someone here can enlighten me more about this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T05:06:00+00:00Added an answer on May 21, 2026 at 5:06 am

    To quote from the javadoc for com.mysql.jdbc.Connection:

    This interface contains methods that are considered the “vendor extension” to the JDBC API for MySQL’s implementation of java.sql.Connection.

    So, that class at least builds on top of JDBC to add more features. But it’s still JDBC at heart – you’re using this class when you use pure JDBC, you just don’t see it.

    I would say that if you can build your app using only the standard JDBC interfaces, do so. If you absolutely need MySQL-specific API features, then use the MySQL interfaces. I work with Oracle mostly, and in all the years i’ve been doing it, i’ve never had to fall back to any Oracle-specific interfaces; there’s a huge amount you can do with JDBC.

    To address your points:

    • The pro is more features; the con is less standardisation
    • I would not expect any difference with performance and security, since the two packages use the same classes under the hood (AIUI)
    • The usage should not be fundamentally different; the MySQL package should add on to the JDBC package
    • There is more to know in the MySQL package, because you need to know about JDBC to use it anyway
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want use html5's new tag to play a wav file (currently only supported
link Im having trouble converting the html entites into html characters, (&# 8217;) i
Does anyone know how can I replace this 2 symbol below from the string
this is what i have right now Drawing an RSS feed into the php,
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I want to count how many characters a certain string has in PHP, but
I am trying to understand how to use SyndicationItem to display feed which is
Seemingly simple, but I cannot find anything relevant on the web. What is the
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
That's pretty much it. I'm using Nokogiri to scrape a web page what has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.