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

Reply via email to