tag:blogger.com,1999:blog-8954277266683132656.comments2022-11-16T15:20:29.142+02:00Mysema BlogTimo Westkämperhttp://www.blogger.com/profile/11246082132389917026noreply@blogger.comBlogger80125tag:blogger.com,1999:blog-8954277266683132656.post-11932032941751370032014-04-12T19:22:31.549+03:002014-04-12T19:22:31.549+03:00The blog post shows one example, but in general it...The blog post shows one example, but in general it is useful if you to construct custom expressions via fluent calls. Always when you end up creating static helper methods for Querydsl expression creation, it might be more intuitive to use them via extension methods.Timo Westkämperhttps://www.blogger.com/profile/11246082132389917026noreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-51257183862509374582014-04-12T19:19:34.396+03:002014-04-12T19:19:34.396+03:00No, that's unfortunately not possible.No, that's unfortunately not possible.Timo Westkämperhttps://www.blogger.com/profile/11246082132389917026noreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-8823703517045446332014-04-09T20:32:10.796+03:002014-04-09T20:32:10.796+03:00I am new to QueryDSL and trying to figure out the ...I am new to QueryDSL and trying to figure out the extensions we can make on querydsl. I am confused where above mentioned extension might be helpful. Can you give me any scenario to use this extension?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-15387368191010590322014-03-26T08:33:09.803+02:002014-03-26T08:33:09.803+02:00Is it possible to left join the entities with no r...Is it possible to left join the entities with no relation using 'on' condtion alone in JPAQuery?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-46515413262567401672014-02-11T22:59:32.433+02:002014-02-11T22:59:32.433+02:00You can use MappingProjection for typesafe project...You can use MappingProjection for typesafe projections: http://www.querydsl.com/static/querydsl/3.3.1/apidocs/index.html?com/mysema/query/types/MappingProjection.htmlTimo Westkämperhttps://www.blogger.com/profile/11246082132389917026noreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-77399943963875987592014-01-31T16:14:59.355+02:002014-01-31T16:14:59.355+02:00I think that it would be nice to have projections ...I think that it would be nice to have projections that guaranties types-safety. Currently both constructor and bean population uses reflection that don't notices about problem in the compile time. Something like RowMapper that exists in Spring JDBC would be helpful.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-43322588078660636032014-01-01T00:09:54.806+02:002014-01-01T00:09:54.806+02:00Hi, I'm trying to include querydsl in Spring S...Hi, I'm trying to include querydsl in Spring STS IDE and trying to add it via this link http://ilx.github.com/m2e-querydsl/repository/0.0.5/ but to no avail. Any pointers please.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-64617669213262241482013-11-19T15:09:14.041+02:002013-11-19T15:09:14.041+02:00How can I test this?
I use JPA QueryDsl CDI JSF .....How can I test this?<br />I use JPA QueryDsl CDI JSF ...arquilian and maven, when I don't use QueryDsl my tests run good, but when I use QueryDsl my test has errors88mary256https://www.blogger.com/profile/09342575023682721196noreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-65706697538483221342013-10-28T10:02:40.106+02:002013-10-28T10:02:40.106+02:00http://www.euractiv.com/specialreport-digital-sing...http://www.euractiv.com/specialreport-digital-single-mar/france-germany-form-anti-spy-pac-news-531306 : <br />"The adoption of a proposed EU data protection regulation was delayed until 2015."Mika Kivimäkinoreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-49370502013839397022013-10-24T13:29:47.874+03:002013-10-24T13:29:47.874+03:00Querydsl supports for example constructor and bean...Querydsl supports for example constructor and bean population. Those options are available via the Projections class.Timo Westkämperhttps://www.blogger.com/profile/11246082132389917026noreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-37391454944398802052013-10-24T13:25:31.060+03:002013-10-24T13:25:31.060+03:00Hi using HQL we can get the result set as POJO cla...Hi using HQL we can get the result set as POJO class(not the domain object) for eg a transfer object. How can we acheive the same with Querydsl. I can't see any reference for returning the query results as POJO classes.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-46792651999741237542013-09-25T09:24:14.870+03:002013-09-25T09:24:14.870+03:00Yes.Yes.Timo Westkämperhttps://www.blogger.com/profile/11246082132389917026noreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-60168990988045229512013-09-25T02:35:47.559+03:002013-09-25T02:35:47.559+03:00Is QueryDSL open source? Is QueryDSL open source? otojuniorhttps://www.blogger.com/profile/13947057834449427374noreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-62041720544875399742013-09-11T16:28:31.281+03:002013-09-11T16:28:31.281+03:00I use QCustomer tableCustomer = QCustomer.customer...I use QCustomer tableCustomer = QCustomer.customer; as default, the intent becomes perfectly clear.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-76519001506341427312013-07-31T14:39:26.769+03:002013-07-31T14:39:26.769+03:00How do i query a max or count using beans?How do i query a max or count using beans?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-46372780062293099082013-06-21T10:29:40.321+03:002013-06-21T10:29:40.321+03:00The Q* classes are generated correctly but when th...The Q* classes are generated correctly but when the project gets cleaned, a lot of errors appear saying that the imports cannot be resolved (it's validating my code before generating the EntityPath classes).<br /><br />Can I configure Eclipse to don't delete Q classes or to process imports after Q classes are created?<br /><br />The only way I've found to get rid of these messages is open and save the files but I can't tell that to my team :(Ignatiusnoreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-16875993940858436412013-06-08T03:18:43.697+03:002013-06-08T03:18:43.697+03:00what user i can use for download in https://svn.be...what user i can use for download in https://svn.berlios.de/svnroot/repos/cyclos ? thankaphttps://www.blogger.com/profile/11857493450650122575noreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-21419129806724808042013-05-23T11:53:30.763+03:002013-05-23T11:53:30.763+03:00Did you try the month() method: http://www.queryds...Did you try the month() method: http://www.querydsl.com/static/querydsl/3.1.1/apidocs/com/mysema/query/types/expr/DateExpression.htmlTimo Westkämperhttps://www.blogger.com/profile/11246082132389917026noreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-13405389601089084212013-05-23T11:35:49.977+03:002013-05-23T11:35:49.977+03:00I love the conciseness and clarity of QueryDSL ove...I love the conciseness and clarity of QueryDSL over the criteria API. I need dynamic queries to remove JPQL/SQL code duplication (I have a query being used standalone and as a subquery, I have predicates and order value calculations that are reused by different queries.)<br /><br />However I finally chose to use the criteria API because I need to aggregate order values by month. With the criteria API this can be done by calling the native SQL month function. I couldn't find an easy way to do this with QueryDSL, any chance this gets added?Henno Vermeulenhttps://www.blogger.com/profile/02554767660545897675noreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-78669303772692278202013-01-18T13:21:10.139+02:002013-01-18T13:21:10.139+02:00Very useful code, thank you!Very useful code, thank you!roppahttps://www.blogger.com/profile/15988431266907318919noreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-27326892962816767412013-01-17T09:06:02.356+02:002013-01-17T09:06:02.356+02:00I love querydslI love querydslAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-78898902901261065042013-01-08T01:29:20.150+02:002013-01-08T01:29:20.150+02:00How to query by filter1 or filter2?How to query by filter1 or filter2?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-64722815483166339742012-12-20T14:26:12.042+02:002012-12-20T14:26:12.042+02:00useful code.
thanksuseful code.<br />thanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-63769648680958914672012-12-17T23:32:30.214+02:002012-12-17T23:32:30.214+02:00Excellent Tool ... TYExcellent Tool ... TYAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8954277266683132656.post-90216116925813454892012-11-13T11:39:57.536+02:002012-11-13T11:39:57.536+02:00Hello,
I have the following Situation using queryD...Hello,<br />I have the following Situation using queryDsl with Maven.<br /><br />My Project is using a 3rd Party lib containing all Entity Classes for my Prject. Lets call this 3rd party lib MyDomainsPrj.<br /><br />In my App lets call it MyAppPrj I am referring to MyDomainsPrj and here I want to use the generated Q..<br /><br />How can I configure apt-maven-plugin in MyAppPrj to proccess Entity files in MyDomainsPrj.jar and not in MyAppPrj?<br /><br />Best Regards!Anonymousnoreply@blogger.com