文章分类 - Hibernate
摘要:String s1="1231dsdgasd的飒飒大"; Clob c = new SerialClob(s1.toCharArray());//String 转 clob Blob b = new SerialBlob(s1.getBytes("GBK"));//String 转 blob// 也可以这样不传字符集名称,默认使用系统的 // Blob b = new SerialBlob(s1.getBytes()); String clobString = c.getSubString(1, (int) c.length());//clob 转 St
阅读全文
摘要:hibernate SQL dialect
阅读全文