On Thu, Dec 17, 2009 at 1:47 AM, Turner, Robbin J <
robbin.j.tur...@boeing.com> wrote:

>
> My dataconfig.xml is
>
>   <dataConfig>
>        <dataSource name="JdbcDataSource"
> driver="oracle.jdbc.driver.OracleDriver"
>                        url="jdbc.oracle:thin:@xxx-xxx-x:1521:<sid>"
>                        username="xxxx_xxxx_xxx"
>                        password="xxxxx_xx" />
>        <document>
>                <entity name="mydocs"
>                          query=select id, obj_clob from
> myschema.objects_view where obj_clob is not null"
>                          transformer=ClobTransformer,LogTransformer"
>                          logTemplate="The nameis ${mydocs.name}"
> logLevel="debug">
>
>                <field colunm="id" />
>                <field column="obj_clob" clob="true" />
>            </entity>
>     </document>
>    </dataConfig>
>
> I'm at a loss as to what I should be checking.  Any help would be very much
> appreciated.
>
>
If you specify a name for your data source, then that name must also be
specified in your entity. I think you meant to use type="JdbcDataSource"
instead of name="JdbcDataSource". Do that and it will work.

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to