I'm using iBatis 3.0 GA and I'm trying to compile my project using Maven.

Eclipse compiles the project well, without errors, but Maven generates a 
COMPILATION ERROR like this:

MyTableMapper.java:[13,4] illegal start of expression

Here is the simple code:

public interface MyTableMapper {

  @Select("SELECT name, description FROM myTable WHERE id = #{id}")
  @Results( { 
      @Result(property = "descr", column = "description"),
  })
  List<MyTable> selectNames(Integer id);
}


Testing the codes, the problem seems to be the @Results annotation.
If I comment the @Results section, it compiles well.

Thanks in advance
---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org
For additional commands, e-mail: user-java-h...@ibatis.apache.org

Reply via email to