1 Reply Latest reply: Feb 6, 2013 9:15 AM by JamesSutherland RSS

    SessionEventAdapter -> preLogin.

    amehta5
      Are there any recommendation on the usage of SessionEventAdapter -> preLogin.

      We have a few customizations on the TopLink sessions and an application can use one, all or any combinations of it.
      All of them have a preLogin call.
      Does calling preLogin multiple times effect performance?
      Are there any best practices?
      Thanks
        • 1. Re: SessionEventAdapter -> preLogin.
          JamesSutherland
          The preLogin event is commonly used for customizing a Session. You can also use a SessionCustomizer, which is probably better for customization, as it does not remain listening on the running Session.

          There should be no issue with having multiple listeners, assuming you have no dependencies on the order they are run.