title: Need to create Seq[String,String] from a result set
body: <p>I have tried to return collection object Seq[String,String]  from a function but its not worked. here is my method,Please help me to resolve this</p>
  
  <pre><code>def findAllBrandsseq:Seq[String,String] ={
                val brands =Seq[String,String]()
  
  
                   val conn = DB.getConnection()
                   try {
                      val stmt = conn.createStatement
                      val rs = stmt.executeQuery("SELECT * from m_brand")
                      while (rs.next()) {
  
                        brands:+(rs.getString("idbrand"),rs.getString("brandName"))
                      }
                  } finally {
                      conn.close()
                  }
                  return brands
   }
  </code></pre>
  
  <p>It gives following compile errors</p>
  
  <blockquote>
    <p>Read from stdout:
    D:\PROJECTS\test\Project_VendorM6\app\models\Brand.scala:49: wrong
    number of type arguments for Seq, should be 1
    D:\PROJECTS\test\Project_VendorM6\app\models\Brand.scala:49: wrong
    number of type arguments for Seq, should be 1 Read from stdout: def
    findAllBrandsseq:Seq[String,String] ={
                 def findAllBrandsseq:Seq[String,String] ={ Read from stdout: ^
                                      ^ Read from stdout: </p>
    
    <p>D:\PROJECTS\test\Project_VendorM6\app\models\Brand.scala:50: wrong</p>
    
    <blockquote>
      <p>number of type parameters for method apply: [A](elems: A*)Seq[A] in
      class GenericCompanion
      D:\PROJECTS\test\Project_VendorM6\app\models\Brand.scala:50: wrong
      number of type parameters for method apply: [A](elems: A*)Seq[A] in
      class GenericCompanion Read from stdout: val brands
      =SeqString,String
                    val brands =SeqString,String Read from stdout: ^</p>
    </blockquote>
  </blockquote>