{"id":83,"date":"2010-01-12T02:20:01","date_gmt":"2010-01-12T07:20:01","guid":{"rendered":"http:\/\/blog.espol.edu.ec\/daws\/?p=83"},"modified":"2010-01-12T02:24:06","modified_gmt":"2010-01-12T07:24:06","slug":"mysql-netbeans","status":"publish","type":"post","link":"https:\/\/blog.espol.edu.ec\/daws\/2010\/01\/12\/mysql-netbeans\/","title":{"rendered":"MySQL - Netbeans"},"content":{"rendered":"<p>Primero creamos una BD llamada en este caso persistencia, y una tabla (por el momento) llamada estudiante.<\/p>\n\n\t\t<style type=\"text\/css\">\n\t\t\t#gallery-1 {\n\t\t\t\tmargin: auto;\n\t\t\t}\n\t\t\t#gallery-1 .gallery-item {\n\t\t\t\tfloat: left;\n\t\t\t\tmargin-top: 10px;\n\t\t\t\ttext-align: center;\n\t\t\t\twidth: 33%;\n\t\t\t}\n\t\t\t#gallery-1 img {\n\t\t\t\tborder: 2px solid #cfcfcf;\n\t\t\t}\n\t\t\t#gallery-1 .gallery-caption {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\t\t\t\/* see gallery_shortcode() in wp-includes\/media.php *\/\n\t\t<\/style>\n\t\t<div id='gallery-1' class='gallery galleryid-83 gallery-columns-3 gallery-size-thumbnail'><dl class='gallery-item'>\n\t\t\t<dt class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/blog.espol.edu.ec\/daws\/files\/2010\/01\/crearbd.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/blog.espol.edu.ec\/daws\/files\/2010\/01\/crearbd-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" aria-describedby=\"gallery-1-84\" \/><\/a>\n\t\t\t<\/dt>\n\t\t\t\t<dd class='wp-caption-text gallery-caption' id='gallery-1-84'>\n\t\t\t\tTabla estudiante encerrada\n\t\t\t\t<\/dd><\/dl><dl class='gallery-item'>\n\t\t\t<dt class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/blog.espol.edu.ec\/daws\/files\/2010\/01\/persistencia.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/blog.espol.edu.ec\/daws\/files\/2010\/01\/persistencia-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/dt><\/dl>\n\t\t\t<br style='clear: both' \/>\n\t\t<\/div>\n\n<p>Para que aparezca nuestro mapa de google escribimos el siguiente c\u00f3digo:<\/p>\n<p>&lt;html&gt;<br \/>\n&lt;head&gt;<br \/>\n&lt;meta http-equiv=\"Content-Type\" content=\"text\/html; charset=UTF-8\"&gt;<br \/>\n&lt;title&gt;JSP Page&lt;\/title&gt;<br \/>\n&lt;script src=\"http:\/\/maps.google.com\/maps?file=api&amp;amp;v=2&amp;amp;key=ABQIAAAAItmGOOWMATeNPPtTtijirhR-fISyzToDSzqXOaLLC8suCdwDiBTdP3cQ_557h_feZH57rO5xmvrxMw&amp;sensor=false\"<br \/>\ntype=\"text\/javascript\"&gt;&lt;\/script&gt;<br \/>\n&lt;script type=\"text\/javascript\"&gt;<\/p>\n<p>function initialize() {<br \/>\nif (GBrowserIsCompatible()) {<br \/>\nvar map = new GMap2(document.getElementById(\"map\"));<br \/>\nmap.setCenter(new GLatLng(-2.200623, -79.921678), 11);<br \/>\nmap.setUIToDefault();<br \/>\n}<br \/>\n}<br \/>\n&lt;\/script&gt;<br \/>\n&lt;\/head&gt;<br \/>\n&lt;body onload=\"initialize()\" onunload=\"GUnload()\"&gt;<br \/>\n&lt;div id=\"map\" style=\"width: 500px; height: 300px\"&gt;&lt;\/div&gt;<br \/>\n&lt;form action=\"Servlet\" method=\"get\"&gt;<br \/>\n&lt;input type=\"submit\" value=\"Consultar\"&gt;<br \/>\n&lt;\/form&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/html&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Primero creamos una BD llamada en este caso persistencia, y una tabla (por el momento) llamada estudiante. Para que aparezca nuestro mapa de google escribimos el siguiente c\u00f3digo: &lt;html&gt; &lt;head&gt; &lt;meta http-equiv=\"Content-Type\" content=\"text\/html; charset=UTF-8\"&gt; &lt;title&gt;JSP Page&lt;\/title&gt; &lt;script src=\"http:\/\/maps.google.com\/maps?file=api&amp;amp;v=2&amp;amp;key=ABQIAAAAItmGOOWMATeNPPtTtijirhR-fISyzToDSzqXOaLLC8suCdwDiBTdP3cQ_557h_feZH57rO5xmvrxMw&amp;sensor=false\" type=\"text\/javascript\"&gt;&lt;\/script&gt; &lt;script type=\"text\/javascript\"&gt; function initialize() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById(\"map\")); map.setCenter(new GLatLng(-2.200623, -79.921678), [&hellip;]<\/p>\n","protected":false},"author":187,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-83","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/blog.espol.edu.ec\/daws\/wp-json\/wp\/v2\/posts\/83","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.espol.edu.ec\/daws\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.espol.edu.ec\/daws\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/daws\/wp-json\/wp\/v2\/users\/187"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/daws\/wp-json\/wp\/v2\/comments?post=83"}],"version-history":[{"count":3,"href":"https:\/\/blog.espol.edu.ec\/daws\/wp-json\/wp\/v2\/posts\/83\/revisions"}],"predecessor-version":[{"id":87,"href":"https:\/\/blog.espol.edu.ec\/daws\/wp-json\/wp\/v2\/posts\/83\/revisions\/87"}],"wp:attachment":[{"href":"https:\/\/blog.espol.edu.ec\/daws\/wp-json\/wp\/v2\/media?parent=83"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/daws\/wp-json\/wp\/v2\/categories?post=83"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/daws\/wp-json\/wp\/v2\/tags?post=83"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}