[jboss-user] [EJB 3.0] - Re: NOT NULL columns with a DEFAULT

fhh do-not-reply at jboss.com
Thu Apr 12 05:27:29 EDT 2007


Not sure if this is what you want: You can simply set a default value on the java side, either in the constructor or using the factory pattern.

As far as I know there is no JPA way to set a default value.

Regards

Felix

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036646#4036646

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036646



More information about the jboss-user mailing list