Jump to content

POWERED BY:

Stephhany909

Members
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

0 Comum

About Stephhany909

  • Birthday 06/07/1996

Informações Pessoais

  • Sexo
    Feminino
  • Localização
    Melbourne
  • Interesses
    Coding

Contato

  1. While trying to persist an object with an attribute of type Point, defined as follows: @Entity @Table(name = "event") public class Event { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "id") private long id; @Column(columnDefinition = "POINT") private Point coordinate; } I'm getting the error Data truncation: Cannot get geometry object from data you send to the GEOMETRY field. The corresponding database table is defined as follows: create table event ( id bigint not null auto_increment, coordinate POINT, primary key (id) ) engine= InnoDB; What am I missing?
×

Important Information

Ao usar o fórum, você concorda com nossos Terms of Use.