diff options
author | ramprasad kotagiri <rp5662@att.com> | 2019-03-07 15:55:26 -0500 |
---|---|---|
committer | Timoney, Dan (dt5972) <dtimoney@att.com> | 2019-03-13 20:34:06 -0400 |
commit | 2e98a6c64dcdc0891f3729abb045115b790a2c54 (patch) | |
tree | b500d9c108e4eb520a8e00c3f39d7acdfd878728 /ccsdk-app-overlay/src/main/webapp/WEB-INF/oom-app.hbm.xml | |
parent | 3df51c6bb79df182be4f0f1bac20bde75f434494 (diff) |
Latest code base
Change-Id: I9549091ebeeabcef2d7af7d91cc394d8371e496b
Issue-ID: CCSDK-1011
Signed-off-by: ramprasad kotagiri <rp5662@att.com>
Diffstat (limited to 'ccsdk-app-overlay/src/main/webapp/WEB-INF/oom-app.hbm.xml')
-rw-r--r-- | ccsdk-app-overlay/src/main/webapp/WEB-INF/oom-app.hbm.xml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/ccsdk-app-overlay/src/main/webapp/WEB-INF/oom-app.hbm.xml b/ccsdk-app-overlay/src/main/webapp/WEB-INF/oom-app.hbm.xml index f92261d..b302346 100644 --- a/ccsdk-app-overlay/src/main/webapp/WEB-INF/oom-app.hbm.xml +++ b/ccsdk-app-overlay/src/main/webapp/WEB-INF/oom-app.hbm.xml @@ -25,7 +25,7 @@ "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<hibernate-mapping package="org.onap.oom.dashboard.domain"> +<hibernate-mapping package="org.onap.ccsdk.dashboard.domain"> <!-- class mapping details --> <class name="ControllerEndpoint" table="ecd_endpoint"> @@ -33,5 +33,17 @@ <property name="name" column="name"/> <property name="url" column="url"/> </class> + <class name="EcdComponent" table="ecd_component"> + <id name="compId" column="ecd_component_id"> + <generator class="native"> + <param name="sequence">seq_ecd_component</param> + </generator> + </id> + <property name="cname" column="ecd_component_name"/> + <property name="dname" column="ecd_component_display"/> + </class> + <query name="getAllComponents"> + FROM EcdComponent + </query> </hibernate-mapping> |