Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Web Logic Server Interview Question:
Do you know what type of object is returned by ResultSet.getObject()?
Submitted by: AdministratorWeb logic jDriver for Oracle returns a Java object that includes the data and the information for retrieval. The object that is returned from ResultSet.getObject() is as follows:
• A double is returned for the column types of Number(n) and Number(m,n). If the precision that is defined is not accurate then it can be represented by using the BigDecimal as well.
• If the column type is a NUMBER then the Java type that has to be returned based on the actual value of each row. The values in this type may vary from one row to another row.
These are the type of objects that are returned by using the data variables in the Web logic server.
Submitted by: Administrator
• A double is returned for the column types of Number(n) and Number(m,n). If the precision that is defined is not accurate then it can be represented by using the BigDecimal as well.
• If the column type is a NUMBER then the Java type that has to be returned based on the actual value of each row. The values in this type may vary from one row to another row.
These are the type of objects that are returned by using the data variables in the Web logic server.
Submitted by: Administrator
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.