| To: | Bill Manuel <bill.manuel@xxxxxxxxx>, users@xxxxxxxxxx |
|---|---|
| Subject: | Re: [cinjug-users] Hibernate and database default values |
| From: | Chris Nelson <cnelson4eii@xxxxxxxxx> |
| Date: | Wed, 20 Jul 2005 14:30:23 -0700 (PDT) |
| Delivered-to: | mailing list users@cinjug.org |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=g1CdjgNg0NMQHsU8EN5NxZRlQ5bv7n+/W/cSEcIPjV/ZWRPSoKLaOv9e9M9EFArwTYmoQOPEzbwy9it98V+v8NwulyqMzvUO8MhPwmXqSyF+h4BeemXlImOhL2EZEuJQwrqUw3HqEHGL8woocWwx4pfFYPMmkaEUdNfJGKVbpBY= ; |
| In-reply-to: | <bd171aba05072014081a13ca1b@mail.gmail.com> |
| Mailing-list: | contact users-help@cinjug.org; run by ezmlm |
Did you mapping it with insert="false"? I believe
this would tell it to leave it out of the insert
statement entirely.
--- Bill Manuel <bill.manuel@xxxxxxxxx> wrote:
> 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
>
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [cinjug-users] Hibernate and database default values, Kedar Jog |
|---|---|
| Next by Date: | Re: [cinjug-users] Hibernate and database default values, Bill Manuel |
| Previous by Thread: | Re: [cinjug-users] Hibernate and database default values, Jon |
| Next by Thread: | Re: [cinjug-users] Hibernate and database default values, Bill Manuel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |