]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman-Common/src/org/splat/dal/bo/kernel/TextAttribute.hbm.xml
Salome HOME
Siman codebase is refactored. Spring beans are introduced in the context.
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / dal / bo / kernel / TextAttribute.hbm.xml
diff --git a/Workspace/Siman-Common/src/org/splat/dal/bo/kernel/TextAttribute.hbm.xml b/Workspace/Siman-Common/src/org/splat/dal/bo/kernel/TextAttribute.hbm.xml
new file mode 100644 (file)
index 0000000..7b5fe9b
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >
+<!--
+  -
+  - @author    Daniel Brunier-Coulin
+  - @copyright OPEN CASCADE 2012
+  -->
+
+<hibernate-mapping>
+  <joined-subclass name="org.splat.dal.bo.kernel.TextAttribute" extends="org.splat.dal.bo.kernel.Attribute" table="text_attr">
+       <key column="rid"/>
+           <property name="mytext" column="value" type="text" access="field" not-null="true"/>
+  </joined-subclass>
+</hibernate-mapping>
\ No newline at end of file