Package wblog.domain

Examples of wblog.domain.Comment


                new ResultSetHandler<List<Comment>>() {
                    @Override
                    public List<Comment> handle(ResultSet rs) throws SQLException {
                        List<Comment> list = new ArrayList<Comment>();
                        while (rs.next()) {
                            Comment comment = new Comment();
                            comment.id = rs.getLong("Comment.id");
                            comment.content = rs.getString("content");
                            comment.postDate = rs.getTimestamp("postDate");
                            comment.author = new User();
                            comment.author.id = rs.getString("User.id");
View Full Code Here

TOP

Related Classes of wblog.domain.Comment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.