diff options
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> |