• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Solved but...:]The conection dictionary at "start-up"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Solved but...:]The conection dictionary at "start-up"


  • Subject: Re: [Solved but...:]The conection dictionary at "start-up"
  • From: Ricardo Strausz <email@hidden>
  • Date: Wed, 15 Oct 2003 17:24:39 -0600

Hola Chuck!

On miircoles, octu 15, 2003, at 15:51 America/Mexico_City, Chuck Hill wrote:

EOF uses the information in jdbcInfo() when exchanging information with the
database. Usually this is set in the connection dictionary when you first
connect to the database with EOModeler. If it is not present, EOF needs to
query the DB for it before it proceeds. As you are connecting multiple
times and, I assume, don't have this in your connection dictionary, then it
must query for it multiple times. I don't know how many times you are
seeing this message in your logs, but perhaps that explains it.

Let me be more specific: at start up (when NSWindowController didLoadNib) it checks if its connection dictionary is valid, which is not becouse it does not contains the username and password. Since it is not valid, it displays a custom panel to ask the user for the missing data (and the panel will be floting arround until the user gives regitered data). Until here, no log.


If the user gives correct username and password, after checking via the EOAdaptor, the panel closes. No log.

If the user request some data (to the db), the data is queryed correctly. HERE appears the log. It appears ONLY the first time; if more data is requested (by another query) the log does not increses ---it simply remains the same.


I don't think it is an error, just EOF logging out what it found out. You
could ignore it, or you could capture the information and set it in your
connection dictionaries before connecting and see if that helps. Beware:
if the connection dictionary contains outdated or incorrect jdbcInfo(), EOF
will use it anyway. This can produce some strange results.

How can I capture this info? How do I set it in the connection dictionary?

Dino



Chuck
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: [Solved but...:]The conection dictionary at "start-up"
      • From: Chuck Hill <email@hidden>
References: 
 >Re: [Solved but...:]The conection dictionary at "start-up" (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: [Solved but...:]The conection dictionary at "start-up"
  • Next by Date: Re: [Solved but...:]The conection dictionary at "start-up"
  • Previous by thread: Re: [Solved but...:]The conection dictionary at "start-up"
  • Next by thread: Re: [Solved but...:]The conection dictionary at "start-up"
  • Index(es):
    • Date
    • Thread