skip to Main Content

postgresql TLE password_check function and pgadmin

We are trying to implement strong password policies to our aws hosted postgresql RDS instances using TLE (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/PostgreSQL_trusted_language_extension-hooks-reference.html) I wanted to implement valid_until parameter so how whenever password is changed by user using PGAdmin its account expiry is automatically extended…

VIEW QUESTION

Postgresql – Problem in a function inside of contructor isnt returning the expected value after using Post method

Problem in calculating the age of majority of a student in Spring Boot I have a Student class with the following attributes: package com.example.estudantes.model; import jakarta.persistence.*; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import java.time.LocalDate; import java.time.Period; @Entity @Table(name = "students")…

VIEW QUESTION

Postgresql – Using an @Entity in an @IdClass as @Id

I have an entity that looks like this @Entity @IdClass(AId.class) class A { @Id private String userName @Id @NotNull @JoinColumn(name = "location_id", referenceColumnName = "id", nullable=false, foreignKey = @ForeignKey(name = ...)) private Location location; private String userInformation; } The class…

VIEW QUESTION
Back To Top
Search