Solved

MyBatis POJO related

Posted on 2012-04-05
3
609 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
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
by zero exception 10 52
Removing line numbers from left column in config file 7 61
Query group by data in SQL Server - cursor? 3 47
troubleshoot a python script 8 22
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
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…

860 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