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 09:15
Bart Kummel is currently offline Bart Kummel
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
implementation.

Best regards,
Bart Kummel
Previous Topic:It works, but does not compile (only half a joke!)
Next Topic:NPE Generating Entity
Goto Forum:
  


Current Time: Fri Jul 25 07:37:37 EDT 2014

Powered by FUDForum. Page generated in 0.02035 seconds