Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » How to influence mapping type
How to influence mapping type [message #606103] Thu, 13 September 2007 13:15
Bart Kummel is currently offline Bart KummelFriend
Messages: 10
Registered: July 2009
Junior Member
We use Dali to generate Entities from tables. When we do this, every
numeric database field is mapped as a BigDecimal type. Most of the numeric
fields in the database have only 7 digits, so they should fit in a normal
Integer or int. We have a lot of numeric fields, so we don't want to
manually edit all entities. Is there a way to tell Dali that it should use
Integers for database fields which fit?

We have an IBM AS/400 database and are using TopLink JPA as EJB3

Best regards,
Bart Kummel
Previous Topic:Error Initializing JPA Model
Next Topic:Proper Dali use in EJB modules (client jars)
Goto Forum:

Current Time: Fri Apr 20 12:56:55 GMT 2018

Powered by FUDForum. Page generated in 0.01882 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software