• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

GenericUserDAO selectAll() method

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i don't know if this is on purpose
but when you call GenericUserDAO.selectAll(int startFrom, int count)
this function will generate a List of users but not all the field will be initialized!

and that is because the query you used (in generic_qeuries.sql) is


so actual most member fields of User class will left uninitialized (such as icq , avatar, aim , yim and many more...)
maybe you should change your query so it will select everything about the user?
[originally posted on jforum.net by pavel_twr]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and i just noticed that the next method

which is called to process the data retrieved with the above query,
is completely ignores the other field mentioned before.
so even if the query changed , no effect will be taken.
[originally posted on jforum.net by pavel_twr]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's because we don't need all user field in the respective screens.

But for all purposes, JForum3 will have the full user information.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic