looks like when scala 2.8.0 is out, we can use nested @annotations in our persistence layers. But how? Can anyone please transform this from java to scala? Thanks.
@NamedQueries({
@NamedQuery(name = "findAll", query="select p from Person p"),
@NamedQuery(name = "findTheOne",
query="select p from Person p where p.name = 'Neo'")
})
Stateless(name="Bean") Bean{...}
I' ve goterror: expected start of definition
– Brume