Search code examples
playframeworkdependenciesanorm

Update Anorm dependency version in play project


I am using play 2.3.1. The latest version of anorm updated to convert the sql array type column (multi value) to List[T]. I can not get the anorm.Column.columnToArray package in to my project. I have added the resolvers and dependency for anorm, as "play" %% "anorm" % "2.10", but dependency for anorm is not getting updated. What is the correct form of adding the anorm as stand alone dependency. Please any one help to solve this issue.


Solution

  • http://repo.typesafe.com/typesafe/releases/com/typesafe/play/anorm_2.11/ or http://repo.typesafe.com/typesafe/maven-releases/com/typesafe/play/anorm_2.11/

    libraryDependencies ++= Seq(
      jdbc,
    //  anorm,
      "com.typesafe.play" % "anorm_2.11" % "2.3.2",
      "mysql" % "mysql-connector-java" % "5.1.31"
    )
    

    I'm not sure that this version compatible with 2.3.1