Posts

Showing posts from 2012

Hibernate Joins Without Associations

Normally, when specifying joins in in Hibernate or NHibernate using HQL it's via the mapped associations.  For example: select {p} from Person p join p.Address a where a.AddressType = 'Mailing' The explicit join is through the mapped one-to-many association from Person to Address. We recently had a need to join two entities that didn't have associations. For that, we can resort to joins in the where clause: select {p} from Person p, Address a where p.PersonId = a.PersonId  and a.AddressType = 'Mailing'

Fun with SOA Security, WCF, Windows Azure Service Bus, and BizTalk

I've been having some fun lately on an integration project involving and on-premises BizTalk 2010 implementation and the Windows Azure Service Bus.  We've run across some interesting challenges that aren't well documented, if at all, so I wanted to share with you all.  I'll take a tutorial approach through real world scenarios as well as talk a little bit about the academics. The business requirement:  Publish a BizTalk Orchestration to the Windows Azure Service Bus and secure the service with client/service certificates. Seems simple enough, but the implementation had me banging my head against a wall.  Rather than throw it all at you at once, let's start small... A Simple WCF Service Let's start with a simple WCF service and client that we'll use throughout the rest of the discussion/lab.  I won't go to too much into the detail of creating WCF services and consuming them.  I 'm assuming if you're researc...