Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1-beta-2, 1.1-beta-3
-
None
-
Gentoo Linux amd64 - Sun JDK 1.5.0.12
Description
If I try to use the following (Hibernate) annotation:
@CollectionOfElements
@JoinTable
(
name="test",
joinColumns = [ @JoinColumn(name="TestId") ]
)
groovy compilation fails:
Compilation error: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Section.groovy: 19: unexpected token: @ @ line 19, column 2.
If I change to
@CollectionOfElements
@JoinTable (
name="gaga",
joinColumns = [ @JoinColumn(name="BoyId") ]
)
it works. So this is a newline issue somewhere.