Here's the pgsql log.  See anything wrong?

LOG:  query: set autocommit = on; commit;
LOG:  query: set autocommit = off; 
LOG:  query: select nextval ('uid_sequence')
LOG:  query: insert into CommentTable  ( Value, DateEntered, PrimaryKey, 
subclass ) values ( null, null, 4, 'Comment' )
LOG:  query: update CommentTable set Value = 'this is a test', DateEntered = 
null where PrimaryKey = 4
LOG:  query: SELECT Comme0.PrimaryKey AS PrimaryKey, Comme0.Value as Value, 
Comme0.DateEntered as DateEntered FROM CommentTable Comme0 WHERE 
Comme0.PrimaryKey = 4
LOG:  pq_recvbuf: unexpected EOF on client connection

On Thursday 02 January 2003 09:00 pm, Gavin King wrote:
> That "unexpected EOF" usually occurs if somehow the connection
> between client and database processes is broken (eg. the
> VM dies). What happens if you use a sequence, instead
> of hi/lo generation? (And remember that you can't use
> HiLoGenerator in an appserver....)
>
> > -----Original Message-----
> > From: cheeser [mailto:[EMAIL PROTECTED]
> > Sent: Friday, 3 January 2003 2:40 PM
> > To: [EMAIL PROTECTED]
> > Subject: [Hibernate] saving to pgsql
> >
> >
> > I'm having troubles getting my objects to persist.  In my
> > pgsql.err, i get
> > error messages about "unexpected EOF on client connection."
> > Has anyone seen
> > this?  I create the bean and call session.save() with it.
> > When I'm done with
> > the session, I call flush() and close() (trying to force it)
> > and nothing gets
> > saved.  Here's part of my hibernate.xml:
> >
> >     <class name="org.cheeseronline.antfarm.system.CommentBean"
> >             table="CommentTable" discriminator-value="Comment">
> >
> >             <id name="PrimaryKey">
> >                     <generator
> > class="cirrus.hibernate.id.HiLoGenerator">
> >                             <param>uid_table</param>
> >                             <param>next_hi_value_column</param>
> >                     </generator>
> >             </id>
> >             <discriminator column="subclass" type="string"/>
> >             <property name="Text" type="string" column="Value"/>
> >             <property name="DateEntered" type="date"/>
> >     </class>
> >
> > There are other classes in there, but the code is generated
> > so it all looks
> > the same.  Can anyone see what I'm doing wrong?
> >
> > cheeser
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > hibernate-devel mailing list [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/hibernate-devel
>
> ********** CAUTION - Disclaimer **********
> This message may contain privileged and confidential
> information. If you are not the intended recipient of this
> message (or responsible for delivery of the message to
> such person) you are hereby notified that any use,
> dissemination, distribution or reproduction of this message
> is prohibited. If you have received this message in error,
> you should destroy it and kindly notify the sender by reply
> e-mail. Please advise immediately if you or your employer
> do not consent to Internet e-mail for messages of this kind.
> Opinions, conclusions and other information in this
> message that do not relate to the official business of
> Expert Information Services Pty Ltd ("The Company")
> shall be understood as neither given nor endorsed by it.
>
> The Company advises that this e-mail and any attached
> files should be scanned to detect viruses. The Company
> accepts no liability for loss or damage (whether caused
> by negligence or not) resulting from the use of any
> attached files.
> **EIS******** End of Disclaimer **********



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to