Java Doc for KeyGenerator.java in  » Database-ORM » ProjectJulp » org » julp » 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 » ProjectJulp » org.julp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.julp.KeyGenerator

KeyGenerator
public class KeyGenerator (Code)


Field Summary
protected  booleancacheStatements
    
protected  booleancreateSequenceOnDemand
    
protected  DBServicesdbServices
    
protected  booleanexternalSequence
    
protected  MaphiValues
    
protected  StringidColumn
    
protected  intincrement
    
protected  NumberinitialValue
    
protected  Stringinsert
    
protected  intisolationLevel
    
protected  booleanisolationLevelSet
    
protected  ClasskeyClass
    
protected  MaplowValues
    
protected  intretryMax
    
protected  Stringselect
    
protected  StringsequenceNameColumn
    
protected  Setsequences
    
protected  StringsqlState
    
protected  Stringtable
    
protected  longtimeout
    
protected  Stringupdate
    
protected  intvendorErrorCode
    

Constructor Summary
public  KeyGenerator()
    
public  KeyGenerator(int isolationLevel)
    
public  KeyGenerator(String table, String sequenceNameColumn, String idColumn, int isolationLevel)
    
public  KeyGenerator(String table, String sequenceNameColumn, String idColumn)
    
public  KeyGenerator(String table, String sequenceNameColumn, String idColumn, int isolationLevel, boolean externalSequence)
    
public  KeyGenerator(String table, String sequenceNameColumn, String idColumn, boolean externalSequence)
    

Method Summary
public synchronized  NumbergetCurrentValue(String sequence)
    
public  DBServicesgetDBServices()
    
public  StringgetIdColumn()
    
public  intgetIncrement()
    
public  NumbergetInitialValue()
    
public  intgetIsolationLevel()
    
public  ClassgetKeyClass()
    
public synchronized  NumbergetNextValue(String sequence)
    
public  intgetRetryMax()
    
protected synchronized  NumbergetSeed(String sequence)
    
public  StringgetSequenceNameColumn()
    
public  StringgetSqlState()
    
public  StringgetTable()
    
public  longgetTimeout()
    
public  voidinit()
    
public  booleanisCacheStatements()
    
public  booleanisCreateSequenceOnDemand()
    
public  booleanisExternalSequence()
    
public  voidreset()
    
public  voidsetCacheStatements(boolean cacheStatements)
    
public  voidsetCreateSequenceOnDemand(boolean createSequenceOnDemand)
    
public  voidsetDBServices(DBServices dbServices)
    
public  voidsetExternalSequence(boolean externalSequence)
    
public  voidsetIdColumn(String idColumn)
    
public  voidsetIncrement(int increment)
    
public  voidsetInitialValue(Number initialValue)
    
public  voidsetIsolationLevel(int isolationLevel)
    
public  voidsetKeyClass(Class keyClass)
    
public  voidsetRetryMax(int retryMax)
    
public  voidsetSequenceNameColumn(String sequenceNameColumn)
    
public  voidsetSqlState(String sqlState)
    
public  voidsetTable(String table)
    
public  voidsetTimeout(long timeout)
    

Field Detail
cacheStatements
protected boolean cacheStatements(Code)



createSequenceOnDemand
protected boolean createSequenceOnDemand(Code)



dbServices
protected DBServices dbServices(Code)
DO NOT USE THE SAME CONNECTION AS THE REST OF THE APPLICATION SINCE CONNECTION FOR KeyGenerator COMMITS ALWAYS!!!



externalSequence
protected boolean externalSequence(Code)



hiValues
protected Map hiValues(Code)



idColumn
protected String idColumn(Code)



increment
protected int increment(Code)



initialValue
protected Number initialValue(Code)



insert
protected String insert(Code)



isolationLevel
protected int isolationLevel(Code)



isolationLevelSet
protected boolean isolationLevelSet(Code)



keyClass
protected Class keyClass(Code)



lowValues
protected Map lowValues(Code)



retryMax
protected int retryMax(Code)



select
protected String select(Code)



sequenceNameColumn
protected String sequenceNameColumn(Code)



sequences
protected Set sequences(Code)



sqlState
protected String sqlState(Code)



table
protected String table(Code)



timeout
protected long timeout(Code)



update
protected String update(Code)



vendorErrorCode
protected int vendorErrorCode(Code)




Constructor Detail
KeyGenerator
public KeyGenerator()(Code)



KeyGenerator
public KeyGenerator(int isolationLevel)(Code)



KeyGenerator
public KeyGenerator(String table, String sequenceNameColumn, String idColumn, int isolationLevel)(Code)



KeyGenerator
public KeyGenerator(String table, String sequenceNameColumn, String idColumn)(Code)



KeyGenerator
public KeyGenerator(String table, String sequenceNameColumn, String idColumn, int isolationLevel, boolean externalSequence)(Code)



KeyGenerator
public KeyGenerator(String table, String sequenceNameColumn, String idColumn, boolean externalSequence)(Code)




Method Detail
getCurrentValue
public synchronized Number getCurrentValue(String sequence) throws SQLException(Code)



getDBServices
public DBServices getDBServices()(Code)



getIdColumn
public String getIdColumn()(Code)



getIncrement
public int getIncrement()(Code)



getInitialValue
public Number getInitialValue()(Code)



getIsolationLevel
public int getIsolationLevel()(Code)



getKeyClass
public Class getKeyClass()(Code)



getNextValue
public synchronized Number getNextValue(String sequence) throws SQLException(Code)



getRetryMax
public int getRetryMax()(Code)



getSeed
protected synchronized Number getSeed(String sequence) throws SQLException(Code)



getSequenceNameColumn
public String getSequenceNameColumn()(Code)



getSqlState
public String getSqlState()(Code)



getTable
public String getTable()(Code)



getTimeout
public long getTimeout()(Code)



init
public void init()(Code)



isCacheStatements
public boolean isCacheStatements()(Code)



isCreateSequenceOnDemand
public boolean isCreateSequenceOnDemand()(Code)



isExternalSequence
public boolean isExternalSequence()(Code)



reset
public void reset() throws SQLException(Code)



setCacheStatements
public void setCacheStatements(boolean cacheStatements)(Code)



setCreateSequenceOnDemand
public void setCreateSequenceOnDemand(boolean createSequenceOnDemand)(Code)



setDBServices
public void setDBServices(DBServices dbServices)(Code)



setExternalSequence
public void setExternalSequence(boolean externalSequence)(Code)



setIdColumn
public void setIdColumn(String idColumn)(Code)



setIncrement
public void setIncrement(int increment)(Code)



setInitialValue
public void setInitialValue(Number initialValue)(Code)



setIsolationLevel
public void setIsolationLevel(int isolationLevel)(Code)



setKeyClass
public void setKeyClass(Class keyClass)(Code)



setRetryMax
public void setRetryMax(int retryMax)(Code)



setSequenceNameColumn
public void setSequenceNameColumn(String sequenceNameColumn)(Code)



setSqlState
public void setSqlState(String sqlState)(Code)



setTable
public void setTable(String table)(Code)



setTimeout
public void setTimeout(long timeout)(Code)



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.