X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 9640F9DC860 for ; Wed, 4 Jan 2006 16:35:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 92762-03 for ; Wed, 4 Jan 2006 16:35:12 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.202]) by postgresql.org (Postfix) with ESMTP id 5AE229DC855 for ; Wed, 4 Jan 2006 16:35:09 -0400 (AST) Received: by wproxy.gmail.com with SMTP id 57so2436016wri for ; Wed, 04 Jan 2006 12:35:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=d7yS7z5gghjdfoeCXvkJPy2+/iElGh6EZFTAcwnB+FGK45vFsxXNm5jw0LKIj51+/JfupLEOjQJIVG0gnjqyts8lMbxzommMKq4YoRIade38OpJomeD5NofbVZYMNxrPmQDVimcyk/Jy2bexzh7BVEI6mWO98Hkrt+8v1FMtSoY= Received: by 10.54.110.19 with SMTP id i19mr2915225wrc; Wed, 04 Jan 2006 12:35:10 -0800 (PST) Received: by 10.54.126.11 with HTTP; Wed, 4 Jan 2006 12:35:10 -0800 (PST) Message-ID: <526cb99d0601041235w4e94b807ved604bb674a3943b@mail.gmail.com> Date: Wed, 4 Jan 2006 12:35:10 -0800 From: Alain Rodriguez Arias To: snoof@cotse.com Subject: Re: NHibernate Cc: Jaime Casanova , pgsql-admin@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_30149_21495651.1136406910785" References: <526cb99d0601040726o6280fb91jf41f530e56967e27@mail.gmail.com> <526cb99d0601040754s689e7d5enafba9fa3b2fcc758@mail.gmail.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.314 required=5 tests=[AWL=0.313, HTML_MESSAGE=0.001] X-Spam-Score: 0.314 X-Spam-Level: X-Archive-Number: 200601/56 X-Sequence-Number: 20144 ------=_Part_30149_21495651.1136406910785 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I don't know what else to tell you???? The error I receive said: Could not insert Prision#1 My example is based on a Prision with a sequence for id and a bytea field for saving images. I don't know if this is enough. Thanks On 1/4/06, Snoof wrote: > > ---------- Alain Rodriguez Arias wrote ---------- > > ok sorry!!!! > > The thing is that I need to develop a Data Access Layer with NHibernate= . > I > > use Hibernate in a J2EE proyect without any problem. But when I > tried > > to use NHibernate for doing the same thing with C# I had troubles. I'm > able > > to create a transaction but when I try to insert or update i receive an > > error. I hope that anybody with a litlee more experience tahn me help > with > > this. > > Thanks > > > It would be much easier for people to help you if you included the actual > error. It's surprisingly > hard for us to determine what's going wrong when you don't tell us what's > actually happening. > > Kind of like you don't tell a doctor you're experiencing pain, you tell > them you're experiencing a > stabbing pain in your right temple that comes and goes as if someone were > hitting you with a > 2-by-4 containing an inappropriate number of nails. > > > -- > #!/usr/bed/snoof > use fingers; > ------=_Part_30149_21495651.1136406910785 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
I don't know what else to tell you????
The error I receive said:
Could not insert Prision#1
My example is based on a Prision with a sequence for id and a bytea fi= eld for saving images.
I don't know if this is enough.
Thanks 

 
On 1/4/06, S= noof <snoof@cotse.com> wro= te:
---------- Alain Rodriguez Arias= wrote ----------
> ok sorry!!!!
> The thing is that I need to = develop a Data Access Layer with NHibernate. I
> use Hibernate in a J2EE <J@EE> proyect without any problem. = But when I tried
> to use NHibernate for doing the same thing with C#= I had troubles. I'm able
> to create a transaction but when I try to= insert or update i receive an
> error. I hope that anybody with a litlee more experience tahn me h= elp with
> this.
> Thanks


It would be much easier fo= r people to help you if you included the actual error. It's surprisingly
hard for us to determine what's going wrong when you don't tell us what= 's actually happening.

Kind of like you don't tell a doctor you're e= xperiencing pain, you tell them you're experiencing a
stabbing pain in y= our right temple that comes and goes as if someone were hitting you with a
2-by-4 containing an inappropriate number of nails.


--
#!= /usr/bed/snoof
use fingers;

------=_Part_30149_21495651.1136406910785--