• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 642
  • Last Modified:

MyBatis POJO related

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
aniruddhp
Asked:
aniruddhp
  • 2
1 Solution
 
girionisCommented:
They should all be lowercase.
0
 
aniruddhpAuthor Commented:
what is the getter/setter method generated for REF_CODE field?
0
 
girionisCommented:
getRef_code
setRef_code

Open in new window

0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now