Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3
Hi,
I am using xDoclet and using ant script to generate sql statements and mapping files.
I have a requirement to keep the default value, if there is something null in particular field.
/
Code:
**
* @hibernate.property column="my_IND" type="yes_no"
* not-null="true"
*/
public boolean isMyInd() {
return myInd;
}
Is there a way in above xDoclet you can give the default value of āNā
Please let me know about this.
Thank You,
srigold.