« Return to Thread: when i use oracle vwp give this error (java.lang.IllegalArgumentException: luser.username )

Re: when i use oracle vwp give this error (java.lang.IllegalArgumentException: luser.username )

by John Baker :: Rate this Message:

Reply to Author | View in Thread


For Oracle, when referring to a column, just use the column name.
Omit "luser" ; just refer to "username"

John

mfa wrote:

> sir i use oracle with vwp
>
> sir see my code this code goto       catch (Exception e)  section and give
> this code in textfield
> " java.lang.IllegalArgumentException: luser.username "
>
>
> when i use mysql that give right result but when use oracel that give me
> this error
>
>
>
>
> try {
>             RowKey userRowKey = luserDataProvider.findFirst
>               (new String[] { "luser.username" },
>                new Object[] { textField4.getText()});
>            if (userRowKey == null) {
>             textField3.setText("11111");  
>                return null;
>            }               else {
>                textField3.setText("22222");  
>                 return null;          
>            }
>         }
>                  catch (Exception e) {
>             log("Cannot perform login for userid " + textField3.getText(),
> e);
>             error("Cannot perform login for userid " + textField3.getText()
> + ": " + e);
>           textField3.setText(e);  
>             return null;
>         }
>        
>
>
> please give me idea how i get right result
>
>
> thank you
>
>
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: when i use oracle vwp give this error (java.lang.IllegalArgumentException: luser.username )

LightInTheBox - Buy quality products at wholesale price!