This article comes from http://my.oschina.net/noahxiao/blog/132277, personal storage use1. BackgroundWhen I use Hibernate to do object mapping, I always use the UUID to master the key. Since Hibernate's UUID needs to occupy 32-bit characters, it
Java UUID generation tool concurrency TestI. Know UUIDWikipedia, a free encyclopediaThe universal Unique Identifier (UUID) is a standard for Software construction. It is also the organization of the Open Software Foundation (OSF) in the Distributed
BASE58 IntroductionBASE58 uses a character set of "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ", from which it is not difficult to see, Base58 are pure numbers and letters and remove the characters that cause visual confusion (0:
The UUID meaning is a universal unique identifier (universally unique Identifier), which is a software construction standard and is also organized by the Open Software Foundation, OSF, in a distributed computing environment ( Distributed Computing
I looked for a long time on the internet, some people say UUID is better, is in the sub-database table, merge data what is easier, also some people say self-increase, to the table of data more time, performance than the UUID is much better, in the
I have been searching for it online for a long time. Some people say that uuid is better, that is, it is easier to merge data into sub-databases and sub-tables, and some people say that auto-increment is better, when there is more data in the table,
The UID meaning is a universal unique identifier (universally unique Identifier), which is a software construction standard and is also organized by the Open Software Foundation, OSF, in a distributed computing environment ( Distributed Computing
UUID and guid
UUID is a string generated after the 32-byte string is separated by four hyphens (-), with a total length of 36 bytes. For example: 550e8400-e29b-41d4-a716-446655440000
Http://gohands.blogbus.com/logs/147479174.html
GUID is
Project deployment, the following warnings are available during startup:[WARN]: Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values; Consider using Org.hibernate.id.UUIDGenerator insteadTo view the
1. Set the primary key in the database to varchar (32). 2. Write @GenericGenerator to the class header in entity (name = "Jpa-uuid", strategy = "uuid") 3. Write @GeneratedValue (generator = "Jpa-uuid") at the top of the ID primary key in entity
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.