Task #457

Change static field to integer

Added by Tan Lee Yong about 14 years ago. Updated almost 14 years ago.

Status:Work Completed-End life cycleStart date:September 17, 2010
Priority:NormalDue date:September 22, 2010
Assignee:Ngoh Chee Ping% Done:

100%

Category:-Spent time:9.00 hours
Target version:-

Description

Change all the field that has static value to integer instead of text. Use the enum ordinal to get the enum integer.

History

#1 Updated by Ngoh Chee Ping almost 14 years ago

  • Status changed from New - Begin Life Cycle to Development / Work In Progress
  • % Done changed from 0 to 30

Now i changing the MAILBOX to enum ordinal. I set the enum ordinal to messageType, then when i want to save the data inside the database, it come out this error: Caused by: java.sql.BatchUpdateException: ORA-01722: invalid number.

#2 Updated by Ngoh Chee Ping almost 14 years ago

  • % Done changed from 30 to 100

finish change all the field that has static value to integer, the field is the enums of ACTION, MAILBOX, STATUS, CHANNEL, and RECIPIENT_TYPE. When store this type of data inside the database, it will change to integer then only store inside the database.

#3 Updated by Ngoh Chee Ping almost 14 years ago

  • Status changed from Development / Work In Progress to Work Completed-End life cycle

Also available in: Atom PDF