본문 바로가기

카테고리 없음

ORA-02000: missing ALWAYS keyword

728x90

oracle 11g, JPA 실습

oracle 11g에서 IDENTITY 사용 안된다함 ㅜ

org.hibernate.dialect.Dialect            : HHH000511: The 11.2.0 version for [org.hibernate.dialect.OracleDialect] is no longer supported, hence certain features may not work properly. The minimum supported version is 19.0.0. Check the community dialects project for available legacy versions.
2024-08-09T14:14:34.615+09:00 WARN 10000 --- [demo] [  restartedMain] o.h.t.s.i.ExceptionHandlerLoggedImpl     : GenerationTarget encountered exception accepting command : Error executing DDL "
    create table board (
        bno number(19,0) generated as identity,
        moddate timestamp(6),
        regdate timestamp(6),
        content varchar2(2000 char) not null,
        title varchar2(500 char) not null,
        writer varchar2(50 char) not null,
        primary key (bno)
    )" via JDBC [ORA-02000: missing ALWAYS keyword
]

org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "

 

create table board (
        bno number(19,0) generated as identity,
        moddate timestamp(6),
        regdate timestamp(6),
        content varchar2(2000 char) not null,
        title varchar2(500 char) not null,
        writer varchar2(50 char) not null,
        primary key (bno)
    )
오류 보고 -
ORA-02000: missing ALWAYS keyword
02000. 00000 -  "missing %s keyword"
728x90