org.springframework.orm.jdo

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 » J2EE » spring framework 2.0.6 » org.springframework.orm.jdo 
org.springframework.orm.jdo
Package providing integration of JDO (Java Date Objects) with Spring concepts. Contains PersistenceManagerFactory helper classes, a template plus callback for JDO access, and an implementation of Spring's transaction SPI for local JDO transactions.
Java Source File NameTypeComment
DefaultJdoDialect.javaClass Default implementation of the JdoDialect interface.
JdoAccessor.javaClass Base class for JdoTemplate and JdoInterceptor, defining common properties such as PersistenceManagerFactory and flushing behavior.

Note: With JDO, modifications to persistent objects are just possible within a transaction (in contrast to Hibernate).

JdoCallback.javaInterface Callback interface for JDO code.
JdoDialect.javaInterface SPI strategy that encapsulates certain functionality that standard JDO 1.0 does not offer despite being relevant in the context of O/R mapping, such as access to the underlying JDBC Connection and explicit flushing of changes to the database. Also defines various further hooks that even go beyond standard JDO 2.0.

To be implemented for specific JDO providers such as JPOX, Kodo, Lido, Versant Open Access.

JdoInterceptor.javaClass This interceptor binds a new JDO PersistenceManager to the thread before a method call, closing and removing it afterwards in case of any method outcome. If there already is a pre-bound PersistenceManager (e.g.
JdoObjectRetrievalFailureException.javaClass JDO-specific subclass of ObjectRetrievalFailureException.
JdoOperations.javaInterface Interface that specifies a basic set of JDO operations, implemented by JdoTemplate .
JdoOptimisticLockingFailureException.javaClass JDO-specific subclass of ObjectOptimisticLockingFailureException.
JdoResourceFailureException.javaClass JDO-specific subclass of DataAccessResourceFailureException.
JdoSystemException.javaClass JDO-specific subclass of UncategorizedDataAccessException, for JDO system errors that do not match any concrete org.springframework.dao exceptions.
JdoTemplate.javaClass Helper class that simplifies JDO data access code, and converts JDOExceptions into Spring DataAccessExceptions, following the org.springframework.dao exception hierarchy.

The central method is execute, supporting JDO access code implementing the JdoCallback interface.

JdoTransactionManager.javaClassorg.springframework.transaction.PlatformTransactionManager implementation for a single JDO javax.jdo.PersistenceManagerFactory .
JdoUsageException.javaClass JDO-specific subclass of InvalidDataAccessApiUsageException.
LocalPersistenceManagerFactoryBean.javaClassorg.springframework.beans.factory.FactoryBean that creates a JDO javax.jdo.PersistenceManagerFactory .
PersistenceManagerFactoryUtils.javaClass Helper class featuring methods for JDO PersistenceManager handling, allowing for reuse of PersistenceManager instances within transactions. Also provides support for exception translation.

Used by JdoTemplate, JdoInterceptor, and JdoTransactionManager. Can also be used directly in application code, e.g.

PersistenceManagerHolder.javaClass Holder wrapping a JDO PersistenceManager.
TransactionAwarePersistenceManagerFactoryProxy.javaClass Proxy for a target JDO javax.jdo.PersistenceManagerFactory , returning the current thread-bound PersistenceManager (the Spring-managed transactional PersistenceManager or a the single OpenPersistenceManagerInView PersistenceManager) on getPersistenceManager(), if any.

Essentially, getPersistenceManager() calls get seamlessly forwarded to PersistenceManagerFactoryUtils.getPersistenceManager . Furthermore, PersistenceManager.close calls get forwarded to PersistenceManagerFactoryUtils.releasePersistenceManager .

The main advantage of this proxy is that it allows DAOs to work with a plain JDO PersistenceManagerFactory reference, while still participating in Spring's (or a J2EE server's) resource and transaction management.

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