Another IdGenerator implementation is the TransientIdGenerator (class atg.service.idgen.TransientIdGenerator). This component is a sequential ID generator the IdSpaces of which are not persistent. This IdGenerator is suitable for applications that you do not want to be dependent on a database and which do not need IDs whose uniqueness is maintained across JVMs or application restarts. IDs generated by the TransientIdGenerator are guaranteed to be unique within a JVM as long as it runs, but a TransientIdGenerator does not maintain any persistent record of which IDs were generated.

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices