Just set the ID before running save() or insert(), then Transfer will
attempt to insert it with that value.

See:
http://docs.transfer-orm.com/wiki/Primary_Key_Management.cfm#Manual

Mark

On Tue, Jan 27, 2009 at 7:19 AM, Brian G <brian-goo...@vfive.com> wrote:
>
> Is there a way to fully disable the Transfer generation of numeric
> keys?  I normally use UUIDs so I haven't come across this before, but
> it seems (on Postgres, Transfer 1.1) that:
>
> <id name="token" type="numeric" generate="false" /> - will expect a
> table_seq to exist to fetch the ID from
>
> <id name="token" type="numeric" generate="true" /> - will create a
> table called transfer_sequence and fetch IDs out of it.
>
> My numeric primary key is coming from a third party and I'd rather not
> have Transfer creating tables for me nor querying for an ID every
> request.  Is there a way to tell Transfer to not do either?
>
>
> Brian
>
> >
>



-- 
E: mark.man...@gmail.com
W: www.compoundtheory.com

--~--~---------~--~----~------------~-------~--~----~
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

You received this message because you are subscribed to the Google Groups 
"transfer-dev" group.
To post to this group, send email to transfer-dev@googlegroups.com
To unsubscribe from this group, send email to 
transfer-dev-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to