db ojb

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 » db ojb 
OJB
License:Apache Software License
URL:http://db.apache.org/ojb/
Description:ObJectRelationalBridge (OJB) is an Object/Relational mapping tool
Package NameComment
org.apache.ojb.broker
org.apache.ojb.broker.accesslayer
org.apache.ojb.broker.accesslayer.conversions Conversions package This package contains classes related to type and value conversions between attributes of persistent classes and their mapped columns in the relational database.

The FieldConversion>/code> interface defines two callback methods for conversion from Java to Database (javaToSql(Object source)) and from Database to Java (sqlToJava(Object source)).
OJB users can use predefined FieldConversion implementations contained in this package and can also implement their own conversions that perform arbitrary mappings. The usage of a FieldConversion must be declared in the FieldDescriptor element in the repository.xml file.

The conversion-methods of the FieldConversion>/code> interface may throw a ConversionException to signal errors during the conversion operations.

The class FieldConversionDefaultImpl is the default implementation of the FieldConversion>/code> interface. This implementation does not modify its input.

The class Boolean2IntFieldConversion is an implementation of the FieldConversion>/code> interface that provides a conversion from persistent classes attributes of type Boolean to rdbms columns of type BIGINT, INTEGER, SMALLINT, TINYINT or BIT.

The class JavaDate2SqlDateFieldConversion is an implementation of the FieldConversion>/code> interface that provides a conversion from persistent classes attributes of type java.util.Date to rdbms columns of type java.sql.Date.

The class Object2ByteArrFieldConversion is an implementation of the FieldConversion>/code> interface that provides a conversion from persistent classes attributes of type java.lang.Object (or any subtype) to rdbms columns of a type able of holding byte arrays (CHAR, VARCHAR, LONGVARCHAR, BINARY, VARBINARY, or LONGVARBINARY).
This conversion can be useful if embedded objects can not be mapped on a dedicated extra table but must be "inlined". This approach is used for the mapping of DListEntry object that hold an inlined Identity Object.

Patterns applied: Callback, Strategy

Todo: Provide more predefined implementations

org.apache.ojb.broker.accesslayer.sql Sql Generator package

This package contains the OJB SQL generator classes.

org.apache.ojb.broker.ant
org.apache.ojb.broker.cache OJB Cache package

This package provides classes for caching of objects materialized from a datastore.

Applications use the ObjectCacheFactory to create new ObjectCaches. These caches supply methods for storing and retrieving objects. Objects can be looked up by their identity which is represented by the class Identiy. Each implementation of ObjectCache represents a different caching strategy.

org.apache.ojb.broker.cloneable
org.apache.ojb.broker.core
org.apache.ojb.broker.core.proxy
org.apache.ojb.broker.locking
org.apache.ojb.broker.metadata
org.apache.ojb.broker.metadata.fieldaccess OJB field-access package

This package provides classes for accessing fields of persistent classes.

org.apache.ojb.broker.metadata.torque
org.apache.ojb.broker.platforms Platforms package This package contains classes that provide compatibility to a range of RDBM platforms.

The Platform interface provides callbacks that allow to perform RDBMS Platform specific operations whereever neccessary.

The class PlatformDefaultImpl implements Platform and provides default implementations of all methods.

For each supported Platform Xxx there is a class PlatformXxxImpl which extends PlatformDefaultImpl and may override the methods of the baseclass.

The factory class PlatformFactory can be used to create Platform instances. It uses information from a JdbcConnectionDescriptor to select the appropriate PlatformXxxImpl class.

Patterns applied: Configurable Factory, Strategy, Bridge

Todo: Provide more Platform-Implementations

org.apache.ojb.broker.prevayler
org.apache.ojb.broker.prevayler.demo
org.apache.ojb.broker.query
org.apache.ojb.broker.sequence
org.apache.ojb.broker.sqlcount
org.apache.ojb.broker.transaction
org.apache.ojb.broker.transaction.tm
org.apache.ojb.broker.util
org.apache.ojb.broker.util.batch
org.apache.ojb.broker.util.collections broker collections package This package contains utility classes that implement the ManageableCollection interface. Implementing this interface allows to use these classes as collection attributes in persistent classes.

The class ManageableVector extends Vector and implements ManageableCollections.

The class ManageableArrayList extends ArrayList and implements ManageableCollections.

The class ManageableHashSet extends HashSet and implements ManageableCollections.

Patterns applied: Adapter, Callback interface ("don't call us, we call you")

Todo: Provide more such implementations.

org.apache.ojb.broker.util.configuration OJB Configuration package This package contains classes that provide the OJB configuration API.

The Configuration interface defines lookup-methods to lookup typed configuration-values. For example boolean getBoolean(String key, boolean defaultValue) looks up a boolean value associated with key.

The Configurable interface defines a callback method configure(Configuration pConfig). Implementors of this method may use configuration value from the pConfig parameter to configure the current instance.

The Configurator interface defines methods for looking up Configurations and for configuring Configurable instances.

The Exception ConfigurationException is used to signal exceptions in the configuration process.

Patterns applied: Callback

Todo: merge with jakarta commons-configuration API

org.apache.ojb.broker.util.configuration.impl
org.apache.ojb.broker.util.dbhandling
org.apache.ojb.broker.util.event
org.apache.ojb.broker.util.factory
org.apache.ojb.broker.util.interceptor
org.apache.ojb.broker.util.logging Logging package This package contains classes that provide the OJB logging API.

The Logger interface defines the behaviour of the OJB logging mechanism. This API corresponds closely to the LOG4J Category Api. By using this interface for logging operations OJB remains free from Logger-Implementation specific code.

The class PoorMansLoggerImpl implements Logger and provides the OJB default implementations. All logging output is directed to System.out.

The class Log4jLoggerImpl implements Logger and provides LOG4J based logger implementations.

The factory class LoggerFactory can be used to create Logger instances. The Logger-implementation class served by the factory is configured by settings in the OJB.properties file.

Patterns applied: Configurable Factory, Adapter

Todo: Provide a JDK1.4 based logger

org.apache.ojb.broker.util.pooling
org.apache.ojb.broker.util.sequence sequence manager package This package contains classes that provide the OJB sequence numering.
org.apache.ojb.broker.util.ui
org.apache.ojb.compare
org.apache.ojb.ejb
org.apache.ojb.ejb.odmg
org.apache.ojb.ejb.pb
org.apache.ojb.jboss
org.apache.ojb.jdo
org.apache.ojb.jdo.jdoql
org.apache.ojb.jdo.spi
org.apache.ojb.jdori.sql
org.apache.ojb.junit
org.apache.ojb.odmg
org.apache.ojb.odmg.collections
org.apache.ojb.odmg.link
org.apache.ojb.odmg.locking
org.apache.ojb.odmg.oql
org.apache.ojb.odmg.shared
org.apache.ojb.odmg.states
org.apache.ojb.otm
org.apache.ojb.otm.connector
org.apache.ojb.otm.copy
org.apache.ojb.otm.core
org.apache.ojb.otm.kit
org.apache.ojb.otm.lock
org.apache.ojb.otm.lock.isolation
org.apache.ojb.otm.lock.map
org.apache.ojb.otm.lock.wait
org.apache.ojb.otm.states
org.apache.ojb.otm.swizzle
org.apache.ojb.otm.transaction
org.apache.ojb.p6spy
org.apache.ojb.performance
org.apache.ojb.soda
org.apache.ojb.tools.mapping.reversedb
org.apache.ojb.tools.mapping.reversedb.gui
org.apache.ojb.tools.mapping.reversedb.gui.actions
org.apache.ojb.tools.mapping.reversedb2
org.apache.ojb.tools.mapping.reversedb2.actions
org.apache.ojb.tools.mapping.reversedb2.datatransfer
org.apache.ojb.tools.mapping.reversedb2.dbmetatreemodel
org.apache.ojb.tools.mapping.reversedb2.dnd2 This package contains infrastructure that should make it easier to implement Drag and Drop in GUIs with JDKs 1.2 and 1.3. These classes do most of the event handling for you. If you are a Dnd "provider" you have to implement a Transferable to take the data you want to export and an implementation of DragCopyCutWorker interface. Basically what you have to do is to read the data from your model and put it into an transferable. If you are a DnD "consumer", you have to implement a DropPastWorkerInterface that accepts at least on flavour of Transferable data and inserts it into the model. In this package there is still a lot room for improvements, but it should be good enough to help you implementing basic DnD (and Clipboard) functionality# in your application.
org.apache.ojb.tools.mapping.reversedb2.events
org.apache.ojb.tools.mapping.reversedb2.gui
org.apache.ojb.tools.mapping.reversedb2.ojbmetatreemodel
org.apache.ojb.tools.mapping.reversedb2.ojbmetatreemodel.actions
org.apache.ojb.tools.mapping.reversedb2.propertyEditors
org.apache.ojb.tools.swing
org.odbms
org.odmg
xdoclet.junit
xdoclet.modules.ojb
xdoclet.modules.ojb.constraints
xdoclet.modules.ojb.model
xdoclet.modules.ojb.tests
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.