smartweb-auth . Subject.display...

View: New views
4 Messages — Rating Filter:   Alert me  

smartweb-auth . Subject.display...

by svetrini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
smartweb-devel@...
https://lists.sourceforge.net/lists/listinfo/smartweb-devel

Re: smartweb-auth . Subject.display...

by Roberto Lo Giacco-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <stvnove@...>:

> 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
> smartweb-devel@...
> 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
smartweb-devel@...
https://lists.sourceforge.net/lists/listinfo/smartweb-devel

Re: smartweb-auth . Subject.display...

by svetrini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <rlogiacco@...>:
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 <stvnove@...>:
> 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
> smartweb-devel@...
> 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
smartweb-devel@...
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
smartweb-devel@...
https://lists.sourceforge.net/lists/listinfo/smartweb-devel

Re: smartweb-auth . Subject.display...

by Roberto Lo Giacco-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <stvnove@...>:

> 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 <rlogiacco@...>:
>>
>> 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 <stvnove@...>:
>> > 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
>> > smartweb-devel@...
>> > 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
>> smartweb-devel@...
>> 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
> smartweb-devel@...
> 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
smartweb-devel@...
https://lists.sourceforge.net/lists/listinfo/smartweb-devel