1 # THE CASTOR PROPERTIES FILE
\r
2 # This file specifies values for Castor run-time which may be configured
\r
6 # This section defines Backwards compatibility switches.
\r
8 # Hashtable/Map default mapping.
\r
9 # For backward compatibility with 0.9.5.2 and earlier.
\r
11 #org.exolab.castor.xml.saveMapKeys=false
\r
13 # Defines the default XML parser to be used by Castor.
\r
14 # The parser must implement org.xml.sax.Parser.
\r
16 org.exolab.castor.parser=org.apache.xerces.parsers.SAXParser
\r
18 # Defines the (default) XML serializer factory to use by Castor, which must
\r
19 # implement org.exolab.castor.xml.SerializerFactory; default is
\r
20 # org.exolab.castor.xml.XercesXMLSerializerFactory
\r
22 # When using Castor XML with JDK 5.0, you may switch to the XercesJDK5XMLSerializerFactory
\r
23 # which will use the Xerces instance as shipped with the JDK itself; this avoids
\r
24 # having to download another Xerces instance and installing it.
\r
25 org.exolab.castor.xml.serializer.factory=org.exolab.castor.xml.XercesXMLSerializerFactory
\r
26 #org.exolab.castor.xml.serializer.factory=org.exolab.castor.xml.XercesJDK5XMLSerializerFactory
\r
28 # Defines the NodeType for use with Java primitive types (int, long, boolean,
\r
29 # etc). This value is only used by the Introspector. Valid values are either
\r
30 # "attribute" or "element". By default, all primitives are marshaled as
\r
31 # attributes. Uncomment the following line to change the NodeType to element.
\r
33 #org.exolab.castor.xml.introspector.primitive.nodetype=element
\r
35 # Defines the Naming "style" or conventions to use when creating XML names
\r
36 # from Java class or field names.
\r
37 # Valid values are as follows:
\r
38 # -----------------------------------------------------------------
\r
39 # lower (default) | All names are lowercase with hyphens
\r
40 # | separating words.
\r
42 # | Example: personInfo = person-info
\r
43 # -----------------------------------------------------------------
\r
44 # mixed | All names are mixed case, with Uppercase
\r
45 # | character as the first letter of a new word.
\r
47 # | Example: personInfo = personInfo
\r
48 # | Example: FooBar = fooBar
\r
49 # -----------------------------------------------------------------
\r
50 # {Any ClassName} | Any Class which implements
\r
51 # | org.exolab.castor.xml.XMLNaming
\r
52 # -----------------------------------------------------------------
\r
54 # By default, all names are treated as the "lower" option. To preserve the
\r
55 # Java mixed-case conventions, uncomment the following line.
\r
57 #org.exolab.castor.xml.naming=mixed
\r
59 ###############################
\r
60 # REGULAR EXPRESSION EVALUATORS
\r
62 # Defines the Regular Expression Evaluator to be used by Castor.
\r
63 # The evaluator must implement org.exolab.castor.util.RegExpEvaluator.
\r
65 # Uncomment the following to basically suppress Regular expressions evaluation:
\r
66 #org.exolab.castor.regexp=org.exolab.castor.xml.util.AlwaysTrueRegExpEvaluator
\r
68 # An implementation which uses the Jakarta RegExp library:
\r
69 #org.exolab.castor.regexp=org.exolab.castor.util.JakartaRegExpEvaluator
\r
71 # An implementation which uses the Jakarta ORO library:
\r
72 org.exolab.castor.regexp=org.exolab.castor.util.JakartaOroEvaluator
\r
74 # True if all documents should be indented on output by default.
\r
75 # Defaults to false.
\r
77 #org.exolab.castor.indent=true
\r
79 # True if xml documents should be validated by the SAX Parser
\r
80 # Defaults to false.
\r
82 org.exolab.castor.parser.validation=false
\r
84 # True for parser to support Namespaces.
\r
85 # Defaults to false.
\r
87 org.exolab.castor.parser.namespaces=false
\r
89 # True if all documents should be validated by the marshaling framework
\r
92 org.exolab.castor.marshalling.validation=true
\r
94 # Comma separated list of SAX 2 features that should be enabled for the
\r
97 #org.exolab.castor.sax.features=
\r
99 # Comma separated list of SAX 2 features that should be disabled for the
\r
102 #org.exolab.castor.sax.features-to-disable
\r
104 # True if debugging output should be generated.
\r
105 # Defaults to false.
\r
107 org.exolab.castor.debug=false
\r
109 # List of collection handlers for Java 1.1 and Java 1.2 run-times:
\r
111 org.exolab.castor.mapping.collections=\
\r
112 org.exolab.castor.mapping.loader.J1CollectionHandlers,\
\r
113 org.exolab.castor.mapping.loader.J2CollectionHandlers
\r
115 # List of persistence factories for the supported database servers:
\r
117 org.exolab.castor.jdo.engines=\
\r
118 org.exolab.castor.jdo.drivers.OracleFactory,\
\r
119 org.exolab.castor.jdo.drivers.PostgreSQLFactory,\
\r
120 org.exolab.castor.jdo.drivers.SybaseFactory,\
\r
121 org.exolab.castor.jdo.drivers.SQLServerFactory,\
\r
122 org.exolab.castor.jdo.drivers.DB2Factory,\
\r
123 org.exolab.castor.jdo.drivers.InformixFactory,\
\r
124 org.exolab.castor.jdo.drivers.HsqlFactory,\
\r
125 org.exolab.castor.jdo.drivers.InstantDBFactory,\
\r
126 org.exolab.castor.jdo.drivers.InterbaseFactory,\
\r
127 org.exolab.castor.jdo.drivers.MySQLFactory,\
\r
128 org.exolab.castor.jdo.drivers.SapDbFactory,\
\r
129 org.exolab.castor.jdo.drivers.GenericFactory,\
\r
130 org.exolab.castor.jdo.drivers.DerbyFactory,\
\r
131 org.castor.jdo.drivers.PointbaseFactory,\
\r
132 org.castor.jdo.drivers.ProgressFactory
\r
134 # List of key generator factories:
\r
136 org.exolab.castor.jdo.keyGeneratorFactories=\
\r
137 org.exolab.castor.jdo.keygen.MaxKeyGeneratorFactory,\
\r
138 org.exolab.castor.jdo.keygen.HighLowKeyGeneratorFactory,\
\r
139 org.exolab.castor.jdo.keygen.IdentityKeyGeneratorFactory,\
\r
140 org.exolab.castor.jdo.keygen.SequenceKeyGeneratorFactory,\
\r
141 org.exolab.castor.jdo.keygen.UUIDKeyGeneratorFactory
\r
143 # Collection handlers for the source code generator:
\r
145 org.exolab.castor.builder.type.j2=\
\r
146 org.exolab.castor.builder.FieldInfoFactoryJ2
\r
147 org.exolab.castor.builder.type.j1=\
\r
148 org.exolab.castor.builder.FieldInfoFactory
\r
149 org.exolab.castor.builder.type.odmg=\
\r
150 org.exolab.castor.builder.FieldInfoFactoryODMG30
\r
152 # Configures the default time zone to apply to dates/times fetched from
\r
153 # database fields (if not already part of the data). Specify same format as
\r
154 # in java.util.TimeZone.getTimeZone, or the empty string to use the computer's
\r
155 # local time zone. Please see http://de.wikipedia.org/wiki/Zeitzone for
\r
156 # detailed information about time zones.
\r
158 org.exolab.castor.jdo.defaultTimeZone=
\r
159 #org.exolab.castor.jdo.defaultTimeZone=GMT-8:00
\r
161 # List of TxSynchronizeable implementations:
\r
163 #org.exolab.castor.persist.TxSynchronizable=
\r
165 # Sets the buffer size in bytes for fetching LOBs (this is dependent upon
\r
166 # the JDBC driver implementation). The value below == 5k.
\r
168 org.exolab.castor.jdo.lobBufferSize=5120
\r
170 # True if database configuration should be initalization
\r
171 # when loading it (default: true).
\r
173 #org.exolab.castor.jdo.DatabaseInitializeAtLoad=true
\r
175 # True if proxy classes should be used for JDBC connections and
\r
176 # prepared statements.
\r
177 # Defaults to true.
\r
179 org.exolab.castor.persist.useProxies=false
\r
181 # MappingLoader implementations:
\r
183 org.castor.mapping.loaderFactories=\
\r
184 org.castor.mapping.JDOMappingLoaderFactory,\
\r
185 org.castor.mapping.XMLMappingLoaderFactory
\r
187 # Cache implementations:
\r
189 org.castor.cache.Factories=\
\r
190 org.castor.cache.simple.NoCacheFactory,\
\r
191 org.castor.cache.simple.TimeLimitedFactory,\
\r
192 org.castor.cache.simple.CountLimitedFactory,\
\r
193 org.castor.cache.simple.UnlimitedFactory,\
\r
194 org.castor.cache.distributed.FKCacheFactory,\
\r
195 org.castor.cache.distributed.JcsCacheFactory,\
\r
196 org.castor.cache.distributed.JCacheFactory,\
\r
197 org.castor.cache.distributed.CoherenceCacheFactory,\
\r
198 org.castor.cache.distributed.OsCacheFactory,\
\r
199 org.castor.cache.hashbelt.FIFOHashbeltFactory,\
\r
200 org.castor.cache.hashbelt.LRUHashbeltFactory,\
\r
201 org.castor.cache.distributed.EHCacheFactory,\
\r
202 org.castor.cache.distributed.GigaspacesCacheFactory
\r
204 # TransactionManagerFactory implementations:
\r
206 org.castor.transactionmanager.Factories=\
\r
207 org.castor.transactionmanager.WebSphereTransactionManagerFactory,\
\r
208 org.castor.transactionmanager.WebSphere5TransactionManagerFactory,\
\r
209 org.castor.transactionmanager.WebSphere51TransactionManagerFactory,\
\r
210 org.castor.transactionmanager.LocalTransactionManagerFactory,\
\r
211 org.castor.transactionmanager.JNDIENCTransactionManagerFactory,\
\r
212 org.castor.transactionmanager.JOTMTransactionManagerFactory
\r
214 # Selects whether the TransactionManager should be initialized at registration,
\r
215 # or lazily when requested for the first time.
\r
216 # Defaults to false.
\r
218 org.castor.transactionmanager.InitializeAtRegistration=false
\r
220 # Instructs Castor JDO to use the JDBC 3.0-specific features to obtain
\r
221 # the generated value of an identity column.
\r
222 # Defaults to false.
\r
224 org.castor.jdo.use.jdbc30=false
\r
226 # Specifies whether to use ANSI-compliant SQL for MS SQL Server.
\r
227 # Defaults to false.
\r
229 org.exolab.castor.jdo.sqlserver.ansi-compliant=false
\r
231 # Specifyies whether the ClassDescriptorResolver should (automatically) search
\r
232 # for and consult with package mapping files (.castor.xml) to retrieve class
\r
233 # descriptor information; on by default.
\r
234 # Defaults to true.
\r
236 #org.exolab.castor.xml.loadPackageMappings=false
\r