The problem in mapping the display as unique is we can't have multiple
accounts for the same person:
rlogiacco (Roberto Lo Giacco)
r.logiacco (Roberto Lo Giacco)
will became impossible.... which is something I wish to avoid as this
puts a limitation to our module...
2008/5/27 Stefano V <st...@gm...>:
> No, you don't misunderstood me. :-)
> If display is mapped with unique ( costraint in hibernate mappings, of
> course )
> I think we can implement in a more consistent way methods like equals and
> hashcode...
>
>
> 2008/5/27 Roberto Lo Giacco <rlo...@sm...>:
>>
>> Hi Stefano,
>> if I don't misunderstand you, you are suggesting to add a unique
>> constraint on the hibernate mapping of the display property on
>> Subject.
>> My question is: why do you think it should be unique? What benefits we
>> can obtain from such approach?
>>
>> 2008/5/26 Stefano Vetrini <st...@gm...>:
>> > What do you think about make it unique ?
>> >
>> > Bye
>> > s.
>> >
>> >
>> >
>> > -------------------------------------------------------------------------
>> > This SF.net email is sponsored by: Microsoft
>> > Defy all challenges. Microsoft(R) Visual Studio 2008.
>> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> > _______________________________________________
>> > smartweb-devel mailing list
>> > sma...@li...
>> > https://lists.sourceforge.net/lists/listinfo/smartweb-devel
>> >
>>
>>
>>
>> --
>> Roberto Lo Giacco
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> smartweb-devel mailing list
>> sma...@li...
>> https://lists.sourceforge.net/lists/listinfo/smartweb-devel
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> smartweb-devel mailing list
> sma...@li...
> https://lists.sourceforge.net/lists/listinfo/smartweb-devel
>
>
--
Roberto Lo Giacco
|