Java Doc for Attribute.java in  » Database-DBMS » db-derby-10.2 » org » apache » derby » iapi » reference » 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 DBMS » db derby 10.2 » org.apache.derby.iapi.reference 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.derby.iapi.reference.Attribute

Attribute
public interface Attribute (Code)
List of all connection (JDBC) attributes by the system.

This class exists for two reasons

  1. To act as the internal documentation for the attributes.
  2. To remove the need to declare a java static field for the attributes name in the protocol/implementation class. This reduces the footprint as the string is final and thus can be included simply as a String constant pool entry.

This class should not be shipped with the product.

This class has no methods, all it contains are String's which by are public, static and final since they are declared in an interface.

At some point this class should be replaced by org.apache.derby.shared.common.reference.Attribute. The issue is that this class is used by ij to check attributes, ij uses reflection on this class to get the list of valid attributes. The expanded class in shared has the client attributes as well. Ideally ij would work of an explicit list of attributes and not infer the set from reflection. See DERBY-1151



Field Summary
 StringBOOT_PASSWORD
     If dataEncryption is true, use this attribute to pass in the secret key.
 StringCLIENT_SECURITY_MECHANISM
     securityMechanism sets the DRDA mechanism in-use for the client.
 StringCOLLATE
     Set the collation sequence of the database, currently on IDENTITY will be supported (strings will sort according to binary comparison).
 StringCREATE_ATTR
     The attribute that is used to request a database create.
 StringCREATE_FROM
     This attribute is used to request to create a database from backup.
 StringCRYPTO_ALGORITHM
     Attribute for encrypting a database.
 StringCRYPTO_EXTERNAL_KEY
     Attribute for encrypting a database. Specifies the actual key.
 StringCRYPTO_EXTERNAL_KEY_VERIFY_FILE
     One can encrypt the database with an encryption key at create time.
 StringCRYPTO_KEY_LENGTH
     Attribute for encrypting a database.
 StringCRYPTO_PROVIDER
     Attribute for encrypting a database.
 StringDATA_ENCRYPTION
     Attribute name to encrypt the database on disk.
 StringDBNAME_ATTR
    
 StringDNC_PROTOCOL
    
 StringDRDAID_ATTR
     The attribute that is used to set the connection's DRDA ID.
 StringDRDA_SECTKN_IN
     Internal attributes.
 StringDRDA_SECTKN_OUT
    
 StringJCC_PROTOCOL
    
 StringLOG_DEVICE
     Put the log on a different device.
 StringNEW_BOOT_PASSWORD
     The attribute that is used to chage the secret key of an encrypted database.
 StringNEW_CRYPTO_EXTERNAL_KEY
     The attribute that is used to chage the encryption key of an encrypted database.
 StringPASSWORD_ATTR
     The attribute that is used to set the user password.
 StringPROTOCOL
     Not an attribute but the root for the JDBC URL that Derby supports.
 StringRESTORE_FROM
     This attribute is used to request a database restore from backup.
 StringROLL_FORWARD_RECOVERY_FROM
     The attribute that is used to request a roll-forward recovery of the database.
 StringSHUTDOWN_ATTR
     The attribute that is used to request a shutdown.
 StringSQLJ_NESTED
    
 StringTERRITORY
     Set the territory for the database.
 StringUPGRADE_ATTR
     The attribute that is used to allow upgrade.
 StringUSERNAME_ATTR
     The attribute that is used to set the user name.



Field Detail
BOOT_PASSWORD
String BOOT_PASSWORD(Code)
If dataEncryption is true, use this attribute to pass in the secret key. The secret key must be at least 8 characters long. This key must not be stored persistently in cleartext anywhere.



CLIENT_SECURITY_MECHANISM
String CLIENT_SECURITY_MECHANISM(Code)
securityMechanism sets the DRDA mechanism in-use for the client. Internal only.



COLLATE
String COLLATE(Code)
Set the collation sequence of the database, currently on IDENTITY will be supported (strings will sort according to binary comparison).



CREATE_ATTR
String CREATE_ATTR(Code)
The attribute that is used to request a database create.



CREATE_FROM
String CREATE_FROM(Code)
This attribute is used to request to create a database from backup. This will throw error if a database with same already exists at the location where we tring to create.



CRYPTO_ALGORITHM
String CRYPTO_ALGORITHM(Code)
Attribute for encrypting a database. Specifies the cryptographic algorithm.



CRYPTO_EXTERNAL_KEY
String CRYPTO_EXTERNAL_KEY(Code)
Attribute for encrypting a database. Specifies the actual key. When this is specified all the supplied crypto information is stored external to the database, ie by the application.



CRYPTO_EXTERNAL_KEY_VERIFY_FILE
String CRYPTO_EXTERNAL_KEY_VERIFY_FILE(Code)
One can encrypt the database with an encryption key at create time. For security reasons, this key is not made persistent in the database. But it is necessary to verify the encryption key whenever booting the database before we access the data/logs to avoid the risk of corrupting the database because of a wrong encryption key. This attribute refers to the name of the file where encrypted data is stored for verification of encryption key.



CRYPTO_KEY_LENGTH
String CRYPTO_KEY_LENGTH(Code)
Attribute for encrypting a database. Specifies the key length in bytes for the specified cryptographic algorithm.



CRYPTO_PROVIDER
String CRYPTO_PROVIDER(Code)
Attribute for encrypting a database. Specifies the cryptographic services provider.



DATA_ENCRYPTION
String DATA_ENCRYPTION(Code)
Attribute name to encrypt the database on disk. If set to true, all user data is stored encrypted on disk.



DBNAME_ATTR
String DBNAME_ATTR(Code)
The attribute that is used for the database name, from the JDBC notion of jdbc::



DNC_PROTOCOL
String DNC_PROTOCOL(Code)
The protocol for Derby Network Client



DRDAID_ATTR
String DRDAID_ATTR(Code)
The attribute that is used to set the connection's DRDA ID.



DRDA_SECTKN_IN
String DRDA_SECTKN_IN(Code)
Internal attributes. Mainly used by DRDA and Derby BUILTIN authentication provider in some security mechanism context (SECMEC_USRSSBPWD). DRDA_SECTKN_IN is the random client seed (RDs) DRDA_SECTKN_OUT is the random server seed (RDr)



DRDA_SECTKN_OUT
String DRDA_SECTKN_OUT(Code)



JCC_PROTOCOL
String JCC_PROTOCOL(Code)
The protocol for the IBM Universal JDBC Driver



LOG_DEVICE
String LOG_DEVICE(Code)
Put the log on a different device.



NEW_BOOT_PASSWORD
String NEW_BOOT_PASSWORD(Code)
The attribute that is used to chage the secret key of an encrypted database. The secret key must be at least 8 characters long. This key must not be stored persistently in cleartext anywhere.



NEW_CRYPTO_EXTERNAL_KEY
String NEW_CRYPTO_EXTERNAL_KEY(Code)
The attribute that is used to chage the encryption key of an encrypted database. When this is specified all the supplied crypto information is stored external to the database, ie by the application.



PASSWORD_ATTR
String PASSWORD_ATTR(Code)
The attribute that is used to set the user password.



PROTOCOL
String PROTOCOL(Code)
Not an attribute but the root for the JDBC URL that Derby supports.



RESTORE_FROM
String RESTORE_FROM(Code)
This attribute is used to request a database restore from backup. It must be used only when the active database is corrupted, because it will cleanup the existing database and replace it from the backup.



ROLL_FORWARD_RECOVERY_FROM
String ROLL_FORWARD_RECOVERY_FROM(Code)
The attribute that is used to request a roll-forward recovery of the database.



SHUTDOWN_ATTR
String SHUTDOWN_ATTR(Code)
The attribute that is used to request a shutdown.



SQLJ_NESTED
String SQLJ_NESTED(Code)
The SQLJ protocol for getting the default connection for server side jdbc



TERRITORY
String TERRITORY(Code)
Set the territory for the database.



UPGRADE_ATTR
String UPGRADE_ATTR(Code)
The attribute that is used to allow upgrade.



USERNAME_ATTR
String USERNAME_ATTR(Code)
The attribute that is used to set the user name.





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