Éducation

Primo Webcast Italiano su Intel Realsense

Il primo Webcast di introduzione alla tecnologia Intel Realsense si e' svolto Lunedi' 15 Settembre 2014 per mano di Massimo Bonanni e mia, in qualita' di Intel Software Innovator per Realsense italiani.

La sessione prevedeva la presentazione delle caratteristiche del nuovo SDK ed alcune demo per vedere il Sistema in Azione in anteprima.

Alla fine e' abbiamo presentato il nuovo Realsense App Challenge 2014, la grande competizione aperta a tutti I developer con un montepremi da capogiro: 1 Milione di DOLLARI!

 

spring3+hibernate4 service 中多线程事务异常及解决

初次使用spring3结合hibernate4做项目,迅速配置完成,测试,一切正常。

然而,当我在service层中另外开启一个线程,线程中的方法需要进行数据库操作,这个时候,悲催的抛出了异常:-org.hibernate.HibernateException: No Session found for current thread

当然,hibernate4的session是和当前线程绑定的,多线程中用sessionFactory.getCurrentSession()获取当前session自然不存在,不存在又不会自动创建,所以抛出了异常,无可厚非。

于是就想着怎么解决这个问题。

遍翻google、baidu,大部分都说如何如何配置,设置事务的传播属性propagation="REQUIRED",开启opensessioninview filter等等,无一对此问题有何解释(当然或许是我没翻到,有知道的麻烦告知)

在http://sishuok.com/forum/blogPost/list/2625.html#7523上看到相关配置,我就想作者这个项目该多线程运行正常吧,果断下载源码,修改测试,oh。。。跟我的错一模一样!

Media Client Getting Started Guide

Media Client Getting Started Guide

 

Introduction

Media Client is a feature of  Intel® Integrated Native Developer Experience  (Intel® INDE).  Media Client  includes Media SDK for Windows* foundation, Media Raw Accelerator for Windows* plugin and  Audio for Windows* plugin.

  • Développeurs
  • Professeurs
  • Étudiants
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8.x
  • Développement de jeu
  • Technologie Intel® RealSense™
  • Internet des objets
  • Windows*
  • C/C++
  • Avancé
  • Débutant
  • Intermédiaire
  • Intel® INDE
  • Intel® Integrated Native Developer Experience (INDE) Build Edition pour OS X*
  • Enseignement
  • Éducation
  • Internet des objets
  • Traitement média
  • Bureau Microsoft Windows* 8
  • Mobilité
  • Media for Mobile Release Notes and Support

    Intended Audience

    Software developers interested in a cross-platform productivity suite that enables them to quickly and easily create native apps from OS X* host for Android* targets (or) Windows* host for Android* or Windows* targets.

    Customer Support

    For technical support of Media for Mobile, including answers to questions not addressed in this product, latest online getting started help, visit the technical support forum, FAQs, and other support information, click here.

  • Développeurs
  • Android*
  • Apple iOS*
  • Apple OS X*
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8.x
  • Android*
  • Développement de jeu
  • Internet des objets
  • Windows*
  • C#
  • Java*
  • JavaScript*
  • Avancé
  • Débutant
  • Intermédiaire
  • Intel® INDE
  • Intel® Integrated Native Developer Experience (INDE) Build Edition pour OS X*
  • Éducation
  • Traitement média
  • S’abonner à Éducation