在Thread类的内部有一个成员专门用于存储线程数据:ThreadLocal.Values localValues,ThreadLocal的set和get方法所操作的对象都是当前线程的localValues对象的table数组,因此在不同的线程中ThreadLocal所做的读写仅限于各自的线程内部(Android的开发艺术探索 10.2.1 ThreadLocal的工作原理)
http://m.blog.csdn.net/naruto_Mr/article/details/48085191
http://liusu.iteye.com/blog/380397
getCurrentSession()抛出is not valid without active transaction和no session found for current thread异常分析
最新推荐文章于 2018-10-18 22:13:02 发布