users
[Top] [All Lists]

Hibernate and database default values

To: users@xxxxxxxxxx
Subject: Hibernate and database default values
From: Bill Manuel <bill.manuel@xxxxxxxxx>
Date: Wed, 20 Jul 2005 17:08:34 -0400
Delivered-to: mailing list users@cinjug.org
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=fBJ8ZVMlBn6lUOJd8IsP7nt+SNXbSgc1wU4YWe5/mI4QaEbPzTeTZvETpW4/1WQ41w1x+qhFr3CRvQL2bma35bOE5GOXyRLKnAgvz94AD06blAKHS0WbhJHPlkRcDwrks3DKrbBtPjyB1Bq2oG2LzHQGHCGldp8isqSpWzXjMt8=
Mailing-list: contact users-help@cinjug.org; run by ezmlm
Reply-to: Bill Manuel <bill.manuel@xxxxxxxxx>
Does anyone know how to make hibernate accept the default values of the database on an insert?  The column in the database is not nullable, so when I set the value of the property to null, the database crys becasue of the null value.

Any help is appreciated.

Thanks
Bill Manuel
<Prev in Thread] Current Thread [Next in Thread>