User: dsundstrom Date: 02/02/11 22:22:51 Modified: src/resources/org/jboss/metadata jbosscmp-jdbc_3_0.dtd Log: Added not-null to cmp-field and property. Revision Changes Path 1.11 +8 -2 jboss/src/resources/org/jboss/metadata/jbosscmp-jdbc_3_0.dtd Index: jbosscmp-jdbc_3_0.dtd =================================================================== RCS file: /cvsroot/jboss/jboss/src/resources/org/jboss/metadata/jbosscmp-jdbc_3_0.dtd,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- jbosscmp-jdbc_3_0.dtd 3 Feb 2002 02:19:27 -0000 1.10 +++ jbosscmp-jdbc_3_0.dtd 12 Feb 2002 06:22:50 -0000 1.11 @@ -183,7 +183,7 @@ The cmp-field element contains the configuration of a cmp-field. --> <!ELEMENT cmp-field (field-name, read-only?, time-out?, - column-name?, ((jdbc-type, sql-type) | (property+))? )> + column-name?, not-null?, ((jdbc-type, sql-type) | (property+))? )> <!-- @@ -200,6 +200,12 @@ <!-- +If present the field will not allow a field value. +--> +<!ELEMENT not-null EMPTY> + + +<!-- This is the JDBC type that is used when setting parameters in a JDBC PreparedStatement or loading data from a JDBC ResultSet for this cmp-field. The valid types are defined in java.sql.Types. @@ -219,7 +225,7 @@ value class property of a cmp-field that is the type of a dependent value class. --> -<!ELEMENT property (property-name, column-name?, +<!ELEMENT property (property-name, column-name?, not-null?, (jdbc-type, sql-type)?)>
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development