摘要:
hiberante 这个曾经火了一时的东西,现在项目用到了 被迫学习 from users会返回对象 select id ,name from user 会返回数组。 我想返回 部分对象的内容 select user(id,name) from user; 直接from查询出来的是一个映射对象,即: 阅读全文
摘要:
to 1到10val r1= 1 to 10until 1到9 不包含最后 var r2 =1 until 10;正常语法 for (i <- r1) print(i)不加 yield 正常for循环 加yield 返回一个类型 val x1 = List(1,2,4,5,6) val s2= fo 阅读全文
摘要:
ff /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with t 阅读全文