- 博客(12)
- 收藏
- 关注
转载 本机连接虚拟机的数据库
本机连接虚拟机的mysql: 1.查看本机和虚拟机的ip地址 ipconfig 2.查看能否相互Ping通,关掉虚拟机的防火墙 3.ping通之后,进行从本机对虚拟机的操作出现null, message from server: "Host 'Lenovo-PC(主机的名称)' is n...
2018-07-31 23:17:00
217
转载 解决端口占用问题
cmd -> netstart -ano -> netstart -ano|findstr 7789(端口号)->taskkill /f/t/im 14709(该端口的PID) ...
2018-06-28 21:08:00
112
转载 表重名异常和序列
问题1:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'type=MyI...
2018-06-17 16:26:00
118
转载 string stringbuffer stringbuilder
//String 是final类,一旦赋值就不可以改变,在赋值就是两个对象 String stringA=new String(); stringA="hello"; System.out.println(stringA); stringA="K"; System.out....
2018-06-09 19:38:00
72
转载 HIbernate4 报Could not obtain transaction-synchroni
HIbernate4 报Could not obtain transaction-synchronized Session for current thread异常 在操作Serializable save = getHibernateTemplate().getSessionFactory...
2018-06-08 17:00:00
171
转载 hibernate4session操作时报read_only的错误
在使用hibernate4的时候我直接使用getHibernateTemplate().save();就会报如下错误Write operations are not allowed in read-only mode (FlushMode.MANUAL): Turn your Session ...
2018-06-08 10:59:00
233
转载 注解:一不小心就进坑
/** * 在使用boolean类型进行set get方法时,生成的如下,使用lombok时,生成的也是这个 */ @Setter @Getter(value=AccessLevel.PRIVATE)//权限设置---->value=AccessLevel.PROTECT...
2018-06-07 12:02:00
104
转载 spring mvc中map有些还没有实现的
package Exception; import java.nio.channels.FileChannel.MapMode; import java.util.Map; import javax.servlet.http.HttpServletRequest; impo...
2018-06-06 22:08:00
73
转载 泛型
package generic; import java.util.List; import java.util.Set; public abstract class myGeneric<T> { // /** * T自定义泛型和?通配符泛型 * “?...
2018-06-02 07:29:00
71
转载 获取注解
package com.jml.iter; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Method; public class Text ...
2018-06-01 22:12:00
117
转载 初学stream
public class StreamText { public static void main(String[] args) { //Stream IntStream LongStream DoubleStream //流的构造与转换 String[] string={...
2018-05-29 16:57:00
74
转载 maven库中也不是全有啊
<dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-io</artifactId> <version>2.4< 7...
2018-04-26 16:27:00
62
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人