5 Replies Latest reply: Jan 23, 2009 2:34 PM by 843807 RSS

    Generated ID before an entity is persisted?

      hello, this is my first post, hope you could help me

      my problem is generally about JPA, currently i developing a sales and inventory system for a local corporation in my town. in usual inventory systems, you have the option to add a supplier record. our client wants that in the "Add Supplier" GUI, there is already a generated supplier id (because of the reason that it is their habit to memorize all supplier ids instead of names) displayed, this is all before adding of the supplier record.

      any help or redirections is greatly appreciated.