persistence@glassfish.java.net

Re: Code changes relevant to Issue 272 : java2db support for UniqueConstraint

From: Pramod Gopinath <Pramod.Gopinath_at_Sun.COM>
Date: Wed, 15 Mar 2006 14:20:02 -0800

Hi Gordon
  Thanks for the code update.

 Yes, I had missed the change required to be done to
SequenceProcessor.java and thanks for clarifying the change that had to
be done in EntityMappingsXMLProcessor.java
I am lost on why we need to provide a method
DatabaseTable.addUniqueConstraint(String columnName). What I have
provided is
DatabaseTable.addUniqueConstraint.addUniqueConstraint(String[] columnName).

I did a search from the entity-persistence module and could not find any
other case where we need an addUniqueConstraint(String columnName).

Would it be better/faster if I could give U a call to discuss this issue
in which case could U provide your phone number.
 
Thanks
Pramod

Gordon Yorke wrote:
> Hello Pramod,
> I really can't review these changes. You have missed updates to SequenceProcessor which I have attached here. Updating EntityMappingsXMLProcessor.java is going to require other classes to change unless you use the attached example and provide a DatabaseTable.addUniqueConstraint(String columnName).
> --Gordon
>