This document discusses designing social media platforms to encourage civic engagement among youth. It reviews literature on how youth conceptualize and participate in civic issues online. The study defined civic engagement as supportive, deliberative, and collaborative practices in social media in response to societal needs. Interviews with youth found they prefer informal engagement in flexible contexts like Facebook over formal sites. Youth are motivated by peer-oriented causes, visibility, excitement from pictures/videos, and desire for quick feedback. The document provides recommendations for design including context, flexibility, updated content, peer relevance, control, sharing, visibility, and feedback.
9. Hibernate Core A PI ——Configuration
? 进行配置信息的管理。
? 启动 Hibernate。
? 创建 S essionFactory 对象。
www.sodi.com.cn
10. Hibernate Core A PI —— S essionFactory
? 初始化 Hibernate,充当数据存储源的代理。
? 创建和管理 S ession 对象。
? 通常情况下,每个应用只需要一个
S essionFactory ,除非要访问多个数据库的情况。
? 管理 Hibernate二级缓存。
www.sodi.com.cn
11. Hibernate Core A PI ——S ession
? 管理一个数据库的任务单元。
? 负责保存、更新、删除、加载和查询对象。
? 管理 Hibernate一级缓存。
www.sodi.com.cn
12. Hibernate Core A PI ——Transaction
? Hibernate的数据库事务接口,对底层的事务接口做
了封装,有助于在应用在不同的环境和容器中一
致。
www.sodi.com.cn