Yep, original post with more details on the cause, as best I could tell:
http://groups.google.com/group/fluent-nhibernate/browse_thread/thread/5624ee2958c4b802/0a21995747d340d3
2009/10/29 Hudson Akridge
> I believe this has already been reported as an issue. Sounds very familiar.
> Not sure if
hmm.. I told you I'm a beginner, but, all the guidence I see in NH related
articles, etc.. is to use Guid as PK (vs. using Identty Columns), not to
avoid using it!
Anyway, glad to know you're managing your way aroudn it, so, am I trying :).
Regards,
--
Mohamed Meligy
Information Analyst (.Net Te
I believe this has already been reported as an issue. Sounds very familiar.
Not sure if it's been resolved yet. Might try doing some digging on here. I
know Paul had fixed something like this and just recently merged it into the
main upstream branch on Git. Have you tried grabbing the most recent b
What's the error you get?
Sounds like you should be using a Subclass mapping with a discriminator
column. Do you have a discriminator column in your table?
You say that you have a style column, does that contain the ID for a style?
And that style exists in another table? Or do you mean that you hav
We just upgraded to v1 RC and most of mode dose not map. I removed all
of the inline JoinedSubclass structures that were working so well and
replaced them with SubclassMap.
This is my issue; if my sub class is inheriting from an interface and
an entity base class the SubclassMap does not work. Ex
Hi,
I have one table that I would like to map to two entities.
My table "ZoneStyles" has several columns and one of them is the
"Style" column.
I would like to map the "style" column to the style entity. My style
entity has several properties though, and I want to map only one
property.
I keep ge
I found it. Sorry :(
On Oct 29, 2:38 pm, James Gregory wrote:
> On the exception, also check the InnerException.
>
> On Thu, Oct 29, 2009 at 6:34 PM, sk wrote:
>
> > Hi Guys,
>
> > Is there a way to validate the mapping? I sometimes get errors that
> > there is an configuration error and I shou
On the exception, also check the InnerException.
On Thu, Oct 29, 2009 at 6:34 PM, sk wrote:
>
> Hi Guys,
>
> Is there a way to validate the mapping? I sometimes get errors that
> there is an configuration error and I should check the potential
> errors collection. Where can I find that collectio
Hi Guys,
Is there a way to validate the mapping? I sometimes get errors that
there is an configuration error and I should check the potential
errors collection. Where can I find that collection?
Thanks,
--~--~-~--~~~---~--~~
You received this message because you a
You can still use hibernate.config.xml files with FNH, and it's probably the
easiest way to go about it imo. Don't specify the dialect, database driver,
or connection string in FNH, but use the xml file, which will be found on
each assemblies startup. So the Test assemblies hibernate config doc wil
Hi,
i'm working with fluent nhibernate.
propably you have any example??
Thanks
Peter
On 29 Okt., 14:02, Hudson Akridge wrote:
> You shouldn't have any issues using that code as far as I can see. What you
> need are two different hibernate.config.xml files, one in your production
> assembly, an
You shouldn't have any issues using that code as far as I can see. What you
need are two different hibernate.config.xml files, one in your production
assembly, and the other in your testing assembly. One using SqLite in
memory, and the other using your production sql database.
For testing, on each
Hi Mohamed,
i have tried this as well, but no success.
So it seems the best not to test for GUID in PrimaryKey
Peter
On 27 Okt., 17:53, Mohamed Meligy wrote:
> Hey,
> Sorry for posibly very late reply. Trying to learn with you myself.
>
> *Did you try Guid.NewGuid() instead?*
>
> Regards,
>
> -
Hi,
<
It looks to me like you've painted yourself in to a corner with a
singleton-type scenario. This is basically impossible to test in a
maintainable way.
>
Jason, you are right.
Can anybody point me in the right direction:
What i'm looking for is a way to use Configuration() and the creation
o
14 matches
Mail list logo