Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

View on tables generated by JPA

$
0
0

Hi Gurus!

 

I finished RUI's tutorial on raspberry (RaspberryPi on SAP HANA Cloud Platform) and I have a lots of measurement already. My question is if it is possible to make a calculation view on those tables (I cannot even find the tables that had been created...).

This is the persistence.xml:

<?xml version="1.0" encoding="UTF-8"?>

<persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistencehttp://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">

  <persistence-unit name="iotscenario">

  <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>

        <class>org.persistence.Measurement</class>

        <class>org.persistence.Sensor</class>

        <properties>

            <property name="eclipselink.ddl-generation" value="create-tables"/>

        </properties>

  </persistence-unit>

</persistence>

 

Where can I find the generated tables, so I can create a CV on them...

(My aim is to sum the measurements by day from the timestamp in a CV and call that CV from my application)

 

Thanks,

David.


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>