blob: 5a2c4aa537b150ef1d5b1b822f8e37bc08f21633 [file] [log] [blame]
Arthur Martella62cd6aa2017-09-08 13:27:46 -04001<?xml version="1.0"?>
2<!--
3 ============LICENSE_START=======================================================
4 ECOMP MSO
5 ================================================================================
6 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
7 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
20 -->
21<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
Jim Hahn20e60c82017-10-12 11:32:34 -040022"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
Arthur Martella62cd6aa2017-09-08 13:27:46 -040023<!-- Generated Mar 31, 2017 3:39:01 PM by Hibernate Tools 3.4.0.CR1 -->
24<hibernate-mapping>
25 <class name="org.openecomp.mso.db.catalog.beans.HeatFiles" table="HEAT_FILES">
26 <id name="artifactUuid" type="java.lang.String" length="200">
27 <column name="ARTIFACT_UUID" />
28 <generator class="assigned" />
29 </id>
30 <property name="description" type="java.lang.String" length="1200">
31 <column name="DESCRIPTION" />
32 </property>
33 <property name="fileName" type="java.lang.String" length="200" not-null="true">
34 <column name="NAME" />
35 </property>
36 <property name="version" type="java.lang.String" length="20" not-null="true">
37 <column name="VERSION" />
38 </property>
Rob Daughertyc52588e2017-10-24 17:09:04 -040039 <property name="fileBody" type="text" not-null="true">
Arthur Martella62cd6aa2017-09-08 13:27:46 -040040 <column name="BODY" />
41 </property>
Jim Hahn20e60c82017-10-12 11:32:34 -040042 <property name="created" type="java.sql.Timestamp" generated="insert" update="false" insert="false" not-null="true">
43 <column name="CREATION_TIMESTAMP" default="CURRENT_TIMESTAMP"/>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040044 </property>
45 <property name="artifactChecksum" type="java.lang.String" length="200" not-null="true">
46 <column name="ARTIFACT_CHECKSUM"/>
47 </property>
48 </class>
49</hibernate-mapping>