[jboss-user] [EJB 3.0] - Bug of Persistence API?
Seto
do-not-reply at jboss.com
Wed Nov 1 00:10:25 EST 2006
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#3982282
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982282
More information about the jboss-user
mailing list