Hi Team,
I have a table schema in my H2 DB like below and when I am doing the build with H2DB 1.4.199 the table query is working fine but when using the H2DB 2.2.224 jar and while doing hte build it was giving "Expected NULLS" issue as shown below:
Create Table Query:
================
CREATE TABLE nim_config_properties (
id INT AUTO_INCREMENT
,mdr_id INT
,property_name VARCHAR(50)
,property_value VARCHAR(400)
,PRIMARY KEY (id)
,FOREIGN KEY (mdr_id) REFERENCES nim_config(mdr_id)
,UNIQUE KEY mdrIdProeprtyName(mdr_id, property_name)
);
Giving the following error when using H2DB 2.2.224 jar but working fine wiht H2DB 1.4.199 Jar
=================================================================================
Syntax error in SQL statement " CREATE TABLE nim_config_properties (\000a id INT AUTO_INCREMENT\000a ,mdr_id INT\000a ,property_name VARCHAR(50)\000a ,property_value VARCHAR(400)\000a ,PRIMARY KEY (id)\000a ,FOREIGN KEY (mdr_id) REFERENCES nim_config(mdr_id)\000a ,UNIQUE [*]KEY mdrIdProeprtyName(mdr_id, property_name)\000a )"; expected "NULLS, ("; SQL statement:
Any pointers would be highly appriciated.
Thanks in advance.
Regards,
Balamurali