Solved

MyBatis POJO related

Posted on 2012-04-05
3
625 Views
Last Modified: 2013-11-13
Hi,

If there is a table in the database with the following columns

ORDERID
REF_CODE
personid
orderedby

How is the "_" or case (upper or lower) handled when the POJO classes are generated for Ibatis?

Thanks,
0
Comment
Question by:aniruddhp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 35

Expert Comment

by:girionis
ID: 37823091
They should all be lowercase.
0
 

Author Comment

by:aniruddhp
ID: 37825822
what is the getter/setter method generated for REF_CODE field?
0
 
LVL 35

Accepted Solution

by:
girionis earned 500 total points
ID: 37836711
getRef_code
setRef_code

Open in new window

0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
A short article about problems I had with the new location API and permissions in Marshmallow
Simple Linear Regression
Six Sigma Control Plans

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question