Hi,
We have a web app that builds a number of identical session factories from
a bunch of hbm XML files in parallel to speed up the app start time. A
consequence of this is that the numerical aliases given to tables are not
consistent with each other, depending on which one grabs the integer
counter first. We don't really need the aliasing feature as all our
entities are well-named. Is there a way to control how the tables are
aliased?
Alternatively, adding the [ThreadStatic] attribute to the
NHibernate.Mapping.Table class would solve this problem. How would I go
about sending a pull request?
public class Table : IRelationalModel
{
* [ThreadStatic]*
private static int tableCounter;
// etc.
}
Cheers,
Brett
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.