In Article.java
| @Column(name = "click_count")
| private int click_count;
|
And the SQL is just "from Article article"
When the click_count is null in the database, the resultlist return null. When the
click_count is 0 in the databse, the resultlist is normal.
I mean that the whole resultlist return null when the click_count is null.
So I judged it the problem of null int field. I'm in trouble with the problem for
long. Appreciate your answers.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982282#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...