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.
So I judged it the problem of null int filed.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982279#3982279
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982279
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user