tracker issue : CF-3037962

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 76093:No support for default values for timestamp and version fieldtypes

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Devin Holloway / Devin Holloway (Devin Holloway)

Created: 03/19/2009

Components: ORM Support

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Problem:

No support for default values for timestamp and version fieldtypes. You can currenly specify some default database values such as strings and numbers, but you can't specify functions such as the getDate() in SQLServer. This makes it difficult to create timestamps, for example.

Manju Kiran Pacchhipulusu
When we added support for default, we have missed out on supporting it for ’timestamp’ and probably ’version’ fieldtype too.  Could you please file a bug for this?

Method:

/**
* @column profile_date_created
* @fieldtype timestamp
* @generated true
* @default getDate()
*/
property date dateCreated;

When I look in the database table designer, there’s no default specified.
Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3037962

External Customer Info:
External Company:  
External Customer Name: Devin Holloway
External Customer Email: 5E060FD6422E831A992015D5
External Test Config: 03/19/2009

Attachments:

Comments: