skip to Main Content

Postgresql – SQL query with JSON and WHERE clause

I have a postgreSQL table that contains the following: select * from ci_grp; ci | grp ------------+------------------------------------------------------------------------------------------- Ci1 | [{"Name":"TEAM.Virtu"},{"Name":"TECH.LinuxDevice"}] Ci2 | [{"Name":"TECH.LinuxDevice"},{"Name":"TEAM.Monitoring"}] Ci3 | [{"Name":"TEAM.Noc"},{"Name":"TEAM.Virtu"},{"Name":"TECH.DellEsx"},{"Name":"TECH.SNMP"}] Ci4 | [{"Name":"TEAM.Monitoring"},{"Name":"TECH.Postgresql"}] Ci5 | [{"Name":"TEAM.Monitoring"},{"Name":"TECH.LinuxDevice"},{"Name":"TECH.ZabbixProxy"}] I need to get a reply that would…

VIEW QUESTION

JSON parse error: Cannot construct instance: no int/Int-argument constructor/factory method to deserialize from Number value

I am trying to insert user record using mysql database Customer.java @Entity @NoArgsConstructor @AllArgsConstructor @Data public class Customer { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; private String firstname; private String lastname; @Column(unique = true) private String email; @Column(nullable =…

VIEW QUESTION
Back To Top
Search