hibernate的数组如何对应存储的

例如

class User{

private Integer[][] scoreArray=new Integer[3][2];

}

存入mysql blob字段里面去。

我尝试用jdbctemplate实现,但是始终无法成功。

读出来的blob字段转换成byte[]数组和InputStream

猜你喜欢

转载自freyja.iteye.com/blog/1231854