[scala] Using multiple annotation

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

[scala] Using multiple annotation

by nraychaudhuri@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Is it possible to use multiple field annotation inside a scala class?

For example:

@ManyToOne
@BeanProperty
var someField:String = _

I am getting compilation failures when I am trying the above.

Thanks in advance
Nilanjan

Re: [scala] Using multiple annotation

by Kevin Wright-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is this under 2.7 or 2.8?

On Fri, Nov 6, 2009 at 4:31 AM, Nilanjan Raychaudhuri
<nraychaudhuri@...> wrote:

> Hi,
>
> Is it possible to use multiple field annotation inside a scala class?
>
> For example:
>
> @ManyToOne
> @BeanProperty
> var someField:String = _
>
> I am getting compilation failures when I am trying the above.
>
> Thanks in advance
> Nilanjan
>