avatar image
Former Member

Unable to bind JAVA app to a schema using JPA

Hi,

Trying to bind my sample java app to a schema on HCP.

When executing the program it throws an error ":java.lang.UnsupportedOperationException: Not supported by BasicDataSource"

Did get the schema details using the neo command.

neo open-db-tunnel -i  pXXXXtrial.persistencejpa.web  -a pXXXXXtrial -h hanatrial.ondemand.com -u XXXXX
   Host name        : localhost
   Database type    : HANA
   JDBC Url         : jdbc:sap://localhost:30315/?currentschema=NEO_4GPQBHRKLN3W4HPSGFBSMQ9ME
   Instance number  : 03
   User             : XXXX
   Password         : XXXXXX
   Schema name      : NEO_4GPQBHRKLN3W4HPSGFBSMQ9ME
schema.png (28.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 08, 2017 at 05:44 PM

    Hi Chanaka,

    Did you try attaching the binding via the SAP Cloud platform cockpit?

    Programming with JPA, you have to use the "Java EE 6 Web Profile SDK".

    Thanks,

    Jin

    Add comment
    10|10000 characters needed characters exceeded

Skip to Content