Merge pull request #21 from ChaoPang/master

Fixed a tiny bug of cataloguetree
Use magic JPA function to get object directly.