Click here to Skip to main content
14,741,619 members
Home » Discussions » Database
   

Database

 
AnswerRe: Run correctly from code VB.NET Pin
Richard MacCutchan23-Sep-18 23:13
mveRichard MacCutchan23-Sep-18 23:13 
GeneralRe: Run correctly from code VB.NET Pin
Computechsoft23-Sep-18 23:34
MemberComputechsoft23-Sep-18 23:34 
GeneralRe: Run correctly from code VB.NET Pin
Richard MacCutchan23-Sep-18 23:50
mveRichard MacCutchan23-Sep-18 23:50 
GeneralRe: Run correctly from code VB.NET Pin
Computechsoft24-Sep-18 0:02
MemberComputechsoft24-Sep-18 0:02 
GeneralRe: Run correctly from code VB.NET Pin
Richard MacCutchan24-Sep-18 0:11
mveRichard MacCutchan24-Sep-18 0:11 
GeneralRe: Run correctly from code VB.NET Pin
Richard Deeming24-Sep-18 9:13
mveRichard Deeming24-Sep-18 9:13 
AnswerRe: Run correctly from code VB.NET Pin
thatraja24-Sep-18 0:21
professionalthatraja24-Sep-18 0:21 
QuestionHow to retrieve List content in JSP from Hibernate Query Language Pin
Mr ARUL SUJU D15-Sep-18 13:38
MemberMr ARUL SUJU D15-Sep-18 13:38 
I Developed the program that retrieve the content from Database and store it in the List

 List<Student> studentList=session.createQuery("from Student s where s.lastName=:lastName and s.firstName=:firstName")
                                          .setString("lastName",lname)
                                            .setString("firstName",fname).list();
         for(Student studentinfo:studentList)
         {
             System.out.println(studentinfo);
         }
         model.addAttribute("result",studentList);
And i have passed the result to the JSP File

    ${result}
<c:forEach var="item" items="${result}">
    ${item}
</c:forEach>
I am getting the result like this

"Student{id=6, firstName='arul', lastName='suju', address='s;lda'}"

But i want print the value one by one,Can any one suggest better code in JSP

Questionstoring a byte[] array in MongoDB Pin
jkirkerx6-Sep-18 13:42
professionaljkirkerx6-Sep-18 13:42 
AnswerRe: storing a byte[] array in MongoDB [solved] Pin
jkirkerx7-Sep-18 7:53
professionaljkirkerx7-Sep-18 7:53 
GeneralRe: storing a byte[] array in MongoDB [solved] Pin
Nathan Minier11-Sep-18 4:09
professionalNathan Minier11-Sep-18 4:09 
GeneralRe: storing a byte[] array in MongoDB [solved] Pin
jkirkerx13-Sep-18 19:48
professionaljkirkerx13-Sep-18 19:48 
QuestionCreate View from another View Pin
jar86956-Sep-18 2:59
Memberjar86956-Sep-18 2:59 
AnswerRe: Create View from another View Pin
Mycroft Holmes6-Sep-18 13:28
professionalMycroft Holmes6-Sep-18 13:28 
QuestionUnable to Get the Proper Result : SQL Query Help Needed Pin
arulsuju29-Aug-18 13:14
Memberarulsuju29-Aug-18 13:14 
SuggestionRe: Unable to Get the Proper Result : SQL Query Help Needed Pin
Richard Deeming30-Aug-18 2:37
mveRichard Deeming30-Aug-18 2:37 
AnswerRe: Unable to Get the Proper Result : SQL Query Help Needed Pin
Jochen Arndt30-Aug-18 3:04
professionalJochen Arndt30-Aug-18 3:04 
QuestionMongoDB document or model planning, best Pin
jkirkerx23-Aug-18 14:38
professionaljkirkerx23-Aug-18 14:38 
AnswerRe: MongoDB document or model planning, best Pin
jschell23-Aug-18 15:35
Memberjschell23-Aug-18 15:35 
GeneralRe: MongoDB document or model planning, best Pin
jkirkerx24-Aug-18 7:49
professionaljkirkerx24-Aug-18 7:49 
GeneralRe: MongoDB document or model planning, best Pin
jschell25-Aug-18 4:57
Memberjschell25-Aug-18 4:57 
AnswerRe: MongoDB document or model planning, best Pin
lw@zi 23-Aug-18 21:45
professional lw@zi 23-Aug-18 21:45 
GeneralRe: MongoDB document or model planning, best Pin
jkirkerx24-Aug-18 7:50
professionaljkirkerx24-Aug-18 7:50 
GeneralRe: MongoDB document or model planning, best Pin
jschell25-Aug-18 5:00
Memberjschell25-Aug-18 5:00 
AnswerRe: MongoDB document or model planning, best Pin
Nathan Minier24-Aug-18 2:31
professionalNathan Minier24-Aug-18 2:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.