users
[Top] [All Lists]

Re: [cinjug-users] Hibernate and database default values

To: Bill Manuel <bill.manuel@xxxxxxxxx>
Subject: Re: [cinjug-users] Hibernate and database default values
From: twcrone@xxxxxxxxxxxxx
Date: Tue, 26 Jul 2005 13:11:59 +0000
Cc: Chris Nelson <cnelson4eii@xxxxxxxxx>, users@xxxxxxxxxx
Delivered-to: mailing list users@cinjug.org
Mailing-list: contact users-help@cinjug.org; run by ezmlm
Hey,

I am just starting to learn about how to use Hibernate on a relatively small 
project with very low usage.  However I am interested in trying to gain some 
momentum in my organization (government) to move toward lightwieght 
technologies like Spring and Hibernate and away from EJB.  Does anyone know of 
some good benchmark implementations of Hibernate (and Spring) where the 
technologies are used for large enterprise applications with success.  I need 
some examples (possibly other government organizations/agencies) to justify 
the endeavor.

Thanks,

--
twcrone@xxxxxxxxxxxxx
859-278-9634




--- Begin Message ---
To: Chris Nelson <cnelson4eii@xxxxxxxxx>
Subject: Re: [cinjug-users] Hibernate and database default values
From: Bill Manuel <bill.manuel@xxxxxxxxx>
Date: Thu, 21 Jul 2005 19:32:16 +0000
Cc: users@xxxxxxxxxx
Chris,

Thanks.  Mapping with insert="false" did the trick.

On 7/20/05, Chris Nelson <cnelson4eii@xxxxxxxxx > wrote:
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



--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>