<?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-8954277266683132656.comments</id><updated>2012-01-15T09:32:04.821+02:00</updated><category term='datanucleus'/><category term='sonar'/><category term='cyclos'/><category term='contract'/><category term='scala'/><category term='software process'/><category term='jdo'/><category term='hudson'/><category term='mongodb'/><category term='user'/><category term='experiences'/><category term='criteria'/><category term='quality assurance'/><category term='querydsl'/><category term='agile'/><category term='sql'/><category term='qa'/><category term='jpa'/><category term='metrics'/><category term='reference'/><category term='selling'/><category term='morphia'/><category term='quality'/><category term='eclipse'/><category term='ide'/><title type='text'>Mysema Blog</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.mysema.com/feeds/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/comments/default'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Timo Westkämper</name><uri>http://www.blogger.com/profile/11246082132389917026</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='32' height='32' src='http://4.bp.blogspot.com/_zpraOkPVO3E/SZGMwDoMGOI/AAAAAAAACSY/ss9W2Tn6pb0/S220/launchpad-pic.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>24</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-3898015557766119920</id><published>2011-10-06T08:04:02.910+03:00</published><updated>2011-10-06T08:04:02.910+03:00</updated><title type='text'>A very good post!</title><content type='html'>A very good post!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/8216970972144220177/comments/default/3898015557766119920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/8216970972144220177/comments/default/3898015557766119920'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2011/08/accessing-helsinki-region-data-from.html?showComment=1317877442910#c3898015557766119920' title=''/><author><name>Jaiminho</name><uri>http://www.blogger.com/profile/04593386222442725998</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='24' height='32' src='http://3.bp.blogspot.com/_MfFi9HDLaLI/SS_YXciU3vI/AAAAAAAAADk/wCcBZAUmmBI/S220/jaime.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mysema.com/2011/08/accessing-helsinki-region-data-from.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-8216970972144220177' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/8216970972144220177' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1736307535'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-5130748728203774703</id><published>2011-08-31T14:17:22.130+03:00</published><updated>2011-08-31T14:17:22.130+03:00</updated><title type='text'>Sorry for the late reply. Here is a related ticket...</title><content type='html'>Sorry for the late reply. Here is a related ticket : https://bugs.launchpad.net/querydsl/+bug/837998</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/2947390244967901146/comments/default/5130748728203774703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/2947390244967901146/comments/default/5130748728203774703'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2010/10/using-querydsl-in-eclipse.html?showComment=1314789442130#c5130748728203774703' title=''/><author><name>Timo Westkämper</name><uri>http://www.blogger.com/profile/11246082132389917026</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='32' height='32' src='http://4.bp.blogspot.com/_zpraOkPVO3E/SZGMwDoMGOI/AAAAAAAACSY/ss9W2Tn6pb0/S220/launchpad-pic.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mysema.com/2010/10/using-querydsl-in-eclipse.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-2947390244967901146' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/2947390244967901146' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-702386866'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-1255538588998894334</id><published>2011-08-15T11:42:14.493+03:00</published><updated>2011-08-15T11:42:14.493+03:00</updated><title type='text'>There are various Querydsl tutorials on this blog ...</title><content type='html'>There are various Querydsl tutorials on this blog and the reference docs : http://source.mysema.com/static/querydsl/2.2.0/reference/html/&lt;br /&gt;&lt;br /&gt;They are all meant for beginners and intermediate users.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7951388513273165947/comments/default/1255538588998894334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7951388513273165947/comments/default/1255538588998894334'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2011/01/querying-in-sql-with-querydsl.html?showComment=1313397734493#c1255538588998894334' title=''/><author><name>Timo Westkämper</name><uri>http://www.blogger.com/profile/11246082132389917026</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='32' height='32' src='http://4.bp.blogspot.com/_zpraOkPVO3E/SZGMwDoMGOI/AAAAAAAACSY/ss9W2Tn6pb0/S220/launchpad-pic.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mysema.com/2011/01/querying-in-sql-with-querydsl.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7951388513273165947' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7951388513273165947' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-702386866'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-8170896550119246347</id><published>2011-08-15T11:40:48.743+03:00</published><updated>2011-08-15T11:40:48.743+03:00</updated><title type='text'>Hi Abhishek. Sorry for the late reply. Answered on...</title><content type='html'>Hi Abhishek. Sorry for the late reply. Answered on SO.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7510659715494607860/comments/default/8170896550119246347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7510659715494607860/comments/default/8170896550119246347'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2010/04/querydsl-as-alternative-to-jpa-2.html?showComment=1313397648743#c8170896550119246347' title=''/><author><name>Timo Westkämper</name><uri>http://www.blogger.com/profile/11246082132389917026</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='32' height='32' src='http://4.bp.blogspot.com/_zpraOkPVO3E/SZGMwDoMGOI/AAAAAAAACSY/ss9W2Tn6pb0/S220/launchpad-pic.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mysema.com/2010/04/querydsl-as-alternative-to-jpa-2.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7510659715494607860' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7510659715494607860' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-702386866'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-2299754596304530301</id><published>2011-06-17T15:32:06.193+03:00</published><updated>2011-06-17T15:32:06.193+03:00</updated><title type='text'>Hi,
I am facing an issue when i am trying to acces...</title><content type='html'>Hi,&lt;br /&gt;I am facing an issue when i am trying to access 2nd level nested element in an entity,I am getting a NullPointerException. I saw this link https://bugs.launchpad.net/querydsl/+bug/500163 but could not use it. Maybe some help. I already posted my question in http://stackoverflow.com/questions/6385036/querydsl-generated-classes-not-able-to-access-second-level-elements-for-querying .</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7510659715494607860/comments/default/2299754596304530301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7510659715494607860/comments/default/2299754596304530301'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2010/04/querydsl-as-alternative-to-jpa-2.html?showComment=1308313926193#c2299754596304530301' title=''/><author><name>Abhishek Chavan</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://blog.mysema.com/2010/04/querydsl-as-alternative-to-jpa-2.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7510659715494607860' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7510659715494607860' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-598629646'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-3621546035030220774</id><published>2011-06-08T14:24:07.477+03:00</published><updated>2011-06-08T14:24:07.477+03:00</updated><title type='text'>I followed your instructions for Eclipse Helios, b...</title><content type='html'>I followed your instructions for Eclipse Helios, but I get an exception:&lt;br /&gt;&lt;br /&gt;java.lang.NullPointerException&lt;br /&gt; at org.eclipse.jdt.internal.compiler.apt.dispatch.RoundEnvImpl.getElementsAnnotatedWith(RoundEnvImpl.java:122)&lt;br /&gt; at org.eclipse.jdt.internal.compiler.apt.dispatch.RoundEnvImpl.getElementsAnnotatedWith(RoundEnvImpl.java:186)&lt;br /&gt; at com.mysema.query.apt.DefaultConfiguration.(DefaultConfiguration.java:111)&lt;br /&gt; at com.mysema.query.apt.jpa.JPAConfiguration.(JPAConfiguration.java:57)&lt;br /&gt; at com.mysema.query.apt.hibernate.HibernateConfiguration.(HibernateConfiguration.java:33)&lt;br /&gt; at com.mysema.query.apt.hibernate.HibernateAnnotationProcessor.createConfiguration(HibernateAnnotationProcessor.java:28)&lt;br /&gt; at com.mysema.query.apt.jpa.JPAAnnotationProcessor.process(JPAAnnotationProcessor.java:45)&lt;br /&gt; at org.eclipse.jdt.internal.compiler.apt.dispatch.RoundDispatcher.handleProcessor(RoundDispatcher.java:139)&lt;br /&gt; at org.eclipse.jdt.internal.compiler.apt.dispatch.RoundDispatcher.round(RoundDispatcher.java:110)&lt;br /&gt; at org.eclipse.jdt.internal.compiler.apt.dispatch.BaseAnnotationProcessorManager.processAnnotations(BaseAnnotationProcessorManager.java:159)&lt;br /&gt; at org.eclipse.jdt.internal.apt.pluggable.core.dispatch.IdeAnnotationProcessorManager.processAnnotations(IdeAnnotationProcessorManager.java:134)&lt;br /&gt; at org.eclipse.jdt.internal.compiler.Compiler.processAnnotations(Compiler.java:836)&lt;br /&gt; at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:428)&lt;br /&gt; at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:364)&lt;br /&gt; at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.compile(BatchImageBuilder.java:178)&lt;br /&gt; at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:301)&lt;br /&gt; at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:60)&lt;br /&gt; at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:254)&lt;br /&gt; at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:173)&lt;br /&gt; at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)&lt;br /&gt; at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)&lt;br /&gt; at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)&lt;br /&gt; at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)&lt;br /&gt; at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)&lt;br /&gt; at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)&lt;br /&gt; at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)&lt;br /&gt; at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:220)&lt;br /&gt; at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:362)&lt;br /&gt; at org.eclipse.core.internal.resources.Project$1.run(Project.java:545)&lt;br /&gt; at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)&lt;br /&gt; at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:524)&lt;br /&gt; at org.eclipse.core.internal.resources.Project.build(Project.java:115)&lt;br /&gt; at org.eclipse.jdt.internal.ui.util.CoreUtility$BuildJob.run(CoreUtility.java:160)&lt;br /&gt; at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/2947390244967901146/comments/default/3621546035030220774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/2947390244967901146/comments/default/3621546035030220774'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2010/10/using-querydsl-in-eclipse.html?showComment=1307532247477#c3621546035030220774' 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://blog.mysema.com/2010/10/using-querydsl-in-eclipse.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-2947390244967901146' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/2947390244967901146' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-746412618'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-6155850496839425451</id><published>2011-04-18T00:58:04.449+03:00</published><updated>2011-04-18T00:58:04.449+03:00</updated><title type='text'>Never mind to the anonymous above.  I figured it o...</title><content type='html'>Never mind to the anonymous above.  I figured it out:)  I was just a little confused about which backend I had to use - JPA, JDO, Hibernate, etc.. &lt;br /&gt;&lt;br /&gt;I ended up generating the code using code like the above and was able to do queries using SQLTemplates and SQLQuery.&lt;br /&gt;&lt;br /&gt;Great library.  Thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7951388513273165947/comments/default/6155850496839425451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7951388513273165947/comments/default/6155850496839425451'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2011/01/querying-in-sql-with-querydsl.html?showComment=1303077484449#c6155850496839425451' 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://blog.mysema.com/2011/01/querying-in-sql-with-querydsl.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7951388513273165947' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7951388513273165947' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-606323753'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-4165331370938171755</id><published>2011-04-17T15:08:07.488+03:00</published><updated>2011-04-17T15:08:07.488+03:00</updated><title type='text'>Is there a beginner&amp;#39;s tutorial somewhere?  I&amp;#...</title><content type='html'>Is there a beginner&amp;#39;s tutorial somewhere?  I&amp;#39;m familiar with Java, but not so familiar with working with databases with Java.&lt;br /&gt;&lt;br /&gt;For example, what are my imports for &lt;br /&gt;&lt;br /&gt;&amp;quot;    java.sql.Connection conn = ...;   &lt;br /&gt;    MetaDataExporter exporter = new MetaDataExporter();  &lt;br /&gt;    exporter.setPackageName(&amp;quot;com.myproject.mydomain&amp;quot;);  &lt;br /&gt;    exporter.setTargetFolder(new File(&amp;quot;src/main/java&amp;quot;));  &lt;br /&gt;    exporter.export(conn.getMetaData());&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I need to reverse map a database and I&amp;#39;m assuming this MetaDataExporter stuff is what I need to use, but I just need a little more info.&lt;br /&gt;&lt;br /&gt;Thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7951388513273165947/comments/default/4165331370938171755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7951388513273165947/comments/default/4165331370938171755'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2011/01/querying-in-sql-with-querydsl.html?showComment=1303042087488#c4165331370938171755' 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://blog.mysema.com/2011/01/querying-in-sql-with-querydsl.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7951388513273165947' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7951388513273165947' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-606323753'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-7300166761317574978</id><published>2011-04-05T08:39:08.172+03:00</published><updated>2011-04-05T08:39:08.172+03:00</updated><title type='text'>Werner, thanks for the hint. Fixed this in the blo...</title><content type='html'>Werner, thanks for the hint. Fixed this in the blog post.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7510659715494607860/comments/default/7300166761317574978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7510659715494607860/comments/default/7300166761317574978'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2010/04/querydsl-as-alternative-to-jpa-2.html?showComment=1301981948172#c7300166761317574978' title=''/><author><name>Timo Westkämper</name><uri>http://www.blogger.com/profile/11246082132389917026</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='32' height='32' src='http://4.bp.blogspot.com/_zpraOkPVO3E/SZGMwDoMGOI/AAAAAAAACSY/ss9W2Tn6pb0/S220/launchpad-pic.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mysema.com/2010/04/querydsl-as-alternative-to-jpa-2.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7510659715494607860' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7510659715494607860' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-702386866'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-4902721066193357200</id><published>2011-04-04T19:58:57.812+03:00</published><updated>2011-04-04T19:58:57.812+03:00</updated><title type='text'>It looks like that fragment of your sample code wa...</title><content type='html'>It looks like that fragment of your sample code was never run:&lt;br /&gt;   men.relationshipStatus.eq(RelationshipStatsu.SINGLE),   &lt;br /&gt;      women.gender.eq(Gender.FEMALE),   &lt;br /&gt;      women.relationshipStatsu.eq(RelationshipStatus.SINGLE));  &lt;br /&gt;&lt;br /&gt;Find the error, it shouldn&amp;#39;t be too hard ;-)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7510659715494607860/comments/default/4902721066193357200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7510659715494607860/comments/default/4902721066193357200'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2010/04/querydsl-as-alternative-to-jpa-2.html?showComment=1301936337812#c4902721066193357200' title=''/><author><name>Werner Keil</name><uri>http://www.blogger.com/profile/00760260299716734104</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='26' height='32' src='http://3.bp.blogspot.com/_J6Ffc4zE1sg/TNQzyvxWNUI/AAAAAAAAABA/OgJJjllF2lk/S220/HPIM0797_port.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mysema.com/2010/04/querydsl-as-alternative-to-jpa-2.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7510659715494607860' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7510659715494607860' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-539772924'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-1749688621874118107</id><published>2011-03-05T10:05:30.081+02:00</published><updated>2011-03-05T10:05:30.081+02:00</updated><title type='text'>Miguel, just add the element true to the configura...</title><content type='html'>Miguel, just add the element true to the configuration. For more information see the reference documentation.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7951388513273165947/comments/default/1749688621874118107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7951388513273165947/comments/default/1749688621874118107'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2011/01/querying-in-sql-with-querydsl.html?showComment=1299312330081#c1749688621874118107' title=''/><author><name>Timo Westkämper</name><uri>http://www.blogger.com/profile/11246082132389917026</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='32' height='32' src='http://4.bp.blogspot.com/_zpraOkPVO3E/SZGMwDoMGOI/AAAAAAAACSY/ss9W2Tn6pb0/S220/launchpad-pic.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mysema.com/2011/01/querying-in-sql-with-querydsl.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7951388513273165947' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7951388513273165947' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-702386866'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-5527720784584319453</id><published>2011-03-04T20:15:44.446+02:00</published><updated>2011-03-04T20:15:44.446+02:00</updated><title type='text'>Hi, great post!
I was wondering: is there any way ...</title><content type='html'>Hi, great post!&lt;br /&gt;I was wondering: is there any way of generating the Bean classes directly from maven as well, instead of java?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7951388513273165947/comments/default/5527720784584319453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7951388513273165947/comments/default/5527720784584319453'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2011/01/querying-in-sql-with-querydsl.html?showComment=1299262544446#c5527720784584319453' title=''/><author><name>miguel</name><uri>http://mvaz.tumblr.com</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://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mysema.com/2011/01/querying-in-sql-with-querydsl.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7951388513273165947' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7951388513273165947' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-485574492'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-8468850391373981613</id><published>2011-02-10T20:55:43.326+02:00</published><updated>2011-02-10T20:55:43.326+02:00</updated><title type='text'>Thanks for the correction. Fixed and published.</title><content type='html'>Thanks for the correction. Fixed and published.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7951388513273165947/comments/default/8468850391373981613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7951388513273165947/comments/default/8468850391373981613'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2011/01/querying-in-sql-with-querydsl.html?showComment=1297364143326#c8468850391373981613' title=''/><author><name>Timo Westkämper</name><uri>http://www.blogger.com/profile/11246082132389917026</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='32' height='32' src='http://4.bp.blogspot.com/_zpraOkPVO3E/SZGMwDoMGOI/AAAAAAAACSY/ss9W2Tn6pb0/S220/launchpad-pic.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mysema.com/2011/01/querying-in-sql-with-querydsl.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7951388513273165947' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7951388513273165947' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-702386866'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-8382695476964071603</id><published>2011-02-10T16:52:16.430+02:00</published><updated>2011-02-10T16:52:16.430+02:00</updated><title type='text'>I believe there is a typo in the first section of ...</title><content type='html'>I believe there is a typo in the first section of this blog. It looks like you mistakenly copied the Maven dependencies from http://blog.mysema.com/2010/07/querying-hibernate-with-querydsl.html&lt;br /&gt;&lt;br /&gt;There is no mention of querydsl-sql anywhere and I&amp;#39;m pretty sure we don&amp;#39;t need to depend on querydsl-hql for SQL code.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7951388513273165947/comments/default/8382695476964071603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7951388513273165947/comments/default/8382695476964071603'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2011/01/querying-in-sql-with-querydsl.html?showComment=1297349536430#c8382695476964071603' title=''/><author><name>cowwoc</name><uri>http://www.blogger.com/profile/14068225120998566406</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://blog.mysema.com/2011/01/querying-in-sql-with-querydsl.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7951388513273165947' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7951388513273165947' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1825716472'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-2636583694297077076</id><published>2010-08-24T20:28:51.571+03:00</published><updated>2010-08-24T20:28:51.571+03:00</updated><title type='text'>SQLAlchemy is for Python.  Who cares?

Great work,...</title><content type='html'>SQLAlchemy is for Python.  Who cares?&lt;br /&gt;&lt;br /&gt;Great work, Timo!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7291990824746229551/comments/default/2636583694297077076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7291990824746229551/comments/default/2636583694297077076'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2010/07/querying-hibernate-with-querydsl.html?showComment=1282670931571#c2636583694297077076' 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://blog.mysema.com/2010/07/querying-hibernate-with-querydsl.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7291990824746229551' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7291990824746229551' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1130028153'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-6535781479793679555</id><published>2010-08-02T14:38:12.005+03:00</published><updated>2010-08-02T14:38:12.005+03:00</updated><title type='text'>The query extensions with static delegates are rea...</title><content type='html'>The query extensions with static delegates are really clever Querydsl feature, beyond my expectations on the original request.&lt;br /&gt;I wish standard java could have such an extension mechanism, so all static helpers / utils (commons lang and so many others) would be used as instance methods on types themselves.&lt;br /&gt;Congrats again, Timo and the Querydsl team!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/5062972334604352751/comments/default/6535781479793679555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/5062972334604352751/comments/default/6535781479793679555'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2010/07/query-extensions-in-action.html?showComment=1280749092005#c6535781479793679555' title=''/><author><name>Luis Fernando Planella Gonzalez</name><uri>http://freeit.inf.br</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://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mysema.com/2010/07/query-extensions-in-action.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-5062972334604352751' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/5062972334604352751' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1750478701'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-203137293175336042</id><published>2010-07-25T20:18:40.131+03:00</published><updated>2010-07-25T20:18:40.131+03:00</updated><title type='text'>Actually you can do that in Querydsl since two yea...</title><content type='html'>Actually you can do that in Querydsl since two years as well. I just didn&amp;#39;t describe it before in a blog post.&lt;br /&gt;&lt;br /&gt;The XML overhead for Java builds is regrettable, but Maven and Ant are the standard build tools for Java, so I added integration guides for them. &lt;br /&gt;&lt;br /&gt;Querydsl itself doesn&amp;#39;t require any XML configuration. All it needs is the APT configuration in the build tool of choice, which can be XML-based or not, and the Querydsl library dependencies.&lt;br /&gt;&lt;br /&gt;For a non-XML-based build tool for Java, consider using &lt;a href="http://buildr.apache.org/" rel="nofollow"&gt;Apache Buildr&lt;/a&gt;. It uses a Ruby DSL for declaring builds.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7291990824746229551/comments/default/203137293175336042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7291990824746229551/comments/default/203137293175336042'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2010/07/querying-hibernate-with-querydsl.html?showComment=1280078320131#c203137293175336042' title=''/><author><name>Timo Westkämper</name><uri>http://www.blogger.com/profile/11246082132389917026</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='32' height='32' src='http://4.bp.blogspot.com/_zpraOkPVO3E/SZGMwDoMGOI/AAAAAAAACSY/ss9W2Tn6pb0/S220/launchpad-pic.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mysema.com/2010/07/querying-hibernate-with-querydsl.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7291990824746229551' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7291990824746229551' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-702386866'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-3409436402501186210</id><published>2010-07-23T21:28:10.616+03:00</published><updated>2010-07-23T21:28:10.616+03:00</updated><title type='text'>you can do that in SQLAchemy since two years ... a...</title><content type='html'>you can do that in SQLAchemy since two years ... and you don&amp;#39;t need all this xml shit</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7291990824746229551/comments/default/3409436402501186210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7291990824746229551/comments/default/3409436402501186210'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2010/07/querying-hibernate-with-querydsl.html?showComment=1279909690616#c3409436402501186210' 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://blog.mysema.com/2010/07/querying-hibernate-with-querydsl.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7291990824746229551' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7291990824746229551' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-518955699'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-7698821886448532200</id><published>2010-06-30T22:26:07.599+03:00</published><updated>2010-06-30T22:26:07.599+03:00</updated><title type='text'>Andy, here is a discussion related to Parameter us...</title><content type='html'>Andy, here is a discussion related to Parameter usage : &lt;a href="http://source.mysema.com/forum/mvnforum/viewthread_thread,85" rel="nofollow"&gt;Query parameters&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;gt; With any standardised interface we&amp;#39;d likely go via a factory API, with newVariable(), newParameter() methods. &lt;br /&gt;&lt;br /&gt;Let&amp;#39;s see some further examples as code. The standalone expression model of Querydsl has many benefits, for example the default variables.&lt;br /&gt;&lt;br /&gt;But I guess getting queries, parameters and root variables from a factory is still acceptable.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7055482462383350997/comments/default/7698821886448532200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7055482462383350997/comments/default/7698821886448532200'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2010/06/typesafe-queries-for-datanucleus.html?showComment=1277925967599#c7698821886448532200' title=''/><author><name>Timo Westkämper</name><uri>http://www.blogger.com/profile/11246082132389917026</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='32' height='32' src='http://4.bp.blogspot.com/_zpraOkPVO3E/SZGMwDoMGOI/AAAAAAAACSY/ss9W2Tn6pb0/S220/launchpad-pic.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mysema.com/2010/06/typesafe-queries-for-datanucleus.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7055482462383350997' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7055482462383350997' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-702386866'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-3507423992125533001</id><published>2010-06-28T10:35:52.570+03:00</published><updated>2010-06-28T10:35:52.570+03:00</updated><title type='text'>Thx Timo. I worked out how you currently handle pa...</title><content type='html'>Thx Timo. I worked out how you currently handle params/vars. With any standardised interface we&amp;#39;d likely go via a factory API, with newVariable(), newParameter() methods.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7055482462383350997/comments/default/3507423992125533001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7055482462383350997/comments/default/3507423992125533001'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2010/06/typesafe-queries-for-datanucleus.html?showComment=1277710552570#c3507423992125533001' title=''/><author><name>andy</name><uri>http://www.blogger.com/profile/17533997034317556391</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='32' height='29' src='http://1.bp.blogspot.com/_sEclcGXdnrA/SWdgMGXD_eI/AAAAAAAAADA/acCwJGbA7lE/S220/pic_small.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mysema.com/2010/06/typesafe-queries-for-datanucleus.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7055482462383350997' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7055482462383350997' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1372361873'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-927881264224295022</id><published>2010-06-24T17:43:48.498+03:00</published><updated>2010-06-24T17:43:48.498+03:00</updated><title type='text'>I am currently on vacation, so I keep the response...</title><content type='html'>I am currently on vacation, so I keep the response brief. &lt;br /&gt;&lt;br /&gt;Parameters are supported via the Param class, both unnamed and named parameters are supported.&lt;br /&gt;&lt;br /&gt;Querydsl JDO has only query sources, the first becomes the actual source and the others act as variables.&lt;br /&gt;&lt;br /&gt;I will provider pointers etc after my holidays.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7055482462383350997/comments/default/927881264224295022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7055482462383350997/comments/default/927881264224295022'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2010/06/typesafe-queries-for-datanucleus.html?showComment=1277390628498#c927881264224295022' title=''/><author><name>Timo Westkämper</name><uri>http://www.blogger.com/profile/11246082132389917026</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='32' height='32' src='http://4.bp.blogspot.com/_zpraOkPVO3E/SZGMwDoMGOI/AAAAAAAACSY/ss9W2Tn6pb0/S220/launchpad-pic.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mysema.com/2010/06/typesafe-queries-for-datanucleus.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7055482462383350997' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7055482462383350997' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-702386866'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-1436571637026858709</id><published>2010-06-23T10:59:35.924+03:00</published><updated>2010-06-23T10:59:35.924+03:00</updated><title type='text'>Timo,
how does QueryDSL allows parameters/variable...</title><content type='html'>Timo,&lt;br /&gt;how does QueryDSL allows parameters/variables to be used in queries ? You have a &amp;quot;Param&amp;quot; class, but how do I get hold of one of those to use it in a query e.g as part of a filter ? Got an example URL ? Same goes for variables in JDO (does QueryDSL support them currently?). Thx</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7055482462383350997/comments/default/1436571637026858709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7055482462383350997/comments/default/1436571637026858709'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2010/06/typesafe-queries-for-datanucleus.html?showComment=1277279975924#c1436571637026858709' title=''/><author><name>andy</name><uri>http://www.blogger.com/profile/17533997034317556391</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='32' height='29' src='http://1.bp.blogspot.com/_sEclcGXdnrA/SWdgMGXD_eI/AAAAAAAAADA/acCwJGbA7lE/S220/pic_small.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mysema.com/2010/06/typesafe-queries-for-datanucleus.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7055482462383350997' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7055482462383350997' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1372361873'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-7606389239237104956</id><published>2010-06-22T21:23:08.439+03:00</published><updated>2010-06-22T21:23:08.439+03:00</updated><title type='text'>&amp;quot;unique&amp;quot; is just an example. The point i...</title><content type='html'>&amp;quot;unique&amp;quot; is just an example. The point is that you need different methods for multiple row and single row results. Otherwise it is not type-safe.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7055482462383350997/comments/default/7606389239237104956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7055482462383350997/comments/default/7606389239237104956'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2010/06/typesafe-queries-for-datanucleus.html?showComment=1277230988439#c7606389239237104956' title=''/><author><name>Timo Westkämper</name><uri>http://www.blogger.com/profile/11246082132389917026</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='32' height='32' src='http://4.bp.blogspot.com/_zpraOkPVO3E/SZGMwDoMGOI/AAAAAAAACSY/ss9W2Tn6pb0/S220/launchpad-pic.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mysema.com/2010/06/typesafe-queries-for-datanucleus.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7055482462383350997' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7055482462383350997' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-702386866'/></entry><entry><id>tag:blogger.com,1999:blog-8954277266683132656.post-9117333439820908386</id><published>2010-06-22T21:18:11.539+03:00</published><updated>2010-06-22T21:18:11.539+03:00</updated><title type='text'>&amp;gt; What about queries which return customer.firs...</title><content type='html'>&amp;gt; What about queries which return customer.firstName results?&lt;br /&gt;&lt;br /&gt;Obviously the user could set the type parameter of the query as that of the result class. The disadvantage of that is that the user needs to know it at the point of creating the query, though likely they ought to know at that point anyway. The advantage of setting it in execute() (your next option) is that you can reuse a query and change the result and also result class. So option 2 likely would be better for that reason alone. &lt;br /&gt;&lt;br /&gt;Not sure Option 3 (no explicit execute()) would get many votes, from a backwards compatibility point-of-view never mind anything else.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7055482462383350997/comments/default/9117333439820908386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8954277266683132656/7055482462383350997/comments/default/9117333439820908386'/><link rel='alternate' type='text/html' href='http://blog.mysema.com/2010/06/typesafe-queries-for-datanucleus.html?showComment=1277230691539#c9117333439820908386' title=''/><author><name>andy</name><uri>http://www.blogger.com/profile/17533997034317556391</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='32' height='29' src='http://1.bp.blogspot.com/_sEclcGXdnrA/SWdgMGXD_eI/AAAAAAAAADA/acCwJGbA7lE/S220/pic_small.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mysema.com/2010/06/typesafe-queries-for-datanucleus.html' ref='tag:blogger.com,1999:blog-8954277266683132656.post-7055482462383350997' source='http://www.blogger.com/feeds/8954277266683132656/posts/default/7055482462383350997' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1372361873'/></entry></feed>
