2 Replies Latest reply on Jun 19, 2008 4:37 PM by Brenton Partridge

    Custom EntityManager or Unwanted Entites not loaded

    Kulvinder Singh Newbie

      I am working on SaaS app. I have tenentid in all of the tables and want to make sure that irrespective of the developer the HQL should be parsed and it should be looked if tenentid is given in parameter otherwise an exception is thrown.

      I am thinking of two ways:

      1. Implment the Custom Entitymanager
      2. or the Hibernate Entity should not get loaded somehow

      I don't know how to do either of the ways

      Please suggest.