JNDI InitialContext

From: Mario Linke (Mario.Link..tudent.Uni-Magdeburg.DE)
Date: Thu Sep 04 2003 - 02:44:00 EDT

  • Next message: Adrian: "Database constrains not reflectected in Model:"

    Hi,

    i want use Cayenne with JNDI in the WebSphere Application Server.
    I must do:

    Hashtable env = new Hashtable();
    env.put (Context.INITIAL_CONTEXT_FACTORY, "...");
    env.put (Context.PROVIDER_URL, "..");
    Context context = new InitialContext (env);

    Where can i configuration the Properties:
    - INITIAL_CONTEXT_FACTORY and
    - PROVIDER_URL

    Thanks, Mario.



    This archive was generated by hypermail 2.0.0 : Thu Sep 04 2003 - 02:47:02 EDT