Sorry, I can't help you, but you
may help me ! I guess it would help
me already if you could provide me with
your turbine.properties and maybe your
db script.

I try to run turbine against
ms sql server 2000 and have the problem
that I can read from the db, but get errors when
exiting turbine or writing to the database.

I guess the problem is, that I don't have
the right turbine adaptor for the database.

thanks,

thomas


> -----Original Message-----
> From: Frank Villarreal [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 25, 2001 11:11 AM
> To: [EMAIL PROTECTED]
> Subject: Please help! (TURBINE_USER - USER_ID)
>
>
> Can someone please tell me why the following code is returns a
> null string?
>
> <snip>
> RunData data = (RunData)request.getAttribute("rundata");
> User user = data.getUser();
> String strUserID =(String) user.getPerm("USER_ID");
> </snip>
>
> ... at this point strUserID = null!!!
>
> Turbine is accessing a MSSQLServer 7 database and the USER_ID
> field in table
> TURBINE_USER is an "int" datatype - also an identity
> column(autoincrementing).
>
> What is really bizarre, is that when I call the getPerm(String) method for
> all other fields, the values are returned. It seems that only the USER_ID
> field is returning null. And yes, the database record-field does contain a
> non-null value.
>
> Please help! I've exhausted the mailing archive, source code, and online
> docs ... still can't find an answer...
>
>
> -Frank
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to