Adam, great blog series you have on mapping by code btw. I do know the 
attributes upfront, it's just that I don't know them at compile time, I 
know them only after I've read my config-file. Correct me if I'm wrong, but 
I think the map is more for the general case where you have an EAV-type of 
database schema. For performance reasons, I'd like the attributes I add to 
be stored in regular columns.

Gunnar, Yea I've investigated a bit but I haven't found a way to do it in 
ByCode either. I also tried manipulating the mapping object hierarchy 
afterwards but I was not sure how to do that, it didn't look like 
HbmDynamicComponent had any methods to add new properties. But I am 
probably looking in the wrong places :)

//P

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/XLTg-3WTkXoJ.
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/group/nhusers?hl=en.

Reply via email to