Spring boot com.microsoft.sqlserver.jdbc.SQLServerException:列名无效';现有库存';

Spring boot com.microsoft.sqlserver.jdbc.SQLServerException:列名无效';现有库存';,spring-boot,hibernate-mapping,Spring Boot,Hibernate Mapping,任何建议products0\u应在手上有一个名为inventory\u的列名称不匹配是什么样的表结构?表结构是创建表[dbo]。[products]([id][int]IDENTITY(1,1)不为NULL,[ProductName][varchar 255]NULL,[PartNumber][varchar 255]NULL,[ProductLabel][varchar 255]NULLNULL、[StartingInventory][int]NULL、[InventoryReceived][

任何建议

products0\u应
在手上有一个名为
inventory\u的列
名称不匹配是什么样的表结构?表结构是创建表[dbo]。[products]([id][int]IDENTITY(1,1)不为NULL,[ProductName][varchar 255]NULL,[PartNumber][varchar 255]NULL,[ProductLabel][varchar 255]NULLNULL、[StartingInventory][int]NULL、[InventoryReceived][int]NULL、[InventoryShipped][int]NULL、[InventoryOnHand][int]MinimumRequired][int]NULL,主键聚集([id]ASC),在[PRIMARY]上(PAD\u INDEX=OFF,STATISTICS\u norecocomputer=OFF,IGNORE\u DUP\u KEY=OFF,ALLOW\u ROW\u LOCKS=ON,ALLOW\u PAGE\u LOCKS=ON)
Hibernate: 
    select
        products0_.id as id1_1_,
        products0_.inventory_on_hand as inventor2_1_,
        products0_.inventory_received as inventor3_1_,
        products0_.inventory_shipped as inventor4_1_,
        products0_.minimum_required as minimum_5_1_,
        products0_.part_number as part_num6_1_,
        products0_.product_label as product_7_1_,
        products0_.product_name as product_8_1_,
        products0_.starting_inventory as starting9_1_ 
    from
        products products0_
2020-02-07 16:41:43.914  WARN 15224 --- [nio-8080-exec-1] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 207, SQLState: S0001
2020-02-07 16:41:43.914 ERROR 15224 --- [nio-8080-exec-1] o.h.engine.jdbc.spi.SqlExceptionHelper   : Invalid column name 'inventory_on_hand'.
2020-02-07 16:41:43.926 ERROR 15224 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessResourceUsageException: could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet] with root cause

com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'inventory_on_hand'.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:262) ~[mssql-jdbc-7.4.1.jre8.jar:na]
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1624) ~[mssql-jdbc-7.4.1.jre8.jar:na]
    at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:594) ~[mssql-jdbc-7.4.1.jre8.jar:na]
    at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:524) ~[mssql-jdbc-7.4.1.jre8.jar:na]
    at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7194) ~[mssql-jdbc-7.4.1.jre8.jar:na]
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2979) ~[mssql-jdbc-7.4.1.jre8.jar:na]
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:248) ~[mssql-jdbc-7.4.1.jre8.jar:na]