You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by avolkov <a...@avolkov.pro> on 2018/03/03 08:07:12 UTC
Is there primary key auto generation in distributed environment via
INSERT SQL-query?
Is there any method I can use to auto generate (auto increment, for example)
"primary key" (id) of "table" in distributed environment via INSERT
SQL-query?
If no, what is preferred technique for clustered multithreading system
(UUID, timestamp)?
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: Is there primary key auto generation in distributed environment
via INSERT SQL-query?
Posted by Roman Guseinov <ro...@gromtech.ru>.
Hi,
Currently, Ignite doesn't support auto-generate functionality. You are able
to generate IDs manually using distributed atomic sequence provided by
IgniteCacheAtomicSequence [1].
[1] https://apacheignite.readme.io/docs/id-generator
Best Regards,
Roman
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/