Use of in in NHibernate -


I may be asking that the question might be a trivial one, but still differnce between me for the following Request code to interpret:

  & lt; Id name = "key" column = "Date_Interval_Key" type = "tall" & gt; & Lt; Generator class = "sequence" & gt; & Lt; Param name = "sequence" & gt; SEQ_DATE_INTERVAL & lt; / Param & gt; & Lt; / Generator & gt; & Lt; / Id & gt;   

And there is a similar code but we do not use the ultimate tag. I do not understand what SEQ_DATE_INTERVAL does? On the Internet, I have found that:

If a parameter is required to configure or begin generator frequency, then they pass by using the param element.

But can someone tell me that this SEQ_DATE_INTERVAL (or its value) has been passed from within my code? Is this useful or can I release without using tags?

the ultimate unit's id to get the value For instructions (probably) using the Oracle sequence, if you do not specify param , NHibernate will use a normal one for it, its name is Hibernate_Sequence < / Code>.

Comments