tracker issue : CF-3039842

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

Bug 79663:The current AIR ORM for ColdFusion 9 does not support primary key generation

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): David Tucker / David Tucker (David A. Tucker)

Created: 09/01/2009

Components: Flex/Flash, AIR Integration

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 / 266394

Priority/Frequency: Major / Unknown

Locale/System: English / Mac 10 All

Vote Count: 5

Problem:

The current AIR ORM for ColdFusion 9 does not support primary key generation.  Even in the most simplistic examples, this does not function.  It appears that this might be planned for the future, as there is an idCount property on the Entity class.  This limits the usefulness of using the ORM as a client-side only solution.  Ideally, the user could indicate with metadata if the id field for a given persistent entity needed to be auto-generated or not.  In addition, it would be ideal to allow for different generator types (such as increment, uuid, hilo, etc...).  I could see this functioning where the user could do the following:package foo{     [Entity]     public class MyEntity     {          [Id]          [GenericGenerator(strategy="increment")]          public var myId:int;          .....}
Method:


Result:

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

Watson Bug ID:	3039842

External Customer Info:
External Company:  
External Customer Name: David Tucker
External Customer Email: 17D216F9484497AA992015A7
External Test Config: 09/01/2009

Attachments:

Comments:

This bug has been voted..
Vote by External U.
22929 | November 10, 2011 07:00:56 PM GMT
This bug has been voted..
Vote by External U.
22930 | November 10, 2011 07:00:57 PM GMT
This bug has been voted..
Vote by External U.
22931 | November 10, 2011 07:00:58 PM GMT
This bug has been voted..
Vote by External U.
22932 | November 10, 2011 07:00:59 PM GMT
This bug has been voted..
Vote by External U.
22933 | November 10, 2011 07:01:01 PM GMT