Java Doc for Attributes.java in  » Database-ORM » MMBase » org » mmbase » storage » implementation » database » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database ORM » MMBase » org.mmbase.storage.implementation.database 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.mmbase.storage.implementation.database.Attributes

Attributes
final public class Attributes (Code)
This class defines the attributes names used by the default database storage manager classes. Specific storage managers may ignore or add their own attributes.
author:
   Pierre van Rooden
since:
   MMBase-1.7
version:
   $Id: Attributes.java,v 1.14 2005/02/03 09:21:38 michiel Exp $


Field Summary
final public static  StringBINARY_FILE_PATH
     Attribute: database-binary-file-path.
final public static  StringDATA_SOURCE
     Attribute: database-data-source.
final public static  StringFORCE_ENCODE_TEXT
     Option: database-force-encode-text.
final public static  StringLIE_CP1252
     If the database is ISO-8859-1, then you can switch this option to true, to store CP1252 in it.
final public static  StringREMOVE_EMPTY_DEFINITIONS
     Option: database-remove-empty-definitions.
final public static  StringSEQUENCE_BUFFER_SIZE
     Option: sequence-buffer-size.
final public static  StringSTORES_BINARY_AS_FILE
     Option: database-stores-binary-as-file.
final public static  StringSUPPORTS_BLOB
     Option: database-supports-blob.
final public static  StringSUPPORTS_COMPOSITE_INDEX
     Option: database-supports-composite-index.
final public static  StringSUPPORTS_DATA_DEFINITION
     Option: database-supports-data-definition.
final public static  StringSUPPORTS_TRANSACTIONS
     Option: database-supports-transactions.
final public static  StringTRANSACTION_ISOLATION_LEVEL
     Attribute: database-transaction-isolation-level.
final public static  StringTRIM_STRINGS
     Option: trim-strings.



Field Detail
BINARY_FILE_PATH
final public static String BINARY_FILE_PATH(Code)
Attribute: database-binary-file-path. The path to the directyory where binary files are to be stored if Attributes.STORES_BINARY_AS_FILE is true. The default is the WEB-INF/data directory of the mmbase web application. Note that if you specify a relative url, it is taken from the web application's webroot.



DATA_SOURCE
final public static String DATA_SOURCE(Code)
Attribute: database-data-source. The data source object used by the storage layer. This attribute is set by the storagelayer and returns a javax.sql.DataSource object. You should not set or configure this attribute (but you can retrieve it).



FORCE_ENCODE_TEXT
final public static String FORCE_ENCODE_TEXT(Code)
Option: database-force-encode-text. If true, the database layer will explicitly decode/encode strings using the MMBase encoding when storing and retrieving text from the database. The default is false



LIE_CP1252
final public static String LIE_CP1252(Code)
If the database is ISO-8859-1, then you can switch this option to true, to store CP1252 in it.



REMOVE_EMPTY_DEFINITIONS
final public static String REMOVE_EMPTY_DEFINITIONS(Code)
Option: database-remove-empty-definitions. If this option is true, empty parenthesis in a table definition are removed. When you create a new table that extends form another table, but which doesn't add fields, you may get a statement that looks like:
CREATE TABLE table1 () UNDER table2
This statement will fail udner a database such as Informix, which does not accept empty parenthesis, but instead expects:
CREATE TABLE table1 UNDER table2
On the other hand, a database such as Postgresql DOES expect the parenthesis (and fails if they are ommitted.) The default is false



SEQUENCE_BUFFER_SIZE
final public static String SEQUENCE_BUFFER_SIZE(Code)
Option: sequence-buffer-size. The sequence buffer size is the number of keys that MMBase caches in the storage layer. You can use this to minimize the nr of times MMBase accesses the database to generate a new object number. When not set, the value is assumed to be 1.



STORES_BINARY_AS_FILE
final public static String STORES_BINARY_AS_FILE(Code)
Option: database-stores-binary-as-file. When true, binary data is stored on disk, rather than in the database. If you set this option ou should also set the attribute Attributes.BINARY_FILE_PATH The default is false



SUPPORTS_BLOB
final public static String SUPPORTS_BLOB(Code)
Option: database-supports-blob. When true, the driver/database used supports the JDBC getBlob() method. The default is false



SUPPORTS_COMPOSITE_INDEX
final public static String SUPPORTS_COMPOSITE_INDEX(Code)
Option: database-supports-composite-index. When true, the database uses composite indices for 'key' fields. When false, it uses single indices (a separate index for each field) The default is true



SUPPORTS_DATA_DEFINITION
final public static String SUPPORTS_DATA_DEFINITION(Code)
Option: database-supports-data-definition. If true, the data definiton (table structure) can be changed using ALTER TABLE statements. Some databses (such as Informix) may have trouble with ALTER TABLE statements on OO-tables. Turn this option false for tehse databses. The default is true



SUPPORTS_TRANSACTIONS
final public static String SUPPORTS_TRANSACTIONS(Code)
Option: database-supports-transactions. When true, the database supports transactions. The default is determined form the database, but you can override it.



TRANSACTION_ISOLATION_LEVEL
final public static String TRANSACTION_ISOLATION_LEVEL(Code)
Attribute: database-transaction-isolation-level. The transaction isolation level used for connections to the database. This determines the level of transaction support. The default is determined from the database metadata.



TRIM_STRINGS
final public static String TRIM_STRINGS(Code)
Option: trim-strings. Some text fields for some databases need to be trimmed. The default is false





Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.