{"id":549,"date":"2006-03-21T00:11:07","date_gmt":"2006-03-20T22:11:07","guid":{"rendered":"http:\/\/10.0.0.2\/wordpress\/?p=549"},"modified":"2006-03-21T00:11:07","modified_gmt":"2006-03-20T22:11:07","slug":"jdbc_in_oracle_jdeveloper_and_netbeans","status":"publish","type":"post","link":"https:\/\/www.switchbl8.nl\/blog\/2006\/03\/jdbc_in_oracle_jdeveloper_and_netbeans\/","title":{"rendered":"JDBC in Oracle JDeveloper and Netbeans"},"content":{"rendered":"<p>Okay, short version. Try to add a connection to a MySQL database in Oracle&#8217;s <a href=\"http:\/\/www.oracle.com\/technology\/software\/products\/jdev\/index.html\">JDeveloper<\/a>. I&#8217;m no expert in JDeveloper, nor JDBC to MySQL, so it took me a couple of (non-working) tries before I reverted to the Fine Material (as in: RTFM) and Google to discover that adding a JDBC driver\/connection to MySQL is not a very intuitive task. It took me 20 minutes.<br \/>\nAfter playing around with the new (working) connection, I decided to try the same in <a href=\"http:\/\/www.netbeans.info\/downloads\/download.php?type=5.0\">Netbeans 5.0<\/a>. I saved on the download and the extraction of the MySQL Connector\/J archive, so let&#8217;s try to complete the task in 19 minutes. Well, actually it took me 30 seconds to add a working connection to MySQL and another 20 to my Oracle instance. Why? When you want to add a connection to a database, I want to do that in the databases-branch. I don&#8217;t want to Maintain Libraries, look for the correct syntax of an MySQL-jdbc connection, and finally repeat half of the process when defining the actual connection. Click to Add driver, Click to add connection, Click to logon. That&#8217;s how it should work. Netbeans passed with flying colors.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Okay, short version. Try to add a connection to a MySQL database in Oracle&#8217;s JDeveloper. I&#8217;m no expert in JDeveloper, nor JDBC to MySQL, so it took me a couple of (non-working) tries before I reverted to the Fine Material (as in: RTFM) and Google to discover that adding a JDBC driver\/connection to MySQL is <a href='https:\/\/www.switchbl8.nl\/blog\/2006\/03\/jdbc_in_oracle_jdeveloper_and_netbeans\/' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,8,15,16,19],"tags":[],"class_list":["post-549","post","type-post","status-publish","format-standard","hentry","category-databases","category-development","category-java","category-mysql","category-oracle","category-6-id","category-8-id","category-15-id","category-16-id","category-19-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/549","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/comments?post=549"}],"version-history":[{"count":0,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/549\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/media?parent=549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/categories?post=549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/tags?post=549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}