openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daryl Stultz <da...@6degrees.com>
Subject Re: Nullable unique constraints
Date Mon, 29 Jun 2009 15:21:51 GMT
On Fri, Jun 26, 2009 at 5:56 PM, Adam Hardy <adam.sql@cyberspaceroad.com>wrote:

> Daryl Stultz on 26/06/09 13:15, wrote:
>
> Presumably you have tried setting the column definition in your metadata to
> nullable=true and unique=true ?


Can you be more specific? Are you referring to @Column or columnDefinition
within @Column? I don't think columnDefinition would be much help since it
only provides help in generating the DDL. I don't see "unique" as an option
to @Column and "nullable" defaults to true. Maybe you can give me an
example.

Thanks.

-- 
Daryl Stultz
_____________________________________
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
mailto:daryl@6degrees.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message