--- David Nielsen <[EMAIL PROTECTED]> wrote: > Hi... > > > I cant figure out how to set a column unique and not > null, > i have my primary key: > > /** @ejb:pk-field > * @ejb:interface-method view-type="local" > * @ejb:persistent-field > */ > public abstract Integer getPrimaryKey(); > > /** @ejb:interface-method view-type="local" > * @ejb:persistent-field > * > @ejb:what-needs-to-be-set-to-set-unique-not-null-in-the-table?????? > */ > public abstract String getUniqueNotNullCulumn(); > > > > but i then have a field that needs to be unique, and > not null, > > how do i do that if i want Xdoclet to create my > tables ??
xdoclet does not create your tables. your CMP layer does this. for @jboss.persistence there is a parameter not-null="true" I'm not sure whether jboss CMP supports unique property values. regards, ===== ----[ Konstantin Pribluda ( ko5tik ) ]---------------- Zu Verst�rkung meines Teams suche ich ab Sofort einen Softwareentwickler[In] f�r die Festanstellung. Arbeitsort: Mainz Skills: Programieren, Kentnisse in OpenSource-Bereich ----[ http://www.pribluda.de ]------------------------ __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
