From: <hib...@li...> - 2006-03-17 11:09:28
|
Author: epbernard Date: 2006-03-17 06:09:10 -0500 (Fri, 17 Mar 2006) New Revision: 9647 Modified: trunk/HibernateExt/ejb/build.properties.dist trunk/HibernateExt/ejb/changelog.txt trunk/HibernateExt/ejb/doc/reference/en/master.xml trunk/HibernateExt/ejb/doc/reference/en/modules/configuration.xml trunk/HibernateExt/ejb/lib/README.txt trunk/HibernateExt/ejb/lib/hibernate-annotations.jar trunk/HibernateExt/ejb/readme.txt Log: Release Doc fixes(EJB-96 EJB-80) include annotations jar Modified: trunk/HibernateExt/ejb/build.properties.dist =================================================================== --- trunk/HibernateExt/ejb/build.properties.dist 2006-03-17 11:00:54 UTC (rev 9646) +++ trunk/HibernateExt/ejb/build.properties.dist 2006-03-17 11:09:10 UTC (rev 9647) @@ -3,4 +3,4 @@ test.dir=test resources.dir=resources testresources.dir=test-resources -hibernate-core.home=../hibernate-3.1 \ No newline at end of file +hibernate-core.home=../hibernate-3.2 \ No newline at end of file Modified: trunk/HibernateExt/ejb/changelog.txt =================================================================== --- trunk/HibernateExt/ejb/changelog.txt 2006-03-17 11:00:54 UTC (rev 9646) +++ trunk/HibernateExt/ejb/changelog.txt 2006-03-17 11:09:10 UTC (rev 9647) @@ -1,6 +1,41 @@ Hibernate EntityManager Changelog ================================== +3.1beta7 (17-03-2006) +--------------------- + +** Bug + * [EJB-80] - EMF bootstrapping doesn't work as documented + * [EJB-96] - Spelling error in 2.4 section of reference doc + * [EJB-114] - NPE when Persistence.createEntityManager(String) is used + * [EJB-115] - wrong loglevel in PersistenceXmlLoader.java (line 101) + * [EJB-118] - PersistenceXmlLoader logging a fail message + * [EJB-119] - @EntityResult definition is not correct + * [EJB-123] - Exception "EntityManager is closed" throwed when trying to check isOpen() + * [EJB-125] - Can't use Hibernate's FlushMode.NEVER with an EntityManager + * [EJB-139] - em.getTransaction() should raise IllegalStateException if accessed on a JTA EM + * [EJB-145] - Support EntityManager.joinTransaction() + + +** Improvement + * [EJB-77] - Getting access to the annotationconfiguration behind a Ejb3Configuration + * [EJB-135] - em.close() should close the API but let the EM in sync with the attached transaction + * [EJB-147] - Validate persistence.xml file from persistence_1_0.xsd + +** New Feature + * [EJB-90] - Mark transaction for Rollbacked on PersistenceException + * [EJB-106] - EntityManager.lock( , LockModeType.WRITE) + * [EJB-138] - Implements EntityTransaction.setRollbackOnly() + * [EJB-141] - Update EntityManagerFactory interface by removing PersistenceContextType and adding the overriding map + * [EJB-142] - RollbackTransaction on JTA should clear the persistence context + * [EJB-143] - Set the transaction_factory automatically from Transaction_type unless explicitly set + * [EJB-144] - Failure of EntityTransaction.commit() should rollback(); + + +** Task + * [EJB-107] - Check use of persistenceUnitInfo.getClassLoader() + + 3.1beta6 (20-01-2006) --------------------- ** Bug Modified: trunk/HibernateExt/ejb/doc/reference/en/master.xml =================================================================== --- trunk/HibernateExt/ejb/doc/reference/en/master.xml 2006-03-17 11:00:54 UTC (rev 9646) +++ trunk/HibernateExt/ejb/doc/reference/en/master.xml 2006-03-17 11:09:10 UTC (rev 9647) @@ -61,112 +61,4 @@ &native; - <appendix> - <title id="compliance">Compliance and known limitations</title> - - <synopsis>3.1beta6 (20-01-2006) ---------------------- -** Bug - * [EJB-93] - @PrePersist callback not called on cascade - * [EJB-110] - misnamed method in PersistenceUnitInfo - * [EJB-111] - close() throws IllegalStateException( "transaction in progress") - -** New Feature - * [EJB-50] - Entity callbacks should handle subclassing - * [EJB-83] - PersistentUnitInfo and new persistence.xml schema as per the pfd - * [EJB-85] - Support CUD operations out of transactions - * [EJB-86] - EntityManager.getFlushMode() - * [EJB-87] - EntityManager.lock( , LockModeType.READ) - * [EJB-88] - EntityManager.clear() - * [EJB-89] - Replace EntityNotFoundException to NoResultException for query.getSingleResult() - * [EJB-91] - persistence.xml structure changes as per the PFD - * [EJB-92] - Implements transactional-type - * [EJB-104] - Flag for class file transformation - * [EJB-108] - Support EJB3 overriding properties (provider, jta / non-jta datasource, transactionType) over persistence.xml - - -** Improvement - * [EJB-100] - Multiple lifecycle per event - * [EJB-102] - EJB3 no longer requires to rollback the ids - - -** Deprecation - * [EJB-105] - Implicit positional parameters for EJBQL queries is no longer supported - -3.1beta5 (13-12-2005) ---------------------- - -** Bug - * [EJB-52] - PERSIST cascade loads unilitialized elements at flush time - * [EJB-68] - hibernate.ejb.interceptor property in persistence.xml is ignored - * [EJB-73] - Id is not set in @PostPersist - * [EJB-76] - JarVisitor unqualify algorithm fails when the name ends with 'ar' and is less than 4 chars - * [EJB-78] - default value for hibernate.transaction.flush_before_completion - -** New Feature - * [EJB-58] - Support @MyAnnotation annotated with an @EntityListener - * [EJB-71] - Support custom event listeners - - -** Improvement - * [EJB-35] - Support custom NamingStrategy as property. - * [EJB-72] - Make setDataSource() more out of container friendly - * [EJB-75] - Fall back to <property name="blah">blah</property> when the value attribute is empty - * [EJB-79] - Package.getPackage() returns null on some classloaders - - -3.1beta4 (06-10-2005) ---------------------- - * EJB-67 Lazy access to the stream in JarVisitor leading to a non access when filters are empty (ie no filters) - * EJB-65 handle eclipse bundleresource url protocol during metadata search - * EJB-66 Support all url protocols that returns zip streams for jars like http - * EJB-62 Error during stateful session bean passivation - * EJB-61 implicit parameter ? no longer supported - * EJB-63 Positional parameters should start from index 1 to say sort of consistent with the spec - -3.1beta3 (14-09-2005) ---------------------- - * EJB-6 Support ?1, ?2 style positional parameters - * EJB-60 Support byte code instrumentation via a ClassFileTransformer - * EJB-55 Problems using a .par file with Tomcat - * EJB-56 Support exploded jar files *not* ending with .xar - * EJB-51 Support persistence.xml declaration and hibernate.cfg.xml - * EJB-53 DELETE_ORPHAN not executed at flush time - * EJB-52 Persist cascade loads uninitialized elements at flush time - * EJB-43 Autodetection magic leads to duplicate imports - * EJB-24 ByteArrayBlobType incompatible with Oracle - * EJB-28 create an EMF through PersistenceInfo - * EJB-44 Support Hibernate Interceptors in EJB3 imlementation as an extension - * EJB-40 Entity callbacks should cast away access modifiers - * EJB-48 Plug Validator framework into HEM - * EJB-47 Validator and Jacc event listeners clashes - -3.1beta2 (04-08-2005) ---------------------- - * Support package names in <class /> - * EJB-42 Autodetection magic ignores hibernate.cfg.xml - * EJB-45 Allow to disable autodetection in .par through a property - * EJB-41 Short-circuit dirty checking when no callback are actually called - * EJB-38 Standalone EM should search for package-info files - * EJB-31 Out-of-container should search for .hbm.xml files - * EJB-29 Lifecycle callbacks and dirty checking clash - * EJB-36 proxied instances raise an exception in em.contains() - * EJB-28 support injected DataSource - * EJB-34 EMF.isOpen() is wrong - * EJB-27 Support transaction-less operations with getEntityManager() - * EJB-23 No lifecycle interceptor used when getCurrentSession() is called - * EJB-20 Sync Hibernate *state* and entity on lifecycle @Callbacks - * EJB-21 NPE in TransactionImpl.isActive() when tx is not initialized (Shane Bryzak) - * EJB-19 <jar-file /> analysed, but the resource path is mandatory and not only the jar name - * EJB-18 get mapped classes from .par files both exploded and regular zip - -3.1beta1 Preview (24-06-2005) ------------------------------ -Initial release - -Missing features for spec compliance -==================================== -* XML deployment descriptor -* Support scalar results in native queries</synopsis> - </appendix> </book> \ No newline at end of file Modified: trunk/HibernateExt/ejb/doc/reference/en/modules/configuration.xml =================================================================== --- trunk/HibernateExt/ejb/doc/reference/en/modules/configuration.xml 2006-03-17 11:00:54 UTC (rev 9646) +++ trunk/HibernateExt/ejb/doc/reference/en/modules/configuration.xml 2006-03-17 11:09:10 UTC (rev 9647) @@ -243,10 +243,16 @@ called, the persistence implementation will search your classpath for any <code>META-INF/persistence.xml</code> files using the <code>ClassLoader.getResource("META-INF/persistence.xml")</code> method. - From this list of resources, it will try to find an entity manager that - matches the name you specify in the command line with what is specified - in the persistence.xml file. If no persistence.xml with the correct name - are found, a <classname>PersistenceException</classname> is + Actually the <classname>Persistence</classname> class will look at all + the Persistence Providers available in the classpath and ask each of + them if they are responsible for the creation of the entity manager + factory <literal>manager1</literal>. Each provider, from this list of + resources, it will try to find an entity manager that matches the name + you specify in the command line with what is specified in the + persistence.xml file (of course the provider <literal>element</literal> + must match the current persistent provider). If no persistence.xml with + the correct name are found or if the expected persistence provider is + not found, a <classname>PersistenceException</classname> is raised.</para> <para>Apart from Hibernate system-level settings, all the properties @@ -573,7 +579,7 @@ entity manager factory.</para> <programlisting>// Use persistence.xml configuration -EntityManagerFactory emf = Peristence.createEntityManagerFactory("manager1") +EntityManagerFactory emf = Persistence.createEntityManagerFactory("manager1") EntityManager em = emf.createEntityManager(); // Retrieve an application managed entity manager // Work with the EM em.close(); Modified: trunk/HibernateExt/ejb/lib/README.txt =================================================================== --- trunk/HibernateExt/ejb/lib/README.txt 2006-03-17 11:00:54 UTC (rev 9646) +++ trunk/HibernateExt/ejb/lib/README.txt 2006-03-17 11:09:10 UTC (rev 9647) @@ -1,7 +1,7 @@ Hibernate Metadata dependencies =============================== -ejb3-persistence (public draft version): required -hibernate-annotations (3.1beta4): required +ejb3-persistence (proposed final draft): required +hibernate-annotations (3.1beta9): required javassist (3.0): required jboss-archive-browsing (5.0.0alpha build: CVSTag=HEAD date=200507071617): required Modified: trunk/HibernateExt/ejb/lib/hibernate-annotations.jar =================================================================== (Binary files differ) Modified: trunk/HibernateExt/ejb/readme.txt =================================================================== --- trunk/HibernateExt/ejb/readme.txt 2006-03-17 11:00:54 UTC (rev 9646) +++ trunk/HibernateExt/ejb/readme.txt 2006-03-17 11:09:10 UTC (rev 9647) @@ -1,9 +1,9 @@ Hibernate EntityManager ================================================== -Version: 3.1 beta 6, 20.01.2006 +Version: 3.1 beta 7, 17.03.2006 -THIS RELEASE OF HIBERNATE ENTITYMANAGER REQUIRES HIBERNATE 3.1.1 AND DOES -NOT WORK WITH HIBERNATE 3.0.x OR ANY OLDER VERSION OF HIBERNATE. +THIS RELEASE OF HIBERNATE ENTITYMANAGER REQUIRES HIBERNATE 3.2alpha2 AND DOES +NOT WORK WITH HIBERNATE 3.1.x OR ANY OLDER VERSION OF HIBERNATE. Description |