uuid Questions

3

Solved

According to the documentation, the following usage is deprecated: @GenericGenerator( name = "UUID", strategy = "org.hibernate.id.UUIDGenerator" ) One shall use the new type...
Tirrell asked 19/7, 2023 at 16:12

3

Solved

I have a field id defined as below. It's varbinary(16) in database, when i am inserting a new record through JPA, i got "com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for colum...
Bonzer asked 4/6, 2014 at 3:24

4

Solved

I Often need UUIDs inserted into files that I'm editing in Notepad++. Does anyone have a macro or add in that does this. Or an autohotkey script?
Ginder asked 30/3, 2010 at 17:56

7

Solved

I don't understand why SELECT UUID(); Returns something like: 3f06af63-a93c-11e4-9797-00505690773f But if I insert it into a binary(16) field (the UUID() function) with for instance a BEFORE ...
Lauder asked 31/1, 2015 at 11:36

9

Solved

How to generate an uuid in google sheet (for exemple ccb8a660-91c9-a556-58e0-4fa7-229516872004). Either with a macro? or a formula?

4

Solved

I have a requirement to tag records uniquely with UUIDs (for a correlation id). I cant see a direct way to do this via the options, is such a thing possible? If not, is there some kind of workaroun...
Achlamydeous asked 16/5, 2020 at 20:10

5

Solved

i have a table field type varchar(36) and i want to generate it dynamically by mysql so i used this code: $sql_code = 'insert into table1 (id, text) values (uuid(),'some text');'; mysql_query($sql...
Foretopsail asked 8/2, 2011 at 12:58

4

I'd like to use a UUID for database records but if I'm using it for the URL I'd like it to be 5 to 8 characters. I know I need to use SecureRandom and base64, but how do I specify the length I nee...
Martie asked 28/10, 2014 at 18:33

9

Solved

Java's UUID class generates a random UUID. But this consists of letters and numbers. For some applications we need only numbers. Is there a way to generate random UUID that consists of only numbers...
Wipe asked 11/11, 2011 at 10:57

3

On a pet project I started to work with UUIDs. The application is fairly simple, it adds data in a MySQL database with binary(16) primary keys. To generate PK's I'm using JUG this way : UUID uuid...
Pneumoencephalogram asked 16/4, 2014 at 8:59

6

Solved

Is there an idiomatic C++ way to reserve and recycle identifiers that are guaranteed to be unique? My requirements are: Assuming there exists an ID not currently reserved, reserve_id(void) return...
Slipnoose asked 14/4, 2011 at 8:49

5

Solved

I receive the data as { "name": "Unknown", "parent": "Uncategorized", "uuid": "06335e84-2872-4914-8c5d-3ed07d2a2f16" }, and I need to convert the uuid from String to uuid I did not find a...
Extensile asked 7/4, 2013 at 5:21

5

I generate UUIDs, and valid them against a Regex in my code; I just ran into problems that confused me Here is the code that generates UUIDs (in a mongodb context) import java.util.UUID; ... ......
Wriggly asked 19/1, 2017 at 8:33

8

Solved

I am using this call: Secure.getString(getApplicationContext().getContentResolver(), Secure.ANDROID_ID); To get a UID for the device. I think I am getting the same ID from multiple devices thoug...
Absorb asked 25/1, 2011 at 22:5

3

I am trying to add a column to an existing table in MySql 8.0.17. The column needs to contain a UUID and I am trying to set it as a default value. This is the statement I am executing ALTER TABLE m...
Intuitivism asked 22/9, 2020 at 5:56

3

Solved

I have a table that was created as such: CREATE TABLE IF NOT EXISTS DIM_Jour ( jour_id uuid NOT NULL, AAAA int, MM int, JJ int, Jour_Semaine int, Num_Semaine int, PRIMARY KEY (jour_id) ); ...
Voluptuous asked 19/11, 2020 at 15:34

7

Solved

If I have a string "key:<String || UUID>" is there a way where I can extract the string and differentiate of the part after : is a string or a UUID? Example: in this key:863864947148451183L ...
Springspringboard asked 10/9, 2013 at 16:53

11

Solved

How would I create a java.util.UUID from a string with no dashes? "5231b533ba17478798a3f2df37de2aD7" => #uuid "5231b533-ba17-4787-98a3-f2df37de2aD7"
Mania asked 24/9, 2013 at 16:8

1

Solved

While searching for UUIDs I stumbled upon ULIDs https://github.com/ulid/spec And I want to use them in my SQL Server database as primary key for my users (instead of basic incremental value). So I ...
Billposter asked 15/7, 2022 at 20:17

9

Solved

I try to make a uuid (v 3.0.1) package work in Node/Typescript app, but I'm not sure what should I import and how to use it. This is index.d.ts (from @types/uuid v 2.0.29): declare namespace uuid...
Anguish asked 7/5, 2017 at 23:8

4

Solved

I've got a string that contains UUID v4 $uuid = 'http://domain.com/images/123/b85066fc-248f-4ea9-b13d-0858dbf4efc1_small.jpg'; How would i get the b85066fc-248f-4ea9-b13d-0858dbf4efc1 value fro...
Anthozoan asked 3/6, 2011 at 5:8

4

Solved

I'm using Python's UUID function to create unique IDs for objects to be stored in a database: >>> import uuid >>> print uuid.uuid4() 2eec67d5-450a-48d4-a92f-e387530b1b8b Is it ...
Stringer asked 1/6, 2014 at 18:30

8

Solved

Is it possible to get DynamoDB to automatically generate unique IDs when adding new items to a table? I noticed the Java API mentions @DynamoDBAutoGeneratedKey so I'm assuming there's a way to get...
Intensifier asked 24/1, 2012 at 4:53

4

Solved

I found this answer Is there any way to generate the same UUID based on the seed string in JDK or some library? but this is the java way. I need to the same, but in javascript, i can use any npm m...
Gonadotropin asked 1/2, 2017 at 5:14

7

Solved

In our application we are creating Xml files with an attribute that has a Guid value. This value needed to be consistent between file upgrades. So even if everything else in the file changes, the g...
Vigilant asked 15/4, 2010 at 1:21

© 2022 - 2024 — McMap. All rights reserved.