Solved

MyBatis POJO related

Posted on 2012-04-05
3
574 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
  • 2
3 Comments
 
LVL 35

Expert Comment

by:girionis
Comment Utility
They should all be lowercase.
0
 

Author Comment

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

Accepted Solution

by:
girionis earned 500 total points
Comment Utility
getRef_code
setRef_code

Open in new window

0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now