Author: mkalen
Date: Mon Jun 5 10:35:40 2006
New Revision: 411865
URL: http://svn.apache.org/viewvc?rev=411865&view=rev
Log:
New null-check attribute for field-descriptor (commit local changes part of
[OJB-105]).
Modified:
db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository.dtd
Modified: db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository.dtd
URL:
http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository.dtd?rev=411865&r1=411864&r2=411865&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository.dtd
(original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository.dtd Mon
Jun 5 10:35:40 2006
@@ -1,5 +1,5 @@
<!--
-#/* Copyright 2004-2005 Apache Software Foundation
+#/* Copyright 2004-2006 Apache Software Foundation
# *
# * Licensed under the Apache License, Version 2.0 (the "License");
# * you may not use this file except in compliance with the License.
@@ -577,6 +577,12 @@
A FieldConversion can be used to implement conversions between Java-
attributes and database columns.
+ The null-check attribute contains a fully qualified class name.
+ This class must implement the interface
+ org.apache.ojb.broker.accesslayer.NullCheck.
+ A NullCheck can be used to implement special requirements for
+ the definitions of a field's 'null' value as Java representation.
+
The length attribute can be used to specify a length setting, if
required by the jdbc-type of the underlying database column.
@@ -614,6 +620,7 @@
update-lock (true | false) "true"
default-fetch (true | false) "false"
conversion CDATA #IMPLIED
+ null-check CDATA #IMPLIED
length CDATA #IMPLIED
precision CDATA #IMPLIED
scale CDATA #IMPLIED
@@ -1031,4 +1038,4 @@
(documentation?, attribute*)>
<!ATTLIST constant-argument
value CDATA #REQUIRED
->
\ No newline at end of file
+>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]