#I need little help with my project

1 messages · Page 1 of 1 (latest)

safe pewterBOT
#

<@&987246584574140416> please have a look, thanks.

supple tusk
#

The error should be self explanatory

#

The table product doesn't have a column name

dusty pine
#

product have name

supple tusk
#

show me the table product

dusty pine
#

when i do it in h2 i see it

supple tusk
dusty pine
supple tusk
#

hmm

dusty pine
#

I'm just totally newbie

supple tusk
#

show the full error please

dusty pine
#

for these screens i rename data.sql for 123.sql and commented #spring.sql.init.data-locations=classpath:data.sql

#

thats why i could run it

supple tusk
#

so ? what's the full error message please ?

dusty pine
safe pewterBOT
supple tusk
#

ah

#

so cpus, not product

#

alright

#

show table cpus

#

@dusty pine

dusty pine
supple tusk
#

yes

#

see

#

there is no column name

#

thus the error

dusty pine
#

but should iheritate from parant class

#

parent*

supple tusk
#

wdym

#

this is a table

#

we are talking about CPUS table

#

In your CPUS class, you have a field name

#

But in your CPUS table, you don't

dusty pine
#

yup i understand

supple tusk
#

and so that's normal that it is crying about that it can't find the column name

#

same for the other columns btw

dusty pine
#

I'm not best in english so idk how to explain what i have in mind