Torneio

The 2014 Intel Level Up Game Developer Contest is open...NOW!

I'm super excited for another season of Level Up.  You'll notice a subtle but important change in the name from "Intel Level Up Game DEMO Contest" to "Intel Level Up Game DEVELOPER Contest".  We recieved feedback last year that the term "demo" carries more weight amongst would be participants - many people thought we were looking for polished, consumer ready "demos".  What we are in fact looking for are innovative signs of life, playable proofs of concept, prototypes and basically anything up to but not including released games.

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。。。跟我的错一模一样!

An Opportunity from Intel® Developer Zone that changed my life

Its been a  close to a year that I am a part of Intel® Developer Zone and i am liking every bit of it.Being from a IT Support Background Intel Developer Zone showed me the path to persue my dreams and then  i started.Participated in the last years Intel App Innovation Contest 2012 and was a finalist over there.As i grow as a developer i intend to contribute more .I am also the finalist at Intel Perceptual Challenge Stage 2 and 2nd round qualifier of Intel App Innovation Contest 2013.In the mean time i wrote a lot of article in CodeProject targeting Intel Software Technologies I am sharing t

PAX Prime 2013: Spotlight on Indie Game Developers

One of the most popular events throughout the year for independent game developers, game enthusiasts, and of course anyone interested in cosplay just wrapped up in Seattle, Washington over the Labor Day weekend. PAX Prime, an annual gaming convention held in Seattle and other venues around the world features great music, gaming, tons of exciting exhibits, and of course, contests.

Intel Level Up Game Demo Contest

The 2013 Intel™ App Innovation Contest: A Unique Developer Opportunity

Contests and developers seem to go hand in hand. These last few months have seen a virtual plethora of interesting challenges; anything from the Intel® Perceptual Computing Challenge to the seven-week long Ultimate Coder: Going Perceptual saga to the currently running 2013 Intel™ App Innovation Contest.

About the Contest

Blast from My Past, How Meteor's Helped Me Understand Touch Sensors

After getting my Star Trek on while reading about writing code for the sensors on the Intel® Ultrabook at codeproject.com, I was pleased to see that Adrian Atkison had submitted an article titled, “Meteor Madness.” The game is reminiscent of way too many hours I spent on an Atari* avoiding and destroying astrological objects that can be found just outside Mars in

Stunned by Sensors – Starting my Ultrabook Training

As an avid fan of all things Star Trek*, I can’t help but hear Mr. Spock’s voice when I read about all these sensors we have watching and helping us in our lives today. Unfortunately as a developer, I usually feel like the guy in the red shirt on the away party when Spock says, “Sir, sensors indicate we are clear to send Mr. Duncan into the cave”. The cave in which I am then killed by the monster that extracts all the salt from my body. The real nightmare is that I’m the guy responsible for the monster detection code.

Assine o Torneio