tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nacho <na...@siapi.es>
Subject RE: JDBCRealm with Oracle 8.1.6
Date Tue, 12 Sep 2000 11:37:10 GMT
I use the JDBRealm everyday with Oracle 8.1.6 as database, without
problems and the ? is a placeholder for a parameter.... 

Saludos ,
Ignacio J. Ortega


> -----Mensaje original-----
> De: Marco Arioli [mailto:arioli.m@risorsei.it]
> Enviado el: lunes 11 de septiembre de 2000 23:17
> Para: tomcat-user@jakarta.apache.org
> Asunto: JDBCRealm with Oracle 8.1.6
> 
> 
> 
> Hi,
> has someone used JDBCRealm with Oracle Server 8.1.6 as explained in
> JDBCRealm-Howto? I tried but got some errors. 
> In JDBCRealm.java I saw that the SQL statement send to Oracle is
> "SELECT * FROM <role_table> WHERE <user_name> = ?". 
> What does the char "?" mean in SQL? Oracle doesn't know it and then
> Tomcat throws an exception. 
> How can I correct this? It's not a server.xml configuration problem.
> 
> Thanx,
> Marco.
> 
> ==============================================================
> ============
>                                Marco Arioli			 
> e-mail: arioli.m@risorsei.it  
>         marioli@landini.it
> ==============================================================
> ============
> 

Mime
View raw message