Matt RaibleMatt Raible is a Web Developer and Java Champion. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

Hibernate's Query by Criteria (What I'd like to see)

After trying to work with Hibernate's new Query by Criteria feature in version 2.0, I've come up with a page detailing what I'd like to see. Basically, this page results from the API not working for my needs - and since it's still in its infancy, hopefully this document will help shape it future. I'll add a comments link on the document (to this post) for any feedback or comments.

Posted in Java at May 05 2003, 03:56:12 PM MDT 2 Comments
Comments:

You can change this
<code> boolean msoFilter = (msoIds.contains(new Long(-1))) ? false : true; </code>
with
<code> boolean msoFilter = !(msoIds.contains(new Long(-1))); </code>
and same for headendFilter

Posted by Rouc1 on October 01, 2004 at 12:51 PM MDT #

!Matt, thanks for appfuse. Are you familiar with the Disjunction class in Hibernate? This may solve your issue. {{{ Criteria baseCriteria = session.createCriteria(Order.class); // // Add a case-insensitive search for any part of the first, mid, last name // Disjunction disjunction = Expression.disjunction(); disjunction.add(Expression.ilike("identifier", term, MatchMode.ANYWHERE)); disjunction.add(Expression.ilike("account.accountName", term, MatchMode.ANYWHERE)); disjunction.add(Expression.ilike("account.customer.customerName", term, MatchMode.ANYWHERE)); baseCriteria.add(disjunction); }}}

Posted by dan maher on December 01, 2004 at 09:21 PM MST #

Post a Comment:
  • HTML Syntax: Allowed