{"id":22201,"date":"2014-03-03T13:00:31","date_gmt":"2014-03-03T11:00:31","guid":{"rendered":"http:\/\/www.javacodegeeks.com\/?p=22201"},"modified":"2014-03-03T10:56:36","modified_gmt":"2014-03-03T08:56:36","slug":"the-jdbc-boolean-compatibility-list","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2014\/03\/the-jdbc-boolean-compatibility-list.html","title":{"rendered":"The JDBC Boolean Compatibility List"},"content":{"rendered":"<p>Interestingly, boolean types have been introduced only late in the SQL standard, namely in <a href=\"http:\/\/en.wikipedia.org\/wiki\/SQL:1999\">SQL:1999<\/a>. Even today, not all databases natively support <code>BOOLEAN<\/code> or <code>BIT<\/code> types. Most importantly, we can still wait for them in Oracle for a while. Here\u2019s \u201cAsk Tom\u201d\u2018s point of view from 2002 on the subject: <a href=\"https:\/\/asktom.oracle.com\/pls\/apex\/f?p=100:11:0::::P11_QUESTION_ID:6263249199595\">https:\/\/asktom.oracle.com\/pls\/apex\/f?p=100:11:0::::P11_QUESTION_ID:6263249199595<\/a><\/p>\n<p><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2014\/02\/fC69nJF.jpg\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-22312\" alt=\"fC69nJF\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2014\/02\/fC69nJF-300x225.jpg\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2014\/02\/fC69nJF-300x225.jpg 300w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2014\/02\/fC69nJF-1024x768.jpg 1024w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2014\/02\/fC69nJF.jpg 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<blockquote>\n<p>Oracle. Why U No Boolean?<\/p>\n<\/blockquote>\n<p>People have worked around this limitation by using numeric or string literals instead. For instance <code>1 \/ 0<\/code>, <code>Y \/ N<\/code>, <code>T \/ F<\/code> or the SQL standard <code>'true' \/ 'false'<\/code>.<\/p>\n<h2>Booleans in JDBC<\/h2>\n<p>From a JDBC API perspective, boolean values can be set as bind values through <code><a href=\"http:\/\/docs.oracle.com\/javase\/7\/docs\/api\/java\/sql\/PreparedStatement.html#setBoolean(int, boolean)\">PreparedStatement.setBoolean()<\/a><\/code> or fetched from result sets through <code><a href=\"http:\/\/docs.oracle.com\/javase\/7\/docs\/api\/java\/sql\/ResultSet.html#getBoolean(int)\">ResultSet.getBoolean()<\/a><\/code>, and similar methods. If your database supports booleans, the Java <code>boolean<\/code> type nicely maps to SQL <code>BOOLEAN<\/code> \u2013 even if Java\u2019s <code>Boolean<\/code> wrapper type would have been a better fit to respect <code>NULLs<\/code>.<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<p>But if you\u2019re storing boolean values in <code>INTEGER<\/code>, <code>CHAR(1)<\/code> or <code>VARCHAR(1)<\/code> columns, things look differently in various databases. Consider the following example:<\/p>\n<pre class=\" brush:java\">CREATE TABLE booleans (\r\n  val char(1)\r\n);<\/pre>\n<p>And then, run this Java program (we\u2019re using <a href=\"http:\/\/www.jooq.org\">jOOQ<\/a> to keep things concise)<\/p>\n<pre class=\" brush:java\">try {\r\n    DSL.using(configuration)\r\n       .execute(\r\n       \"insert into boolean (val) values (?)\", true);\r\n}\r\ncatch (Exception e) {\r\n    e.printStackTrace();\r\n}\r\n\r\nDSL.using(configuration)\r\n   .fetch(\"select * from booleans\");<\/pre>\n<p>Not all databases \/ JDBC drivers support the above. These databases will run the above program:<\/p>\n<ul>\n<li>Firebird (inserts \u2018Y\u2019 or \u2018N\u2019)<\/li>\n<li>HSQLDB (inserts \u20191\u2032 or \u20190\u2032)<\/li>\n<li>IBM DB2 (inserts \u20191\u2032 or \u20190\u2032)<\/li>\n<li>MariaDB (inserts \u20191\u2032 or \u20190\u2032)<\/li>\n<li>Microsoft Access (inserts \u20191\u2032 or \u20190\u2032)<\/li>\n<li>MySQL (inserts \u20191\u2032 or \u20190\u2032)<\/li>\n<li>Oracle (inserts \u20191\u2032 or \u20190\u2032)<\/li>\n<li>SQL Server (inserts \u20191\u2032 or \u20190\u2032)<\/li>\n<li>Sybase (inserts \u20191\u2032 or \u20190\u2032)<\/li>\n<\/ul>\n<p>\u2026 whereas these databases will throw an exception:<\/p>\n<ul>\n<li>CUBRID<\/li>\n<li>Derby<\/li>\n<li>H2<\/li>\n<li>Ingres<\/li>\n<li>PostgreSQL<\/li>\n<li>SQLite<\/li>\n<\/ul>\n<h2>Booleans in the SQL standard<\/h2>\n<p>It is worth mentioning, that the SQL standard specifies how to deal with <code>boolean<\/code> to string conversion in the specification of the <code>CAST()<\/code> function:<\/p>\n<pre class=\" brush:java\">6.13 &lt;cast specification&gt;\r\n[...]\r\n10) If TD is fixed-length character string, \r\n   then let LTD be the length in characters\r\n   of TD.\r\n[...]\r\ne) If SD is boolean, then\r\nCase:\r\ni) If SV is True and LTD is not less than 4, \r\n   then TV is 'TRUE' extended on the right by\r\n   LTD\u20134\r\ns.\r\nii) If SV is False and LTD is not less than 5,\r\n   then TV is 'FALSE' extended on the right by\r\n   LTD\u20135 &lt;space&gt;s.\r\niii) Otherwise, an exception condition is \r\n   raised: data exception \u2014 invalid character\r\n   value for cast.<\/pre>\n<p>So, most Open Source databases show what could be interpreted as the \u201ccorrect\u201d behaviour, even if from a historic perspective, 1\/0 should be accepted behaviours. Beware of this limitation when using an Open Source test database!<\/p>\n<p>For more information about this and the H2 database, please refer to <a href=\"https:\/\/groups.google.com\/d\/msg\/h2-database\/me_teu3Shbc\/mQ962FG3W30J\">this thread on the H2 user group<\/a>.<br \/>\n&nbsp;<\/p>\n<div style=\"border: 1px solid #D8D8D8; background: #FAFAFA; width: 100%; padding-left: 5px;\"><b><i>Reference: <\/i><\/b><a href=\"http:\/\/blog.jooq.org\/2014\/02\/25\/the-jdbc-boolean-compatibility-list\/\">The JDBC Boolean Compatibility List<\/a> from our <a href=\"http:\/\/www.javacodegeeks.com\/jcg\">JCG partner<\/a> Lukas Eder at the <a href=\"http:\/\/blog.jooq.org\/\">JAVA, SQL, AND JOOQ<\/a> blog.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Interestingly, boolean types have been introduced only late in the SQL standard, namely in SQL:1999. Even today, not all databases natively support BOOLEAN or BIT types. Most importantly, we can still wait for them in Oracle for a while. Here\u2019s \u201cAsk Tom\u201d\u2018s point of view from 2002 on the subject: https:\/\/asktom.oracle.com\/pls\/apex\/f?p=100:11:0::::P11_QUESTION_ID:6263249199595 Oracle. Why U No &hellip;<\/p>\n","protected":false},"author":68,"featured_media":112,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[662],"class_list":["post-22201","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-databases"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>The JDBC Boolean Compatibility List<\/title>\n<meta name=\"description\" content=\"Interestingly, boolean types have been introduced only late in the SQL standard, namely in SQL:1999. Even today, not all databases natively support\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.javacodegeeks.com\/2014\/03\/the-jdbc-boolean-compatibility-list.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The JDBC Boolean Compatibility List\" \/>\n<meta property=\"og:description\" content=\"Interestingly, boolean types have been introduced only late in the SQL standard, namely in SQL:1999. Even today, not all databases natively support\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2014\/03\/the-jdbc-boolean-compatibility-list.html\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2014-03-03T11:00:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Lukas Eder\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@http:\/\/twitter.com\/JavaOOQ\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Lukas Eder\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/03\\\/the-jdbc-boolean-compatibility-list.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/03\\\/the-jdbc-boolean-compatibility-list.html\"},\"author\":{\"name\":\"Lukas Eder\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/2e5562e68acc527c00dbe1cc618081b2\"},\"headline\":\"The JDBC Boolean Compatibility List\",\"datePublished\":\"2014-03-03T11:00:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/03\\\/the-jdbc-boolean-compatibility-list.html\"},\"wordCount\":336,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/03\\\/the-jdbc-boolean-compatibility-list.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"keywords\":[\"Databases\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/03\\\/the-jdbc-boolean-compatibility-list.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/03\\\/the-jdbc-boolean-compatibility-list.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/03\\\/the-jdbc-boolean-compatibility-list.html\",\"name\":\"The JDBC Boolean Compatibility List\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/03\\\/the-jdbc-boolean-compatibility-list.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/03\\\/the-jdbc-boolean-compatibility-list.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"datePublished\":\"2014-03-03T11:00:31+00:00\",\"description\":\"Interestingly, boolean types have been introduced only late in the SQL standard, namely in SQL:1999. Even today, not all databases natively support\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/03\\\/the-jdbc-boolean-compatibility-list.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/03\\\/the-jdbc-boolean-compatibility-list.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/03\\\/the-jdbc-boolean-compatibility-list.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"width\":150,\"height\":150,\"caption\":\"java-interview-questions-answers\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2014\\\/03\\\/the-jdbc-boolean-compatibility-list.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enterprise Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\\\/enterprise-java\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"The JDBC Boolean Compatibility List\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/2e5562e68acc527c00dbe1cc618081b2\",\"name\":\"Lukas Eder\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0539ed8cbcebfd5df5c2bd3048cf645d90f259da6851a005099b51edfd7a68e1?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0539ed8cbcebfd5df5c2bd3048cf645d90f259da6851a005099b51edfd7a68e1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0539ed8cbcebfd5df5c2bd3048cf645d90f259da6851a005099b51edfd7a68e1?s=96&d=mm&r=g\",\"caption\":\"Lukas Eder\"},\"description\":\"Lukas is a Java and SQL enthusiast developer. He created the Data Geekery GmbH. He is the creator of jOOQ, a comprehensive SQL library for Java, and he is blogging mostly about these three topics: Java, SQL and jOOQ.\",\"sameAs\":[\"http:\\\/\\\/blog.jooq.org\\\/\",\"http:\\\/\\\/www.linkedin.com\\\/profile\\\/view?id=6409824\",\"https:\\\/\\\/x.com\\\/http:\\\/\\\/twitter.com\\\/JavaOOQ\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/Lukas-Eder\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The JDBC Boolean Compatibility List","description":"Interestingly, boolean types have been introduced only late in the SQL standard, namely in SQL:1999. Even today, not all databases natively support","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.javacodegeeks.com\/2014\/03\/the-jdbc-boolean-compatibility-list.html","og_locale":"en_US","og_type":"article","og_title":"The JDBC Boolean Compatibility List","og_description":"Interestingly, boolean types have been introduced only late in the SQL standard, namely in SQL:1999. Even today, not all databases natively support","og_url":"https:\/\/www.javacodegeeks.com\/2014\/03\/the-jdbc-boolean-compatibility-list.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2014-03-03T11:00:31+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","type":"image\/jpeg"}],"author":"Lukas Eder","twitter_card":"summary_large_image","twitter_creator":"@http:\/\/twitter.com\/JavaOOQ","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Lukas Eder","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2014\/03\/the-jdbc-boolean-compatibility-list.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2014\/03\/the-jdbc-boolean-compatibility-list.html"},"author":{"name":"Lukas Eder","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/2e5562e68acc527c00dbe1cc618081b2"},"headline":"The JDBC Boolean Compatibility List","datePublished":"2014-03-03T11:00:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2014\/03\/the-jdbc-boolean-compatibility-list.html"},"wordCount":336,"commentCount":0,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2014\/03\/the-jdbc-boolean-compatibility-list.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","keywords":["Databases"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2014\/03\/the-jdbc-boolean-compatibility-list.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2014\/03\/the-jdbc-boolean-compatibility-list.html","url":"https:\/\/www.javacodegeeks.com\/2014\/03\/the-jdbc-boolean-compatibility-list.html","name":"The JDBC Boolean Compatibility List","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2014\/03\/the-jdbc-boolean-compatibility-list.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2014\/03\/the-jdbc-boolean-compatibility-list.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","datePublished":"2014-03-03T11:00:31+00:00","description":"Interestingly, boolean types have been introduced only late in the SQL standard, namely in SQL:1999. Even today, not all databases natively support","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2014\/03\/the-jdbc-boolean-compatibility-list.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2014\/03\/the-jdbc-boolean-compatibility-list.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2014\/03\/the-jdbc-boolean-compatibility-list.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","width":150,"height":150,"caption":"java-interview-questions-answers"},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2014\/03\/the-jdbc-boolean-compatibility-list.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/www.javacodegeeks.com\/category\/java"},{"@type":"ListItem","position":3,"name":"Enterprise Java","item":"https:\/\/www.javacodegeeks.com\/category\/java\/enterprise-java"},{"@type":"ListItem","position":4,"name":"The JDBC Boolean Compatibility List"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/2e5562e68acc527c00dbe1cc618081b2","name":"Lukas Eder","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0539ed8cbcebfd5df5c2bd3048cf645d90f259da6851a005099b51edfd7a68e1?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0539ed8cbcebfd5df5c2bd3048cf645d90f259da6851a005099b51edfd7a68e1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0539ed8cbcebfd5df5c2bd3048cf645d90f259da6851a005099b51edfd7a68e1?s=96&d=mm&r=g","caption":"Lukas Eder"},"description":"Lukas is a Java and SQL enthusiast developer. He created the Data Geekery GmbH. He is the creator of jOOQ, a comprehensive SQL library for Java, and he is blogging mostly about these three topics: Java, SQL and jOOQ.","sameAs":["http:\/\/blog.jooq.org\/","http:\/\/www.linkedin.com\/profile\/view?id=6409824","https:\/\/x.com\/http:\/\/twitter.com\/JavaOOQ"],"url":"https:\/\/www.javacodegeeks.com\/author\/Lukas-Eder"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/22201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/68"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=22201"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/22201\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/112"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=22201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=22201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=22201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}