Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JForum
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Tim Cooke
Devaka Cooray
Sheriffs:
Liutauras Vilda
paul wheaton
Rob Spoor
Saloon Keepers:
Tim Moores
Stephan van Hulst
Tim Holloway
Piet Souris
Mikalai Zaikin
Bartenders:
Carey Brown
Roland Mueller
Forum:
JForum
net.jforum.dao.generic.GenericUserDAO.selectById(int userId)
Migrated From Jforum.net
Ranch Hand
Posts: 17424
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
All other methods, when a user is not found, return null.
The selectById(int userId) method returns a user "new User()"
without anything set. This looks like a bug. I think it should return null.
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand
Posts: 17424
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
There are other methods that return a concrete implementation instead null. I'm working in some major refactorings, and will try to fix that.
Rafael
[originally posted on jforum.net by Rafael Steil]
To do a great right, do a little wrong - shakepeare. twisted little ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Login page problem
Control Panel admin URL is missing
need good example of hibernate with composit key
How to get login page when session is expired?
Comparing Objects
More...