<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-5753748628649508682.post761414500051215565..comments</id><updated>2012-01-12T00:13:49.575+01:00</updated><category term='Red Hat'/><category term='articles'/><category term='2009'/><category term='JPA'/><category term='Microsoft'/><category term='Performance'/><category term='JBossWS'/><category term='christmas'/><category term='cobol'/><category term='Apple'/><category term='Oracle'/><category term='IDE'/><category term='JavaOne'/><category term='RIA'/><category term='JAAS'/><category term='Programming'/><category term='GUI'/><category term='Job'/><category term='EJB'/><category term='EAO'/><category term='standard'/><category term='Class Loading'/><category term='DSL'/><category term='Java  EE'/><category term='ORM'/><category term='new year'/><category term='Mac OS X'/><category term='Artifactory'/><category term='Servlet'/><category term='database'/><category term='KDE'/><category term='JBoss'/><category term='OSGi'/><category term='Java EE'/><category term='Certification'/><category term='vacation'/><category term='Web Services'/><category term='UML'/><category term='Java'/><category term='CV'/><category term='Google'/><category term='Groovy'/><category term='employment'/><category term='Open Source'/><category term='JavaFX'/><category term='Pattern'/><category term='Development'/><category term='Netbeans'/><category term='Sun'/><category term='JDK'/><category term='Maven'/><category term='unix'/><category term='Linux'/><category term='HTML'/><category term='vpn'/><category term='Tooling'/><title type='text'>Comments on Mind Bug: Type conversion with JPA</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.mindbug.org/feeds/761414500051215565/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753748628649508682/761414500051215565/comments/default'/><link rel='alternate' type='text/html' href='http://www.mindbug.org/2008/03/type-conversion-with-jpa.html'/><author><name>Daniel Pfeifer</name><uri>http://www.blogger.com/profile/04365127655235703975</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5753748628649508682.post-3563435852250316462</id><published>2012-01-12T00:13:49.575+01:00</published><updated>2012-01-12T00:13:49.575+01:00</updated><title type='text'>Oh, sorry, after you do the &amp;#39;extend CharBoolea...</title><summary type='text'>Oh, sorry, after you do the &amp;#39;extend CharBooleanType&amp;#39; you use the following:&lt;br /&gt;&lt;br /&gt;@TypeDef(name = &amp;quot;j_n&amp;quot;, typeClass = JaNaUserType.class)&lt;br /&gt;&lt;br /&gt; and annotate your boolean field with: @Type(type = &amp;quot;j_n&amp;quot;)</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753748628649508682/761414500051215565/comments/default/3563435852250316462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753748628649508682/761414500051215565/comments/default/3563435852250316462'/><link rel='alternate' type='text/html' href='http://www.mindbug.org/2008/03/type-conversion-with-jpa.html?showComment=1326323629575#c3563435852250316462' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.mindbug.org/2008/03/type-conversion-with-jpa.html' ref='tag:blogger.com,1999:blog-5753748628649508682.post-761414500051215565' source='http://www.blogger.com/feeds/5753748628649508682/posts/default/761414500051215565' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1318510128'/></entry><entry><id>tag:blogger.com,1999:blog-5753748628649508682.post-6693128344262292718</id><published>2012-01-12T00:11:23.116+01:00</published><updated>2012-01-12T00:11:23.116+01:00</updated><title type='text'>How about you extend CharBooleanType and override ...</title><summary type='text'>How about you extend CharBooleanType and override getFalseString() and getTrueString()?</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753748628649508682/761414500051215565/comments/default/6693128344262292718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753748628649508682/761414500051215565/comments/default/6693128344262292718'/><link rel='alternate' type='text/html' href='http://www.mindbug.org/2008/03/type-conversion-with-jpa.html?showComment=1326323483116#c6693128344262292718' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.mindbug.org/2008/03/type-conversion-with-jpa.html' ref='tag:blogger.com,1999:blog-5753748628649508682.post-761414500051215565' source='http://www.blogger.com/feeds/5753748628649508682/posts/default/761414500051215565' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1318510128'/></entry><entry><id>tag:blogger.com,1999:blog-5753748628649508682.post-7106738634700575097</id><published>2011-07-08T00:08:57.934+02:00</published><updated>2011-07-08T00:08:57.934+02:00</updated><title type='text'>Cool to know it</title><summary type='text'>Cool to know it</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753748628649508682/761414500051215565/comments/default/7106738634700575097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753748628649508682/761414500051215565/comments/default/7106738634700575097'/><link rel='alternate' type='text/html' href='http://www.mindbug.org/2008/03/type-conversion-with-jpa.html?showComment=1310076537934#c7106738634700575097' title=''/><author><name>SkaRootz</name><uri>http://www.blogger.com/profile/15657168447769486678</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.mindbug.org/2008/03/type-conversion-with-jpa.html' ref='tag:blogger.com,1999:blog-5753748628649508682.post-761414500051215565' source='http://www.blogger.com/feeds/5753748628649508682/posts/default/761414500051215565' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-201992150'/></entry><entry><id>tag:blogger.com,1999:blog-5753748628649508682.post-8936890531379503731</id><published>2010-06-29T00:04:14.055+02:00</published><updated>2010-06-29T00:04:14.055+02:00</updated><title type='text'>The correct annotation is @org.hibernate.annotatio...</title><summary type='text'>The correct annotation is @org.hibernate.annotations.Type(type=&amp;quot;yes_no&amp;quot;)&lt;br /&gt;&lt;br /&gt;(it&amp;#39;s plural!)</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753748628649508682/761414500051215565/comments/default/8936890531379503731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753748628649508682/761414500051215565/comments/default/8936890531379503731'/><link rel='alternate' type='text/html' href='http://www.mindbug.org/2008/03/type-conversion-with-jpa.html?showComment=1277762654055#c8936890531379503731' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.mindbug.org/2008/03/type-conversion-with-jpa.html' ref='tag:blogger.com,1999:blog-5753748628649508682.post-761414500051215565' source='http://www.blogger.com/feeds/5753748628649508682/posts/default/761414500051215565' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1660546151'/></entry><entry><id>tag:blogger.com,1999:blog-5753748628649508682.post-5451452838007982339</id><published>2009-10-16T09:11:25.931+02:00</published><updated>2009-10-16T09:11:25.931+02:00</updated><title type='text'>Thanks, org.hibernate.annotation.Type is what I wa...</title><summary type='text'>Thanks, org.hibernate.annotation.Type is what I was looking for. &lt;br /&gt;&lt;br /&gt;One does not change JPA implementation every day, so I do thing that to have a few useful Hibernate annotations in the code is OK.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753748628649508682/761414500051215565/comments/default/5451452838007982339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753748628649508682/761414500051215565/comments/default/5451452838007982339'/><link rel='alternate' type='text/html' href='http://www.mindbug.org/2008/03/type-conversion-with-jpa.html?showComment=1255677085931#c5451452838007982339' title=''/><author><name>Ondrej Medek</name><uri>http://www.blogger.com/profile/02465917905307330831</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.mindbug.org/2008/03/type-conversion-with-jpa.html' ref='tag:blogger.com,1999:blog-5753748628649508682.post-761414500051215565' source='http://www.blogger.com/feeds/5753748628649508682/posts/default/761414500051215565' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1901658137'/></entry><entry><id>tag:blogger.com,1999:blog-5753748628649508682.post-6550197456764983440</id><published>2009-02-10T12:57:00.000+01:00</published><updated>2009-02-10T12:57:00.000+01:00</updated><title type='text'>Nice. It's really a shame for a persistence framew...</title><summary type='text'>Nice. It's really a shame for a persistence framework not to support things as common as boolean directly.&lt;BR/&gt;&lt;BR/&gt;Hint: You don't need to compare a boolean to true, so &lt;BR/&gt;this.enabled = enabled == true ? 'Y' : 'N';&lt;BR/&gt;can be simplified to&lt;BR/&gt;&lt;BR/&gt;this.enabled = enabled? 'Y' : 'N';</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753748628649508682/761414500051215565/comments/default/6550197456764983440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753748628649508682/761414500051215565/comments/default/6550197456764983440'/><link rel='alternate' type='text/html' href='http://www.mindbug.org/2008/03/type-conversion-with-jpa.html?showComment=1234267020000#c6550197456764983440' title=''/><author><name>Elvis from hell</name><uri>http://www.blogger.com/profile/04873545039800231268</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp3.blogger.com/_tFXFOm2_NKE/SEULIcE_3dI/AAAAAAAAAAg/6WOshRyvzms/S220/x3.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.mindbug.org/2008/03/type-conversion-with-jpa.html' ref='tag:blogger.com,1999:blog-5753748628649508682.post-761414500051215565' source='http://www.blogger.com/feeds/5753748628649508682/posts/default/761414500051215565' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1702794099'/></entry><entry><id>tag:blogger.com,1999:blog-5753748628649508682.post-6759757615773972006</id><published>2008-04-13T17:16:00.000+02:00</published><updated>2008-04-13T17:16:00.000+02:00</updated><title type='text'>Hi, &lt;br&gt;&lt;br&gt;Great article, after reading your arti...</title><summary type='text'>Hi, &lt;BR/&gt;&lt;BR/&gt;Great article, after reading your article, I decided to come out our own JPA Boolean data converter, an Java APT base compile time preProcess factory, which will automatically convert boolean field base on annotation's attribute. More info at my blog at &lt;A HREF="http://coolboykl.blogspot.com/2008/04/portable-jpa-boolean-magic-converter.html" REL="nofollow"&gt; here &lt;/A&gt;&lt;BR/&gt;&lt;BR/&gt;Do </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753748628649508682/761414500051215565/comments/default/6759757615773972006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753748628649508682/761414500051215565/comments/default/6759757615773972006'/><link rel='alternate' type='text/html' href='http://www.mindbug.org/2008/03/type-conversion-with-jpa.html?showComment=1208099760000#c6759757615773972006' title=''/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.mindbug.org/2008/03/type-conversion-with-jpa.html' ref='tag:blogger.com,1999:blog-5753748628649508682.post-761414500051215565' source='http://www.blogger.com/feeds/5753748628649508682/posts/default/761414500051215565' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1562661660'/></entry></feed>
