Questions tagged [creation-timestamp]
6 questions
1
vote
1 answer
@CreationTimeStamp and @UpdateTimeStamp not working with LocalDate, only have null values
I have the following code in my entity class
@CreationTimestamp
@Column(updatable = false)
private LocalDate dateAdded;
@JsonProperty("last_edited")
@UpdateTimestamp
@Column(updatable = false)
private LocalDate…

Icarus
- 501
- 2
- 16
1
vote
1 answer
How to use `moment` to convert timestamp to week of the year
I need to convert the timestamp to the week of the year, and use it with the time selector of antd. I only found the following method, which is the method to get the week of the month. Does anyone know how to get the week of the year?
function…

Zego Tech
- 21
- 4
1
vote
1 answer
unable to delete, modify or change the creationTimestamp in a Kubernetes CRD object
I am trying to update a custom resource:
kubectl edit ticketservice r134-4979a2f6-f46d-405d-97bc-ab1ba -n 2b9aea53dbfc47a
apiVersion: ticketservice.ias.alpha.com/v1alpha1
kind: TicketService
metadata:
annotations:
foo: bar
baz: bux
..…

Oliver Williams
- 5,966
- 7
- 36
- 78
0
votes
0 answers
How Hibernate's enver @AuditTable and @CreationTimestamp and different date format for main and public schema cause wrong values in the main schema?
We have an audit schema and Hibernate enver to audit the data:
spring:
jpa:
org:
hibernate:
envers:
default_schema: audit
and here are the anoontations.
BaseEntity:
@Data
@MappedSuperclass
@EqualsAndHashCode(of = {"id"})
public…

Eljah
- 4,188
- 4
- 41
- 85
0
votes
0 answers
@CreationTimestamp in Hibernate is storing wrong date in database
I have used hibernate @CreationTimestamp (import org.hibernate.annotations.CreationTimestamp;) in my spring boot project for the field private Date createdDate;
and Date is of import java.util.Date; to store the default current timestamp. This date…

Rohit Patnaik
- 1
- 3
0
votes
1 answer
Why is the creation time property of my Outlook items returning an arbitrary date?
when I run the below module, I get a message box displaying "1/1/4051".
Sub CreateNoteItem()
Dim olApp As Outlook.Application
Dim olNS As Outlook.NameSpace
Dim olNoteItm As Outlook.NoteItem
Set olApp = Outlook.Application
Set…

Adam
- 25
- 5