-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: NULL for int column in postgres
PostPosted: Tue Aug 03, 2010 10:28 am 
Newbie

Joined: Tue Aug 03, 2010 9:28 am
Posts: 1
For Postgres database, NULL is allowed for integer column.
want to insert NULL for int type (Foreign key violation while inserting 0 (default value of int datatype in java), NULL insertion required as per design for non refereed entities ) and can not change primitive int data type to Integer class for Beans

Any ways to do it ?

Thanks,
Siddharth Shah


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.