0 Replies Latest reply on Nov 25, 2008 6:00 PM by Vincent Crepin

    Dynamically specifying catalog to an Entity

    Vincent Crepin Newbie

      Hello Seam users.

      I have a simple thing that I want to do but did not find a way to achieve it.

      The environment in which I develop my application has many databases that mirror a master one. Depending on many context parameters, I should point to a different catalog (MySql database) for an @Entity.

      I'm trying to find a way to specify the catalog that is normally declaratively specified in the @Table annotation of the @Entity at runtime.

      Anybody can help ?

      Thanks in advance.