Hi,
Is the MaxDB in a HANA Cloud Application an Unicode MaxDB?
Reason is the following error I received:
2013 07 05 15:42:57#+00#INFO#System.out##anonymous#http-bio-8041-exec-1##sXXXXtrial#XXXX#web#null#null#Internal Exception: com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [257]: sql syntax error: incorrect syntax near "UNICODE": line 1 col 45 (at pos 45)|
2013 07 05 15:42:57#+00#INFO#System.out##anonymous#http-bio-8041-exec-1##sXXXXtrial#XXXX#web#null#null#Error Code: 257|
2013 07 05 15:42:57#+00#INFO#System.out##anonymous#http-bio-8041-exec-1##sXXXXtrial#XXXX#web#null#null#Call: CREATE TABLE TST (PATH VARCHAR(255) UNICODE NOT NULL, PRIMARY KEY (PATH))|
I got this error when I used org.eclipse.persistence.platform.database.MaxDBPlatform for eclipselink.target-database. When I provide no eclipselink.target-database I get this error:
2013 07 05 15:02:23#+00#INFO#System.out##anonymous#http-bio-8041-exec-1##sXXXXtrial#XXXX#web#null#null#[EL Info]: 2013-07-05 15:02:23.028--Not able to detect platform for vendor name [HDB1]. Defaulting to [org.eclipse.persistence.platform.database.DatabasePlatform]. The database dialect used may not match with the database you are using. Please explicitly provide a platform using property eclipselink.platform.class.name.|
Regards,
Wolfgang