Re: [Solved but...:]The conection dictionary at "start-up"
Re: [Solved but...:]The conection dictionary at "start-up"
- Subject: Re: [Solved but...:]The conection dictionary at "start-up"
- From: Chuck Hill <email@hidden>
- Date: Wed, 15 Oct 2003 14:51:49 -0700
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.
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.
Chuck
At 03:58 PM 15/10/2003 -0600, Ricardo Strausz wrote:
>Thanks to Art, j-rochkind, Ricardo T, Michael and Arturo, I was able to
>find a solution to my problem (no without some other small problems)
>and now I can authenticate users via the connection dictionary.
>
>However, after "getting in touch" with the EOAdaptor, some how my
>run-log is beeing fulled with some *warnings* (below) which I do not
>understand; worst, I do not know if I shoud care.
>My guess is that my debug-level had been changed or that the EOAdaptor
>allways works in "detailed debug level"...
>
>Can any one point me in this direction, please?
>
>Dino
>>
>> This is correct, I am doing Cocoa/EOF Apps!
>> It is now working (code below) but a VERY strange run-log is produced
>> (I'd never seen it before):
>>
>> SEM debug: Sybase jdbcInfo() = {NON_NULLABLE_COLUMNS = "T"; DRIVER_NAME
>> = "jConnect (TM) for JDBC (TM)"; DBMS_NAME = "Sybase SQL Server";
>> typeInfo = {money = {defaultJDBCType = ("DECIMAL"); createParams = "2";
>> maxScale = "4"; minScale = "4"; isNullable = "T"; isSearchable = "T";
>> precision = "19"; }; binary = {createParams = "1"; isNullable = "T";
>> isSearchable = "T"; precision = "255"; defaultJDBCType = ("BINARY"); };
>> smalldatetime = {createParams = "0"; isNullable = "T"; isSearchable =
>> "T"; precision = "16"; defaultJDBCType = ("TIMESTAMP"); }; nchar =
>> {createParams = "1"; isNullable = "T"; isSearchable = "T"; precision =
>> "255"; defaultJDBCType = ("CHAR"); }; smallint = {createParams = "0";
>> isNullable = "T"; isSearchable = "T"; precision = "5"; defaultJDBCType
>> = ("SMALLINT"); }; numeric = {defaultJDBCType = ("NUMERIC");
>> createParams = "2"; maxScale = "38"; minScale = "0"; isNullable = "T";
>> isSearchable = "T"; precision = "38"; }; nvarchar = {createParams =
>> "1"; isNullable = "T"; isSearchable = "T"; precision = "255";
>> defaultJDBCType = ("VARCHAR"); }; decimal = {defaultJDBCType =
>> ("DECIMAL"); createParams = "2"; maxScale = "38"; minScale = "0";
>> isNullable = "T"; isSearchable = "T"; precision = "38"; }; bit =
>> {createParams = "0"; isNullable = "F"; isSearchable = "T"; precision =
>> "1"; defaultJDBCType = ("BIT"); }; char = {createParams = "1";
>> isNullable = "T"; isSearchable = "T"; precision = "255";
>> defaultJDBCType = ("CHAR"); }; sysname = {createParams = "1";
>> isNullable = "T"; isSearchable = "T"; precision = "30"; defaultJDBCType
>> = ("VARCHAR"); }; smallmoney = {defaultJDBCType = ("DECIMAL");
>> createParams = "2"; maxScale = "4"; minScale = "4"; isNullable = "T";
>> isSearchable = "T"; precision = "10"; }; image = {createParams = "0";
>> isNullable = "T"; isSearchable = "F"; precision = "2147483647";
>> defaultJDBCType = ("LONG VARBINARY"); }; float = {createParams = "0";
>> isNullable = "T"; isSearchable = "T"; precision = "8"; defaultJDBCType
>> = ("DOUBLE"); }; double precision = {createParams = "0"; isNullable =
>> "T"; isSearchable = "T"; precision = "15"; defaultJDBCType =
>> ("DOUBLE"); }; real = {createParams = "0"; isNullable = "T";
>> isSearchable = "T"; precision = "7"; defaultJDBCType = ("REAL"); };
>> tinyint = {createParams = "0"; isNullable = "T"; isSearchable = "T";
>> precision = "3"; defaultJDBCType = ("TINYINT"); }; varbinary =
>> {createParams = "1"; isNullable = "T"; isSearchable = "T"; precision =
>> "255"; defaultJDBCType = ("VARBINARY"); }; text = {createParams = "0";
>> isNullable = "T"; isSearchable = "F"; precision = "2147483647";
>> defaultJDBCType = ("LONG VARCHAR"); }; int = {createParams = "0";
>> isNullable = "T"; isSearchable = "T"; precision = "10"; defaultJDBCType
>> = ("INTEGER"); }; datetime = {createParams = "0"; isNullable = "T";
>> isSearchable = "T"; precision = "23"; defaultJDBCType = ("TIMESTAMP");
>> }; varchar = {createParams = "1"; isNullable = "T"; isSearchable = "T";
>> precision = "255"; defaultJDBCType = ("VARCHAR"); }; };
>> IDENTIFIER_QUOTE_STRING = """; ANSI92_CONFORMANCE = "ANSI92EntryLevel";
>> DRIVER_VER = "jConnect (TM) for JDBC(TM)/5.5(Build
>> 25137)/P/EBF10000/JDK12/Sun Jan 6 21:57:04 2002"; STRING_FUNCTIONS =
>> "ascii,char,concat,difference,insert,length,lcase,ltrim,repeat,right,rt
>> r
>> im,soundex,space,substring,ucase"; }
>_______________________________________________
>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.
>
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
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.