diff options
Diffstat (limited to 'dcae_dmaapbc_webapp/dbca-overlay/src/main/webapp/WEB-INF/dbcapp/dbcapp.hbm.xml')
-rw-r--r-- | dcae_dmaapbc_webapp/dbca-overlay/src/main/webapp/WEB-INF/dbcapp/dbcapp.hbm.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dcae_dmaapbc_webapp/dbca-overlay/src/main/webapp/WEB-INF/dbcapp/dbcapp.hbm.xml b/dcae_dmaapbc_webapp/dbca-overlay/src/main/webapp/WEB-INF/dbcapp/dbcapp.hbm.xml new file mode 100644 index 0000000..87bf9c2 --- /dev/null +++ b/dcae_dmaapbc_webapp/dbca-overlay/src/main/webapp/WEB-INF/dbcapp/dbcapp.hbm.xml @@ -0,0 +1,27 @@ +<?xml version="1.0"?> +<!DOCTYPE hibernate-mapping PUBLIC + "-//Hibernate/Hibernate Mapping DTD 3.0//EN" + "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> + +<hibernate-mapping package="org.openecomp.dcae.dmaapbc.dbcapp.domain"> + + <!-- class mapping details --> + <class name="DmaapAccess" table="DBCA_DMAAP_ACCESS "> + <id name="id" column="dmaap_id" > + <generator class="native"> + <param name="sequence">seq_dbca_dmaap</param> + </generator> + </id> + <property name="userId" column="user_id"/> + <property name="name" column="name"/> + <property name="dmaapUrl" column="dmaap_url"/> + <property name="mechId" column="mech_id"/> + <property name="password" column="password"/> + <property name="selected" column="select_yn" type="yes_no" /> + <property name="created" column="created_date" type="timestamp" /> + <property name="modified" column="modified_date" type="timestamp" /> + <property name="createdId" column="created_id" /> + <property name="modifiedId" column="modified_id" /> + </class> + +</hibernate-mapping> |