what do you see with Luke in index file ? 2009/5/11 Jack Ryan <[email protected]>: > > No, that just creates a second index on the File. Persisting the data > twice instead of once. > > On May 11, 3:35 pm, Jozef Sevcik <[email protected]> wrote: >> I'm not sure, but probably: >> [Indexed] >> pubic class File >> >> 2009/5/11 Jack Ryan <[email protected]>: >> >> >> >> >> >> > I have a one to one association with one entity marked as indexed and >> > the link to the other marked as indexed embedded. Both entities have >> > fields marked as store=yes. I can load the fields of the indexed >> > entity by projection from the index, but the fields of the >> > IndexedEmbedded entity always come back as null. The structure is >> > shown below. Any ideas? >> >> > [Indexed] >> > public class Document >> > { >> > [DocumentId] >> > public virtual int ID { get; set; } >> >> > [Field(Store = Store.Yes)] >> > public virtual string Name {get; set; } >> >> > [IndexedEmbedded] >> > public Virtual File File { get; set; } >> > } >> >> > pubic class File >> > { >> > public virtual byte[] Data { get; set; } >> >> > [Field(Store = Store.Yes)] >> > public virtual string Text { get; set; } >> > } >> >> -- >> Jozef > > >
-- Jozef --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "NHibernate Contrib - Development Group" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com.ar/group/nhcdevs?hl=en -~----------~----~----~----~------~----~------~--~---
