Hello I am using singleRowJdbcPersonAttributeDao to resolve principal
attributes defined as:

singleRowJdbcPersonAttributeDao
class="org.jasig.services.persondir.support.jdbc.SingleRowJdbcPersonAttributeDao">
<constructor-arg index="0" ref="dataSourceA" />
<constructor-arg index="1"
value="(SELECT a, b,  c , d
FROM u WHERE {0}
  UNION
  (SELECT a, b ,c d
  FROM r WHERE {0})" />
<property name="queryAttributeMapping">
<map>
<entry key="username" value="id" />
</map>
</property>

And get SQLException->No value specified for parameter 2

NO replacement for second {0}, so I am not able to use this query.

Is there any reason for the behaviour of this implementation?

Regards Manfredo

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to