From: cheeser <hib...@ch...> - 2003-01-03 03:40:04
|
I'm having troubles getting my objects to persist. In my pgsql.err, i ge= t=20 error messages about "unexpected EOF on client connection." Has anyone s= een=20 this? I create the bean and call session.save() with it. When I'm done = with=20 the session, I call flush() and close() (trying to force it) and nothing = gets=20 saved. Here's part of my hibernate.xml: =09<class name=3D"org.cheeseronline.antfarm.system.CommentBean" =09=09table=3D"CommentTable" discriminator-value=3D"Comment"> =09=09<id name=3D"PrimaryKey"> =09=09=09<generator class=3D"cirrus.hibernate.id.HiLoGenerator"> =09=09=09=09<param>uid_table</param> =09=09=09=09<param>next_hi_value_column</param> =09=09=09</generator> =09=09</id> =09=09<discriminator column=3D"subclass" type=3D"string"/> =09=09<property name=3D"Text" type=3D"string" column=3D"Value"/> =09=09<property name=3D"DateEntered" type=3D"date"/> =09</class> There are other classes in there, but the code is generated so it all loo= ks=20 the same. Can anyone see what I'm doing wrong? cheeser |