{"id":3719,"date":"2014-03-29T08:31:33","date_gmt":"2014-03-29T08:31:33","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/29\/need-direction-setobject-vs-setstring-and-saving-column-info-to-database-from-gui-collection-of-common-programming-errors\/"},"modified":"2014-03-29T08:31:33","modified_gmt":"2014-03-29T08:31:33","slug":"need-direction-setobject-vs-setstring-and-saving-column-info-to-database-from-gui-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/29\/need-direction-setobject-vs-setstring-and-saving-column-info-to-database-from-gui-collection-of-common-programming-errors\/","title":{"rendered":"Need direction: .setObject vs .setString and saving column info to database from GUI-Collection of common programming errors"},"content":{"rendered":"<p>My code has much repetition so i will just shorthand those parts. I do not know what is the problem with my code as no errors are reported.. just nothing happens.<\/p>\n<p>I am using Netbeans GUI, jdbc and MS SQL. My connection is solid with preparedstatment = pst connection = conn etc.<\/p>\n<p>My aim here is to save text and columns into a single resultset table in SQL.<\/p>\n<p>The code is activated by private void in an action:<\/p>\n<pre><code> private void INSERT1saveCustomers() {\n    int index=1;\n    int count = jTable1.getRowCount();\n\n    for(int i=0;i<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>My code has much repetition so i will just shorthand those parts. I do not know what is the problem with my code as no errors are reported.. just nothing happens. I am using Netbeans GUI, jdbc and MS SQL. My connection is solid with preparedstatment = pst connection = conn etc. My aim here [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3719","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3719","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3719"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3719\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3719"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3719"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3719"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}