Thanks! That looks like it fixed the problem. This list continues to be awesome.

Is the function of the name attribute actually described in the docs? I could 
not figure out what it was for.

wunder

On Jan 10, 2012, at 10:41 AM, dan whelan wrote:

> just a guess but this might need to change from
> 
> ${biblio.id}
> 
> to
> 
> ${book.id}
> 
> Since the entity name is book instead of biblio
> 
> 
> 
> On 1/10/12 10:37 AM, Walter Underwood wrote:
>> I see a missing required "title" field for every document when I'm using 
>> DIH. Yes, these documents have titles in the database. Is there a way to see 
>> what exact queries are sent to MySQL or received by MySQL?
>> 
>> Here is a relevant chunk of the dataConfig:
>> 
>>     <entity name="book" query="select * from biblio where id&lt; 10000">
>>       <field name="id" column="id" />
>>       <field name="isbn" column="isbn" />
>>       <field name="isbn" column="ean" />
>> 
>>       <entity name="biblio_title"
>>            query="select title from biblio_title where 
>> biblio_id='${biblio.id}'">
>>      <field name="title" column="title" />
>>       </entity>
>> 
>> wunder
>> --
>> Walter Underwood
>> wun...@wunderwood.org
>> Search Guy, Chegg
>> 
> 

--
Walter Underwood
wun...@wunderwood.org



Reply via email to