Hibernate SVN: r12987 - trunk/HibernateExt/entitymanager and 1 other directory.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:54:48 -0400 (Wed, 15 Aug 2007)
New Revision: 12987
Added:
entitymanager/trunk/jdbc/
Removed:
trunk/HibernateExt/entitymanager/jdbc/
Log:
Move entitymanager trunk to the new structure
Copied: entitymanager/trunk/jdbc (from rev 12986, trunk/HibernateExt/entitymanager/jdbc)
17 years, 4 months
Hibernate SVN: r12986 - trunk/HibernateExt/entitymanager and 1 other directory.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:54:47 -0400 (Wed, 15 Aug 2007)
New Revision: 12986
Added:
entitymanager/trunk/doc/
Removed:
trunk/HibernateExt/entitymanager/doc/
Log:
Move entitymanager trunk to the new structure
Copied: entitymanager/trunk/doc (from rev 12985, trunk/HibernateExt/entitymanager/doc)
17 years, 4 months
Hibernate SVN: r12985 - trunk/HibernateExt/entitymanager and 1 other directory.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:54:45 -0400 (Wed, 15 Aug 2007)
New Revision: 12985
Added:
entitymanager/trunk/changelog.txt
Removed:
trunk/HibernateExt/entitymanager/changelog.txt
Log:
Move entitymanager trunk to the new structure
Copied: entitymanager/trunk/changelog.txt (from rev 12984, trunk/HibernateExt/entitymanager/changelog.txt)
===================================================================
--- entitymanager/trunk/changelog.txt (rev 0)
+++ entitymanager/trunk/changelog.txt 2007-08-15 23:54:45 UTC (rev 12985)
@@ -0,0 +1,298 @@
+Hibernate EntityManager Changelog
+==================================
+
+3.3.1.GA (28-03-2007)
+---------------------
+
+** Bug
+ * [EJB-280] - java.lang.NoSuchMethodError: Hibernate EM 3.3.0 breaks Jboss Embedded EJB3 due to method signature change
+ * [EJB-281] - Version 3.3.0 is not compatible with JBoss AS 4.0.5
+ * [EJB-282] - ORM.xml ignored when excludeUnlistedClass = true in container mode (EJB 3.0, Spring)
+
+
+3.3.0.GA (19-03-2007)
+---------------------
+
+** Bug
+ * [EJB-46] - PrePersist callback method not called if entity's primary key is null
+ * [EJB-257] - EJB3Configuration should work wo having to call any of the configure(*)
+ * [EJB-259] - Evaluate orm.xml files in referenced jar files
+ * [EJB-261] - merge fails to update join table
+ * [EJB-263] - getSingleResult() and fetch raise abusive NonUniqueResultException
+ * [EJB-269] - Fail to deploy a persistence archive in Weblogic Server
+ * [EJB-275] - JarVisitor fails on WAS with white space
+
+
+** Improvement
+ * [EJB-242] - Be more defensive regarding exotic (aka buggy) URL protocol handler
+ * [EJB-262] - Provides XML file name on parsing error
+ * [EJB-271] - Raise a WARN when deployment descriptors (orm.xml) refer to an unknown property (increase usability)
+ * [EJB-266] - Avoid collection loading during cascaded PERSIST (improving performance on heavily cascaded object graphs)
+
+
+3.2.1.GA (8-12-2006)
+--------------------
+
+** Bug
+ * [EJB-226] - JarVistor.getVisitor does not handle paths containing spaces correctly for an exploded par
+ * [EJB-229] - merge fails with detached obj in 1:1 relationship
+ * [EJB-237] - merge() causes version to increase
+ * [EJB-240] - attribute-override and embedded in orm.xml not working
+ * [EJB-244] - JarVisitor fails on exploded archives with spaces in path
+ * [EJB-247] - HibernatePersistence does not play well with other PersistenceProviders
+ * [EJB-252] - Clarify documentation on package use in persistence.xml <class> (and it's meaning)
+ * [EJB-253] - Support Weblogic JAR URL in JavaSE mode
+
+
+** Improvement
+ * [EJB-232] - Better documentation for <jar-file> and scanning outside of PU root
+ * [EJB-243] - Error in Documentation: persistence.xml for typical Java SE Environment
+ * [EJB-246] - Consider being in a JavaEE container when jta-datasource is used
+ * [EJB-248] - Wrap StaleStateException into an OptimisticLockException during em.getTransaction().commit()
+ * [EJB-254] - Allow DataSource overriding through createEntityManager(String, Map override)
+ * [EJB-256] - Avoid JAR locking on Windows and Tomcat due to URLConnection caching
+
+
+3.2.0.GA (16-10-2006)
+---------------------
+Same code base as 3.2.0.CR3
+
+** Task
+ * [EJB-239] - Add EJB 3.0 JavaDoc to the distribution
+
+
+3.2.0.CR3 (04-10-2006)
+----------------------
+** Bug
+ * [EJB-150] - JarVisitor.addElement does not close passed input streams
+ * [EJB-221] - TransientObjectException with FetchType.LAZY on @ManyToOne and field access on target entity
+ * [EJB-231] - Optimistic locking exception could lead to java.lang.IllegalArgumentException: id to load is required for loading
+
+
+** Improvement
+ * [EJB-234] - Inefficiency during the flush operation
+
+
+3.2.0.CR2 (16-09-2006)
+----------------------
+** Bug
+ * [EJB-98] - EntityManager.find() throws an org.hibernate.ObjectDeletedException if you find something deleted in the same TXA
+ * [EJB-148] - Incorrect exception when @CollectionOfElement is used with @Where and FetchType is EAGER
+ * [EJB-174] - Ejb3Configuration can't open EJB Jar file with persistence.xml in Oracle OC4J server (Jifeng Liu)
+ * [EJB-181] - ExplodedJarVisitor and paths with white spaces
+ * [EJB-185] - Some EJB3 exceptions does not support nested exceptions
+ * [EJB-187] - RuntimeException raised in CallBack methods should be left as is
+ * [EJB-188] - @PostUpdate can be called even if @PreUpdate is not when object is in DELETED state
+ * [EJB-189] - em.getReference() should raise IllegalArgumentException if the id is of the wrong type
+ * [EJB-190] - Query.setParameter() should raise an IllegalArgumentException if the parameter does not exist
+ * [EJB-191] - Incoherent usage of getResultList(), executeUpdate() or getSingleResult() regarding the DML/Select style should raise an IllegalStateException
+ * [EJB-194] - Removing a detached instance is not allowed
+ * [EJB-195] - Wrong query should raise an IllegalArgumentException
+ * [EJB-196] - referencing a transient instance while flushing an association non cascaded should raise IllegalStateException
+ * [EJB-198] - On em.close(), tries to register the transaction even if the transaction is marked for rollback
+ * [EJB-202] - Inaccurate exception message for setFirstResult in QueryImpl
+ * [EJB-203] - exception when using top-level <access>PROPERTY</access> in orm.xml
+ * [EJB-204] - ClassCastException when using <mapped-superclass> in orm.xml
+ * [EJB-205] - refresh() should raise IllegalArgumentException if the entity is not managed
+ * [EJB-207] - em.lock(..., WRITE) raise NPE on some DBs
+ * [EJB-212] - excludeUnlistedClasses ignored in SE case
+ * [EJB-214] - Native Query can not be used with parameter
+ * [EJB-215] - EntityManager fails during transaction commit after it has been closed
+ * [EJB-216] - Query.getSingleResult() whose state-field is null raise an EntityNotFoundException rather than returning null
+ * [EJB-218] - markForRollback() should not swallow the original exception
+ * [EJB-220] - Entity listener documentation contradicts EJB3 specification
+ * [EJB-223] - EntityNotFoundDelegate not Serializable
+
+
+** Improvement
+ * [EJB-82] - Query interface should support parameter lists for positions
+ * [EJB-182] - Add Websphere proprietary jar protocol
+ * [EJB-186] - Set the default cache provider to NoCache to prevent PU misuse to raise exceptions
+ * [EJB-201] - Ejb3Configuration should output a warning if no persistence.xml is found
+ * [EJB-210] - OptimisticLockStrategy should expose the underlying stale entity
+ * [EJB-211] - JavaDoc the EJB 3 API
+
+** New Feature
+ * [EJB-154] - Allow to create/configure an EJB3Configuration without building a sessionfactory
+ * [EJB-160] - Push EJB3Configuration and SessionFactory into JNDI
+ * [EJB-184] - Add EM property for FlushMode
+
+
+3.2.0.CR1 (13-05-2006)
+----------------------
+** Bug
+ * [EJB-9] - Proxied instances should raise ENFE not LIE
+ * [EJB-59] - count(*) return Integer and not Long
+ * [EJB-101] - callback method overriding should avoid supermethod calls
+ * [EJB-116] - The EntityManager's configuration overwites configurations from the hibernate.cfg.xml file
+ * [EJB-167] - EntityManager must return null, if entity does not exist.
+ * [EJB-168] - Do not register Synchronization on Transaction marked as rollback
+ * [EJB-169] - MappingException thrown when META-INF/orm.xml is not found
+ * [EJB-173] - Resetting joined transaction state on a closed entity manager raise an exception
+ * [EJB-177] - in beforeCompletion phase, the transaction might not be returned causing an NPE
+
+
+** Improvement
+ * [EJB-84] - Integrate the ClassFileTransformer and pass the appropriate entities to enhance
+ * [EJB-159] - RESOURCE_LOCAL should be default in JavaSE
+ * [EJB-172] - Use Hibernate abstraction of the ByteCodeEnhancer for class file transformation
+ * [EJB-175] - Support for createNativeQuery.executeUpdate()
+
+** New Feature
+ * [EJB-165] - Support interceptor and callback XML overriding
+ * [EJB-170] - Try to find <mapping-file/> in the parsed JAR before delegating to the regular resource locator
+
+
+3.1.0.Beta8b (27-04-2006)
+-------------------------
+
+** Bug
+ * [EJB-121] - FileZippedJarVisitor can not handle URL with white spaces in windows XP professional.
+ * [EJB-155] - assumes Map.Entry where string is returned
+ * [EJB-156] - Setting a transaction factory raise an assertion failure
+ * [EJB-166] - StaleObjectStaleException not wrapped into an optimisticLockException when merge is used
+
+
+
+** New Feature
+ * [EJB-157] - Display the version number at init time to avoid user confusion regarding the version used
+ * [EJB-164] - Support for EJB3 mapping files and META-INF/orm.xml
+
+
+3.1beta7 (27-03-2006)
+---------------------
+
+** Bug
+ * [EJB-37] - Check all the spec exceptions to be sure we raise the right ones
+ * [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-134] - javax.persistence.OptimisticLockException not thrown
+ * [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-117] - extra persist() queue
+ * [EJB-137] - Implements EntityExistsException
+ * [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
+ * [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 (07-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></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
\ No newline at end of file
Deleted: trunk/HibernateExt/entitymanager/changelog.txt
===================================================================
--- trunk/HibernateExt/entitymanager/changelog.txt 2007-08-15 23:54:43 UTC (rev 12984)
+++ trunk/HibernateExt/entitymanager/changelog.txt 2007-08-15 23:54:45 UTC (rev 12985)
@@ -1,298 +0,0 @@
-Hibernate EntityManager Changelog
-==================================
-
-3.3.1.GA (28-03-2007)
----------------------
-
-** Bug
- * [EJB-280] - java.lang.NoSuchMethodError: Hibernate EM 3.3.0 breaks Jboss Embedded EJB3 due to method signature change
- * [EJB-281] - Version 3.3.0 is not compatible with JBoss AS 4.0.5
- * [EJB-282] - ORM.xml ignored when excludeUnlistedClass = true in container mode (EJB 3.0, Spring)
-
-
-3.3.0.GA (19-03-2007)
----------------------
-
-** Bug
- * [EJB-46] - PrePersist callback method not called if entity's primary key is null
- * [EJB-257] - EJB3Configuration should work wo having to call any of the configure(*)
- * [EJB-259] - Evaluate orm.xml files in referenced jar files
- * [EJB-261] - merge fails to update join table
- * [EJB-263] - getSingleResult() and fetch raise abusive NonUniqueResultException
- * [EJB-269] - Fail to deploy a persistence archive in Weblogic Server
- * [EJB-275] - JarVisitor fails on WAS with white space
-
-
-** Improvement
- * [EJB-242] - Be more defensive regarding exotic (aka buggy) URL protocol handler
- * [EJB-262] - Provides XML file name on parsing error
- * [EJB-271] - Raise a WARN when deployment descriptors (orm.xml) refer to an unknown property (increase usability)
- * [EJB-266] - Avoid collection loading during cascaded PERSIST (improving performance on heavily cascaded object graphs)
-
-
-3.2.1.GA (8-12-2006)
---------------------
-
-** Bug
- * [EJB-226] - JarVistor.getVisitor does not handle paths containing spaces correctly for an exploded par
- * [EJB-229] - merge fails with detached obj in 1:1 relationship
- * [EJB-237] - merge() causes version to increase
- * [EJB-240] - attribute-override and embedded in orm.xml not working
- * [EJB-244] - JarVisitor fails on exploded archives with spaces in path
- * [EJB-247] - HibernatePersistence does not play well with other PersistenceProviders
- * [EJB-252] - Clarify documentation on package use in persistence.xml <class> (and it's meaning)
- * [EJB-253] - Support Weblogic JAR URL in JavaSE mode
-
-
-** Improvement
- * [EJB-232] - Better documentation for <jar-file> and scanning outside of PU root
- * [EJB-243] - Error in Documentation: persistence.xml for typical Java SE Environment
- * [EJB-246] - Consider being in a JavaEE container when jta-datasource is used
- * [EJB-248] - Wrap StaleStateException into an OptimisticLockException during em.getTransaction().commit()
- * [EJB-254] - Allow DataSource overriding through createEntityManager(String, Map override)
- * [EJB-256] - Avoid JAR locking on Windows and Tomcat due to URLConnection caching
-
-
-3.2.0.GA (16-10-2006)
----------------------
-Same code base as 3.2.0.CR3
-
-** Task
- * [EJB-239] - Add EJB 3.0 JavaDoc to the distribution
-
-
-3.2.0.CR3 (04-10-2006)
-----------------------
-** Bug
- * [EJB-150] - JarVisitor.addElement does not close passed input streams
- * [EJB-221] - TransientObjectException with FetchType.LAZY on @ManyToOne and field access on target entity
- * [EJB-231] - Optimistic locking exception could lead to java.lang.IllegalArgumentException: id to load is required for loading
-
-
-** Improvement
- * [EJB-234] - Inefficiency during the flush operation
-
-
-3.2.0.CR2 (16-09-2006)
-----------------------
-** Bug
- * [EJB-98] - EntityManager.find() throws an org.hibernate.ObjectDeletedException if you find something deleted in the same TXA
- * [EJB-148] - Incorrect exception when @CollectionOfElement is used with @Where and FetchType is EAGER
- * [EJB-174] - Ejb3Configuration can't open EJB Jar file with persistence.xml in Oracle OC4J server (Jifeng Liu)
- * [EJB-181] - ExplodedJarVisitor and paths with white spaces
- * [EJB-185] - Some EJB3 exceptions does not support nested exceptions
- * [EJB-187] - RuntimeException raised in CallBack methods should be left as is
- * [EJB-188] - @PostUpdate can be called even if @PreUpdate is not when object is in DELETED state
- * [EJB-189] - em.getReference() should raise IllegalArgumentException if the id is of the wrong type
- * [EJB-190] - Query.setParameter() should raise an IllegalArgumentException if the parameter does not exist
- * [EJB-191] - Incoherent usage of getResultList(), executeUpdate() or getSingleResult() regarding the DML/Select style should raise an IllegalStateException
- * [EJB-194] - Removing a detached instance is not allowed
- * [EJB-195] - Wrong query should raise an IllegalArgumentException
- * [EJB-196] - referencing a transient instance while flushing an association non cascaded should raise IllegalStateException
- * [EJB-198] - On em.close(), tries to register the transaction even if the transaction is marked for rollback
- * [EJB-202] - Inaccurate exception message for setFirstResult in QueryImpl
- * [EJB-203] - exception when using top-level <access>PROPERTY</access> in orm.xml
- * [EJB-204] - ClassCastException when using <mapped-superclass> in orm.xml
- * [EJB-205] - refresh() should raise IllegalArgumentException if the entity is not managed
- * [EJB-207] - em.lock(..., WRITE) raise NPE on some DBs
- * [EJB-212] - excludeUnlistedClasses ignored in SE case
- * [EJB-214] - Native Query can not be used with parameter
- * [EJB-215] - EntityManager fails during transaction commit after it has been closed
- * [EJB-216] - Query.getSingleResult() whose state-field is null raise an EntityNotFoundException rather than returning null
- * [EJB-218] - markForRollback() should not swallow the original exception
- * [EJB-220] - Entity listener documentation contradicts EJB3 specification
- * [EJB-223] - EntityNotFoundDelegate not Serializable
-
-
-** Improvement
- * [EJB-82] - Query interface should support parameter lists for positions
- * [EJB-182] - Add Websphere proprietary jar protocol
- * [EJB-186] - Set the default cache provider to NoCache to prevent PU misuse to raise exceptions
- * [EJB-201] - Ejb3Configuration should output a warning if no persistence.xml is found
- * [EJB-210] - OptimisticLockStrategy should expose the underlying stale entity
- * [EJB-211] - JavaDoc the EJB 3 API
-
-** New Feature
- * [EJB-154] - Allow to create/configure an EJB3Configuration without building a sessionfactory
- * [EJB-160] - Push EJB3Configuration and SessionFactory into JNDI
- * [EJB-184] - Add EM property for FlushMode
-
-
-3.2.0.CR1 (13-05-2006)
-----------------------
-** Bug
- * [EJB-9] - Proxied instances should raise ENFE not LIE
- * [EJB-59] - count(*) return Integer and not Long
- * [EJB-101] - callback method overriding should avoid supermethod calls
- * [EJB-116] - The EntityManager's configuration overwites configurations from the hibernate.cfg.xml file
- * [EJB-167] - EntityManager must return null, if entity does not exist.
- * [EJB-168] - Do not register Synchronization on Transaction marked as rollback
- * [EJB-169] - MappingException thrown when META-INF/orm.xml is not found
- * [EJB-173] - Resetting joined transaction state on a closed entity manager raise an exception
- * [EJB-177] - in beforeCompletion phase, the transaction might not be returned causing an NPE
-
-
-** Improvement
- * [EJB-84] - Integrate the ClassFileTransformer and pass the appropriate entities to enhance
- * [EJB-159] - RESOURCE_LOCAL should be default in JavaSE
- * [EJB-172] - Use Hibernate abstraction of the ByteCodeEnhancer for class file transformation
- * [EJB-175] - Support for createNativeQuery.executeUpdate()
-
-** New Feature
- * [EJB-165] - Support interceptor and callback XML overriding
- * [EJB-170] - Try to find <mapping-file/> in the parsed JAR before delegating to the regular resource locator
-
-
-3.1.0.Beta8b (27-04-2006)
--------------------------
-
-** Bug
- * [EJB-121] - FileZippedJarVisitor can not handle URL with white spaces in windows XP professional.
- * [EJB-155] - assumes Map.Entry where string is returned
- * [EJB-156] - Setting a transaction factory raise an assertion failure
- * [EJB-166] - StaleObjectStaleException not wrapped into an optimisticLockException when merge is used
-
-
-
-** New Feature
- * [EJB-157] - Display the version number at init time to avoid user confusion regarding the version used
- * [EJB-164] - Support for EJB3 mapping files and META-INF/orm.xml
-
-
-3.1beta7 (27-03-2006)
----------------------
-
-** Bug
- * [EJB-37] - Check all the spec exceptions to be sure we raise the right ones
- * [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-134] - javax.persistence.OptimisticLockException not thrown
- * [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-117] - extra persist() queue
- * [EJB-137] - Implements EntityExistsException
- * [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
- * [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 (07-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></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
\ No newline at end of file
17 years, 4 months
Hibernate SVN: r12984 - trunk/HibernateExt/entitymanager and 1 other directory.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:54:43 -0400 (Wed, 15 Aug 2007)
New Revision: 12984
Added:
entitymanager/trunk/build.xml
Removed:
trunk/HibernateExt/entitymanager/build.xml
Log:
Move entitymanager trunk to the new structure
Copied: entitymanager/trunk/build.xml (from rev 12983, trunk/HibernateExt/entitymanager/build.xml)
===================================================================
--- entitymanager/trunk/build.xml (rev 0)
+++ entitymanager/trunk/build.xml 2007-08-15 23:54:43 UTC (rev 12984)
@@ -0,0 +1,422 @@
+<!--
+
+ Hibernate Annotations ANT build script.
+
+ You need JDK 5.0 installed to build Hibernate EntityManager.
+
+-->
+
+<project name="HibernateEntityManager" default="dist" basedir="."
+ xmlns:ivy="antlib:fr.jayasoft.ivy.ant">
+
+ <!-- Give user a chance to override without editing this file
+ (and without typing -D each time it compiles it) -->
+ <property file="build.properties"/>
+ <property file="${user.home}/.ant.properties"/>
+
+ <!-- Name of project and version, used to create filenames -->
+ <property name="Name" value="Hibernate EntityManager"/>
+ <property name="name" value="hibernate-entitymanager"/>
+ <property name="version" value="3.3.1.GA"/>
+ <property name="javadoc.packagenames" value="org.hibernate.ejb.*"/>
+ <property name="jdbc.dir" value="jdbc"/>
+ <property name="copy.test" value="true"/>
+ <property name="javac.source" value="1.5"/>
+ <property name="javac.target" value="1.5"/>
+ <property name="common.dir" value="../common"/>
+
+ <available property="jpa-present" file="${basedir}/../jpa-api" type="dir"/>
+ <!-- property name="jpa-api.jar" value="${basedir}/../jpa-api/build/ejb3-persistence.jar"/>
+ <property name="annotations.jar"
+ value="${basedir}/../annotations/target/hibernate-annotations/hibernate-annotations.jar"/>
+ <property name="commons-annotations.jar"
+ value="${basedir}/../commons-annotations/target/hibernate-commons-annotations/hibernate-commons-annotations.jar"/ -->
+ <property name="ivy.dep.dir" value="${basedir}/build/lib" />
+
+ <import file="${common.dir}/common-build.xml"/>
+ <property name="jpa-javadoc.dir" value="${dist.doc.dir}/jpa-api"/>
+
+
+ <property name="resources.dir" value="src/resources"/>
+ <property name="testresources.dir" value="src/test-resources"/>
+ <property name="build.testresources.dir" value="${build.dir}/testresources"/>
+ <property name="build.temp.dir" value="${build.dir}/temp"/>
+
+ <path id="lib.moduleclass.path">
+ <!-- pathelement location="${jpa-api.jar}"/>
+ <pathelement location="${commons-annotations.jar}"/>
+ <pathelement location="${annotations.jar}"/ -->
+ <fileset dir="${ivy.dep.dir}/core">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+ <path id="junit.moduleclasspath">
+ <pathelement location="${src.dir}"/>
+ <pathelement location="${test.dir}"/>
+ <fileset dir="${jdbc.dir}">
+ <include name="*.jar"/>
+ <include name="*.zip"/>
+ </fileset>
+ <fileset dir="${lib.dir}/test">
+ <include name="*.jar"/>
+ <include name="*.zip"/>
+ </fileset>
+ <fileset dir="${ivy.dep.dir}/test">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+
+ <!-- ivy load -->
+ <property name="ivy.jar.dir" value="${basedir}/ivy" />
+ <property name="ivy.conf.dir" value="${basedir}" />
+ <path id="ivy.lib.path">
+ <fileset dir="${ivy.jar.dir}" includes="*.jar"/>
+ </path>
+ <taskdef resource="fr/jayasoft/ivy/ant/antlib.xml"
+ uri="antlib:fr.jayasoft.ivy.ant" classpathref="ivy.lib.path"/>
+
+ <target name="init">
+ <antcall target="common-build.init"/>
+ <tstamp>
+ <format property="now" pattern="yyyyMMddhhmmss"/>
+ </tstamp>
+ <!-- check for dependency artefacts -->
+ <!-- available file="${jpa-api.jar}" type="file" property="jpa-api.jar.available"/>
+ <available file="${commons-annotations.jar}" type="file" property="commons-annotations.jar.available"/>
+ <available file="${annotations.jar}" type="file" property="annotations.jar.available"/ -->
+ <mkdir dir="${lib.dir}/test"/>
+ <mkdir dir="${ivy.dep.dir}/core"/>
+ <mkdir dir="${ivy.dep.dir}/test"/>
+ <ivy:configure file="${ivy.jar.dir}/ivyconf.xml" />
+ </target>
+
+ <!-- target name="get.jpa-api" depends="init" unless="jpa-api.jar.available">
+ <ant inheritall="false" dir="${basedir}/../jpa-api" target="clean"/>
+ <ant inheritall="false" dir="${basedir}/../jpa-api" target="jar"/>
+ </target>
+
+ <target name="get.commons-annotations" depends="init" unless="commons-annotations.jar.available">
+ <ant inheritall="false" dir="${basedir}/../commons-annotations" target="clean"/>
+ <ant inheritall="false" dir="${basedir}/../commons-annotations" target="jar"/>
+ </target>
+
+ <target name="get.annotations" depends="init" unless="annotations.jar.available">
+ <ant inheritall="false" dir="${basedir}/../annotations" target="clean"/>
+ <ant inheritall="false" dir="${basedir}/../annotations" target="jar"/>
+ </target -->
+
+ <target name="get.deps.core" depends="init" description="retrieve the core dependencies">
+ <ivy:resolve conf="core" />
+ <ivy:retrieve pattern="${ivy.dep.dir}/core/[artifact].[ext]" conf="core" />
+ </target>
+
+
+ <target name="compile" depends="init,get.deps.core" description="Compile the Java source code">
+ <available
+ classname="org.eclipse.core.launcher.Main"
+ property="build.compiler"
+ value="org.eclipse.jdt.core.JDTCompilerAdapter"
+ classpath="${java.class.path}"/>
+ <javac
+ srcdir="${src.dir}"
+ destdir="${classes.dir}"
+ classpathref="lib.class.path"
+ debug="${javac.debug}"
+ optimize="${javac.optimize}"
+ nowarn="on"
+ source="${javac.source}"
+ target="${javac.target}"
+ >
+ </javac>
+ </target>
+
+ <target name="packjar">
+ <property name="extension" value="jar"/>
+ <property name="packagename" value="${jarname}"/>
+ <!-- property name="jarname"/ -->
+ <mkdir dir="${build.testresources.dir}"/>
+ <jar destfile="${build.testresources.dir}/${jarname}.${extension}">
+ <!-- fileset dir="${build.temp.dir}"/ -->
+ <fileset dir="${classes.dir}">
+ <include name="**/test/pack/${packagename}/**.*"/>
+ </fileset>
+ <fileset dir="${testresources.dir}/${jarname}">
+ <include name="**/*.*"/>
+ </fileset>
+ </jar>
+ <delete dir="${build.temp.dir}"/>
+ </target>
+
+ <target name="packexploded">
+ <property name="extension" value="jar"/>
+ <!-- property name="jarname"/ -->
+ <mkdir dir="${build.testresources.dir}/${jarname}.${extension}"/>
+ <copy todir="${build.testresources.dir}/${jarname}.${extension}">
+ <!-- fileset dir="${build.temp.dir}"/ -->
+ <fileset dir="${classes.dir}">
+ <include name="**/test/pack/${jarname}/**.*"/>
+ </fileset>
+ <fileset dir="${testresources.dir}/${jarname}">
+ <include name="**/*.*"/>
+ </fileset>
+ </copy>
+ <delete dir="${build.temp.dir}"/>
+ </target>
+
+ <target name="test-resources" description="Prepare all needed jars and pars">
+ <antcall target="packjar" inheritall="true">
+ <param name="extension" value="par"/>
+ <param name="jarname" value="defaultpar"/>
+ </antcall>
+ <antcall target="packjar" inheritall="true">
+ <param name="extension" value="par"/>
+ <param name="jarname" value="space par"/>
+ <param name="packagename" value="spacepar"/>
+ </antcall>
+ <antcall target="packjar" inheritall="true">
+ <param name="extension" value="par"/>
+ <param name="jarname" value="explicitpar"/>
+ </antcall>
+ <antcall target="packjar" inheritall="true">
+ <param name="extension" value="par"/>
+ <param name="jarname" value="excludehbmpar"/>
+ </antcall>
+ <antcall target="packjar" inheritall="true">
+ <param name="extension" value="jar"/>
+ <param name="jarname" value="externaljar"/>
+ </antcall>
+ <antcall target="packjar" inheritall="true">
+ <param name="extension" value="par"/>
+ <param name="jarname" value="cfgxmlpar"/>
+ </antcall>
+ <antcall target="packjar" inheritall="true">
+ <param name="extension" value="jar"/>
+ <param name="jarname" value="overridenpar"/>
+ </antcall>
+
+ <antcall target="packexploded" inheritall="true">
+ <param name="extension" value="par"/>
+ <param name="jarname" value="explodedpar"/>
+ </antcall>
+ </target>
+
+ <target name="get.deps.test" depends="init" description="retrieve the test dependencies">
+ <ivy:resolve conf="test" />
+ <ivy:retrieve pattern="${ivy.dep.dir}/test/[artifact].[ext]" conf="test" />
+ </target>
+
+ <target name="compiletest" depends="compile,get.deps.test" description="Compile the tests">
+ <available
+ classname="org.eclipse.core.launcher.Main"
+ property="build.compiler"
+ value="org.eclipse.jdt.core.JDTCompilerAdapter"
+ classpath="${java.class.path}"/>
+ <javac
+ srcdir="${test.dir}"
+ destdir="${classes.dir}"
+ debug="${javac.debug}"
+ optimize="${javac.optimize}"
+ nowarn="on"
+ source="${javac.source}"
+ target="${javac.target}">
+ <classpath>
+ <path refid="lib.class.path"/>
+ </classpath>
+ </javac>
+ </target>
+
+ <target name="junit" depends="compiletest,test-resources">
+ <mkdir dir="test_output"/>
+ <mkdir dir="${classes.dir}/META-INF/services"/>
+ <copy todir="${classes.dir}">
+ <fileset dir="${resources.dir}">
+ <include name="**/*.*"/>
+ </fileset>
+ </copy>
+ <junit fork="once" printsummary="yes" haltonfailure="yes">
+ <classpath>
+ <fileset dir="${jdbc.dir}">
+ <include name="**/*.jar"/>
+ <include name="**/*.zip"/>
+ </fileset>
+ <dirset dir="${build.testresources.dir}">
+ <include name="**/*.jar"/>
+ <include name="**/*.par"/>
+ </dirset>
+
+ <fileset dir="${build.testresources.dir}">
+ <include name="**/*.jar"/>
+ <include name="**/*.par"/>
+ </fileset>
+ <path refid="lib.class.path"/>
+ <!-- pathelement path="${classes.dir}"/ -->
+ <dirset dir="${classes.dir}">
+ <exclude name="**/pack/**.*"/>
+ </dirset>
+
+ <!-- pathelement path="build/test.par"/ -->
+ <pathelement path="${src.dir}"/>
+ <!-- pick up properties from here -->
+ <pathelement path="${test.dir}"/>
+ <!-- pick up mappings from here -->
+ </classpath>
+ <formatter type="plain"/>
+ <formatter type="xml"/>
+ <batchtest fork="yes" todir="test_output" haltonfailure="no">
+ <fileset dir="${classes.dir}">
+ <include name="**/*Test.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+ <!-- Run a single unit test. -->
+ <target name="junitsingle" depends="compiletest"
+ description="Run a single test suite (requires testname and jdbc.driver properties)">
+ <mkdir dir="test_output"/>
+ <junit printsummary="yes" fork="yes" haltonfailure="yes">
+ <classpath>
+ <fileset dir="${jdbc.dir}">
+ <include name="**/*.jar"/>
+ <include name="**/*.zip"/>
+ </fileset>
+ <path refid="lib.class.path"/>
+ <pathelement path="build/test.par"/>
+ <pathelement path="target/hibernate-entitymanager/hibernate-entitymanager.jar"/>
+ <pathelement path="${src.dir}"/>
+ <!-- pick up properties from here -->
+ <pathelement path="${test.dir}"/>
+ <!-- pick up mappings from here -->
+ </classpath>
+ <formatter type="plain"/>
+ <formatter type="xml"/>
+ <test fork="yes" todir="test_output" haltonfailure="no" name="${testname}"/>
+ </junit>
+ </target>
+
+ <target name="jar" depends="compile" description="Build the distribution .jar file">
+ <mkdir dir="${classes.dir}/META-INF/services"/>
+ <copy todir="${classes.dir}">
+ <fileset dir="${resources.dir}">
+ <include name="**/*.*"/>
+ </fileset>
+ </copy>
+ <manifest file="${classes.dir}/META-INF/MANIFEST.MF">
+ <attribute name="Implementation-Title" value="${Name}"/>
+ <attribute name="Implementation-Version" value="${version}"/>
+ <attribute name="Implementation-Vendor" value="hibernate.org"/>
+ <attribute name="Implementation-Vendor-Id" value="hibernate.org"/>
+ <attribute name="Implementation-URL" value="http://entitymanager.hibernate.org"/>
+ <attribute name="Specification-Title" value="Java Persistence"/>
+ <attribute name="Specification-Version" value="1.0"/>
+ <attribute name="Specification-Vendor" value="jcp.org"/>
+ </manifest>
+ <antcall target="common-build.jar"/>
+ <ivy:resolve conf="core"/>
+ <ivy:publish artifactspattern="${dist.dir}/[artifact].[ext]"
+ resolver="local"
+ pubrevision="latest"
+ pubdate="${now}"
+ status="integration"
+ />
+ </target>
+
+ <!-- target name="javadoc" description="Compile the Javadoc API documentation to dist dir">
+ <echo>Skipping java doc since ant's javadoc task cannot handle an alternative javadoc</echo>
+ </target -->
+
+ <target name="jpa-javadoc" if="jpa-present">
+ <mkdir dir="${jpa-javadoc.dir}"/>
+ <ant dir="../jpa-api" target="javadoc" inheritAll="false"/>
+ <copy todir="${jpa-javadoc.dir}">
+ <fileset dir="${basedir}/../jpa-api/build/api">
+ <include name="**/*.*"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <!-- Some of this can probably be moved to common-build... -->
+ <target name="dist" depends="get.deps.core,get.deps.test,jar,javadoc,jpa-javadoc,copysource,copytest,copylib,extras" description="Build everything">
+
+ <ant inheritall="false" dir="${basedir}/doc/reference"/>
+ <copy todir="${dist.dir}/doc/reference" failonerror="false">
+ <fileset dir="${basedir}/doc/reference/build">
+ <include name="**/*.*"/>
+ </fileset>
+ </copy>
+
+ <copy todir="${dist.dir}/resources" failonerror="false">
+ <fileset dir="${resources.dir}">
+ <include name="**/*.*"/>
+ </fileset>
+ </copy>
+ <copy todir="${dist.dir}/test-resources" failonerror="false">
+ <fileset dir="${testresources.dir}">
+ <include name="**/*.*"/>
+ </fileset>
+ </copy>
+ <copy todir="${dist.dir}" failonerror="false">
+ <fileset dir="${common.dir}">
+ <include name="common-build.xml"/>
+ </fileset>
+ </copy>
+
+ <!-- copy dependencies -->
+ <copy todir="${dist.lib.dir}" failonerror="false">
+ <!-- fileset file="${jpa-api.jar}"/>
+ <fileset file="${commons-annotations.jar}"/ -->
+ <fileset dir="${ivy.dep.dir}/core">
+ <include name="*.jar"/>
+ </fileset>
+ </copy>
+ <mkdir dir="${dist.lib.dir}/test"/>
+ <copy todir="${dist.lib.dir}/test" failonerror="false">
+ <fileset dir="${ivy.dep.dir}/test">
+ <include name="*.jar"/>
+ </fileset>
+ </copy>
+
+ <copy file="${basedir}/build.properties.dist" tofile="${dist.dir}/build.properties" failonerror="false">
+ </copy>
+ <antcall target="common-build.dist"/>
+ </target>
+
+ <target name="zip-dist" description="zip the dist">
+ <zip zipfile="${dist.dir}-${version}.zip">
+ <zipfileset prefix="${name}-${version}" dir="${dist.dir}"/>
+ </zip>
+ <tar compression="gzip" tarfile="${dist.dir}-${version}.tar.gz">
+ <tarfileset prefix="${name}-${version}" dir="${dist.dir}"/>
+ </tar>
+ </target>
+
+ <target name="profile" depends="compiletest">
+ <java classname="org.hibernate.ejb.test.Profile" fork="true">
+ <jvmarg value="-XrunjbossInspector:c:\profiler\data,include=org.hibernate.ejb,ignore=*,wakeupOnStartup=true"/>
+ <classpath>
+ <fileset dir="${jdbc.dir}">
+ <include name="**/*.jar"/>
+ <include name="**/*.zip"/>
+ </fileset>
+ <dirset dir="${build.testresources.dir}">
+ <include name="**/*.jar"/>
+ <include name="**/*.par"/>
+ </dirset>
+
+ <fileset dir="${build.testresources.dir}">
+ <include name="**/*.jar"/>
+ <include name="**/*.par"/>
+ </fileset>
+ <path refid="lib.class.path"/>
+ <pathelement path="${classes.dir}"/>
+ <!-- pathelement path="build/test.par"/ -->
+ <pathelement path="${src.dir}"/>
+ <!-- pick up properties from here -->
+ <pathelement path="${test.dir}"/>
+ <!-- pick up mappings from here -->
+ </classpath>
+ </java>
+ </target>
+
+
+</project>
Deleted: trunk/HibernateExt/entitymanager/build.xml
===================================================================
--- trunk/HibernateExt/entitymanager/build.xml 2007-08-15 23:54:42 UTC (rev 12983)
+++ trunk/HibernateExt/entitymanager/build.xml 2007-08-15 23:54:43 UTC (rev 12984)
@@ -1,422 +0,0 @@
-<!--
-
- Hibernate Annotations ANT build script.
-
- You need JDK 5.0 installed to build Hibernate EntityManager.
-
--->
-
-<project name="HibernateEntityManager" default="dist" basedir="."
- xmlns:ivy="antlib:fr.jayasoft.ivy.ant">
-
- <!-- Give user a chance to override without editing this file
- (and without typing -D each time it compiles it) -->
- <property file="build.properties"/>
- <property file="${user.home}/.ant.properties"/>
-
- <!-- Name of project and version, used to create filenames -->
- <property name="Name" value="Hibernate EntityManager"/>
- <property name="name" value="hibernate-entitymanager"/>
- <property name="version" value="3.3.1.GA"/>
- <property name="javadoc.packagenames" value="org.hibernate.ejb.*"/>
- <property name="jdbc.dir" value="jdbc"/>
- <property name="copy.test" value="true"/>
- <property name="javac.source" value="1.5"/>
- <property name="javac.target" value="1.5"/>
- <property name="common.dir" value="../common"/>
-
- <available property="jpa-present" file="${basedir}/../jpa-api" type="dir"/>
- <!-- property name="jpa-api.jar" value="${basedir}/../jpa-api/build/ejb3-persistence.jar"/>
- <property name="annotations.jar"
- value="${basedir}/../annotations/target/hibernate-annotations/hibernate-annotations.jar"/>
- <property name="commons-annotations.jar"
- value="${basedir}/../commons-annotations/target/hibernate-commons-annotations/hibernate-commons-annotations.jar"/ -->
- <property name="ivy.dep.dir" value="${basedir}/build/lib" />
-
- <import file="${common.dir}/common-build.xml"/>
- <property name="jpa-javadoc.dir" value="${dist.doc.dir}/jpa-api"/>
-
-
- <property name="resources.dir" value="src/resources"/>
- <property name="testresources.dir" value="src/test-resources"/>
- <property name="build.testresources.dir" value="${build.dir}/testresources"/>
- <property name="build.temp.dir" value="${build.dir}/temp"/>
-
- <path id="lib.moduleclass.path">
- <!-- pathelement location="${jpa-api.jar}"/>
- <pathelement location="${commons-annotations.jar}"/>
- <pathelement location="${annotations.jar}"/ -->
- <fileset dir="${ivy.dep.dir}/core">
- <include name="*.jar"/>
- </fileset>
- </path>
- <path id="junit.moduleclasspath">
- <pathelement location="${src.dir}"/>
- <pathelement location="${test.dir}"/>
- <fileset dir="${jdbc.dir}">
- <include name="*.jar"/>
- <include name="*.zip"/>
- </fileset>
- <fileset dir="${lib.dir}/test">
- <include name="*.jar"/>
- <include name="*.zip"/>
- </fileset>
- <fileset dir="${ivy.dep.dir}/test">
- <include name="*.jar"/>
- </fileset>
- </path>
-
- <!-- ivy load -->
- <property name="ivy.jar.dir" value="${basedir}/ivy" />
- <property name="ivy.conf.dir" value="${basedir}" />
- <path id="ivy.lib.path">
- <fileset dir="${ivy.jar.dir}" includes="*.jar"/>
- </path>
- <taskdef resource="fr/jayasoft/ivy/ant/antlib.xml"
- uri="antlib:fr.jayasoft.ivy.ant" classpathref="ivy.lib.path"/>
-
- <target name="init">
- <antcall target="common-build.init"/>
- <tstamp>
- <format property="now" pattern="yyyyMMddhhmmss"/>
- </tstamp>
- <!-- check for dependency artefacts -->
- <!-- available file="${jpa-api.jar}" type="file" property="jpa-api.jar.available"/>
- <available file="${commons-annotations.jar}" type="file" property="commons-annotations.jar.available"/>
- <available file="${annotations.jar}" type="file" property="annotations.jar.available"/ -->
- <mkdir dir="${lib.dir}/test"/>
- <mkdir dir="${ivy.dep.dir}/core"/>
- <mkdir dir="${ivy.dep.dir}/test"/>
- <ivy:configure file="${ivy.jar.dir}/ivyconf.xml" />
- </target>
-
- <!-- target name="get.jpa-api" depends="init" unless="jpa-api.jar.available">
- <ant inheritall="false" dir="${basedir}/../jpa-api" target="clean"/>
- <ant inheritall="false" dir="${basedir}/../jpa-api" target="jar"/>
- </target>
-
- <target name="get.commons-annotations" depends="init" unless="commons-annotations.jar.available">
- <ant inheritall="false" dir="${basedir}/../commons-annotations" target="clean"/>
- <ant inheritall="false" dir="${basedir}/../commons-annotations" target="jar"/>
- </target>
-
- <target name="get.annotations" depends="init" unless="annotations.jar.available">
- <ant inheritall="false" dir="${basedir}/../annotations" target="clean"/>
- <ant inheritall="false" dir="${basedir}/../annotations" target="jar"/>
- </target -->
-
- <target name="get.deps.core" depends="init" description="retrieve the core dependencies">
- <ivy:resolve conf="core" />
- <ivy:retrieve pattern="${ivy.dep.dir}/core/[artifact].[ext]" conf="core" />
- </target>
-
-
- <target name="compile" depends="init,get.deps.core" description="Compile the Java source code">
- <available
- classname="org.eclipse.core.launcher.Main"
- property="build.compiler"
- value="org.eclipse.jdt.core.JDTCompilerAdapter"
- classpath="${java.class.path}"/>
- <javac
- srcdir="${src.dir}"
- destdir="${classes.dir}"
- classpathref="lib.class.path"
- debug="${javac.debug}"
- optimize="${javac.optimize}"
- nowarn="on"
- source="${javac.source}"
- target="${javac.target}"
- >
- </javac>
- </target>
-
- <target name="packjar">
- <property name="extension" value="jar"/>
- <property name="packagename" value="${jarname}"/>
- <!-- property name="jarname"/ -->
- <mkdir dir="${build.testresources.dir}"/>
- <jar destfile="${build.testresources.dir}/${jarname}.${extension}">
- <!-- fileset dir="${build.temp.dir}"/ -->
- <fileset dir="${classes.dir}">
- <include name="**/test/pack/${packagename}/**.*"/>
- </fileset>
- <fileset dir="${testresources.dir}/${jarname}">
- <include name="**/*.*"/>
- </fileset>
- </jar>
- <delete dir="${build.temp.dir}"/>
- </target>
-
- <target name="packexploded">
- <property name="extension" value="jar"/>
- <!-- property name="jarname"/ -->
- <mkdir dir="${build.testresources.dir}/${jarname}.${extension}"/>
- <copy todir="${build.testresources.dir}/${jarname}.${extension}">
- <!-- fileset dir="${build.temp.dir}"/ -->
- <fileset dir="${classes.dir}">
- <include name="**/test/pack/${jarname}/**.*"/>
- </fileset>
- <fileset dir="${testresources.dir}/${jarname}">
- <include name="**/*.*"/>
- </fileset>
- </copy>
- <delete dir="${build.temp.dir}"/>
- </target>
-
- <target name="test-resources" description="Prepare all needed jars and pars">
- <antcall target="packjar" inheritall="true">
- <param name="extension" value="par"/>
- <param name="jarname" value="defaultpar"/>
- </antcall>
- <antcall target="packjar" inheritall="true">
- <param name="extension" value="par"/>
- <param name="jarname" value="space par"/>
- <param name="packagename" value="spacepar"/>
- </antcall>
- <antcall target="packjar" inheritall="true">
- <param name="extension" value="par"/>
- <param name="jarname" value="explicitpar"/>
- </antcall>
- <antcall target="packjar" inheritall="true">
- <param name="extension" value="par"/>
- <param name="jarname" value="excludehbmpar"/>
- </antcall>
- <antcall target="packjar" inheritall="true">
- <param name="extension" value="jar"/>
- <param name="jarname" value="externaljar"/>
- </antcall>
- <antcall target="packjar" inheritall="true">
- <param name="extension" value="par"/>
- <param name="jarname" value="cfgxmlpar"/>
- </antcall>
- <antcall target="packjar" inheritall="true">
- <param name="extension" value="jar"/>
- <param name="jarname" value="overridenpar"/>
- </antcall>
-
- <antcall target="packexploded" inheritall="true">
- <param name="extension" value="par"/>
- <param name="jarname" value="explodedpar"/>
- </antcall>
- </target>
-
- <target name="get.deps.test" depends="init" description="retrieve the test dependencies">
- <ivy:resolve conf="test" />
- <ivy:retrieve pattern="${ivy.dep.dir}/test/[artifact].[ext]" conf="test" />
- </target>
-
- <target name="compiletest" depends="compile,get.deps.test" description="Compile the tests">
- <available
- classname="org.eclipse.core.launcher.Main"
- property="build.compiler"
- value="org.eclipse.jdt.core.JDTCompilerAdapter"
- classpath="${java.class.path}"/>
- <javac
- srcdir="${test.dir}"
- destdir="${classes.dir}"
- debug="${javac.debug}"
- optimize="${javac.optimize}"
- nowarn="on"
- source="${javac.source}"
- target="${javac.target}">
- <classpath>
- <path refid="lib.class.path"/>
- </classpath>
- </javac>
- </target>
-
- <target name="junit" depends="compiletest,test-resources">
- <mkdir dir="test_output"/>
- <mkdir dir="${classes.dir}/META-INF/services"/>
- <copy todir="${classes.dir}">
- <fileset dir="${resources.dir}">
- <include name="**/*.*"/>
- </fileset>
- </copy>
- <junit fork="once" printsummary="yes" haltonfailure="yes">
- <classpath>
- <fileset dir="${jdbc.dir}">
- <include name="**/*.jar"/>
- <include name="**/*.zip"/>
- </fileset>
- <dirset dir="${build.testresources.dir}">
- <include name="**/*.jar"/>
- <include name="**/*.par"/>
- </dirset>
-
- <fileset dir="${build.testresources.dir}">
- <include name="**/*.jar"/>
- <include name="**/*.par"/>
- </fileset>
- <path refid="lib.class.path"/>
- <!-- pathelement path="${classes.dir}"/ -->
- <dirset dir="${classes.dir}">
- <exclude name="**/pack/**.*"/>
- </dirset>
-
- <!-- pathelement path="build/test.par"/ -->
- <pathelement path="${src.dir}"/>
- <!-- pick up properties from here -->
- <pathelement path="${test.dir}"/>
- <!-- pick up mappings from here -->
- </classpath>
- <formatter type="plain"/>
- <formatter type="xml"/>
- <batchtest fork="yes" todir="test_output" haltonfailure="no">
- <fileset dir="${classes.dir}">
- <include name="**/*Test.class"/>
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <!-- Run a single unit test. -->
- <target name="junitsingle" depends="compiletest"
- description="Run a single test suite (requires testname and jdbc.driver properties)">
- <mkdir dir="test_output"/>
- <junit printsummary="yes" fork="yes" haltonfailure="yes">
- <classpath>
- <fileset dir="${jdbc.dir}">
- <include name="**/*.jar"/>
- <include name="**/*.zip"/>
- </fileset>
- <path refid="lib.class.path"/>
- <pathelement path="build/test.par"/>
- <pathelement path="target/hibernate-entitymanager/hibernate-entitymanager.jar"/>
- <pathelement path="${src.dir}"/>
- <!-- pick up properties from here -->
- <pathelement path="${test.dir}"/>
- <!-- pick up mappings from here -->
- </classpath>
- <formatter type="plain"/>
- <formatter type="xml"/>
- <test fork="yes" todir="test_output" haltonfailure="no" name="${testname}"/>
- </junit>
- </target>
-
- <target name="jar" depends="compile" description="Build the distribution .jar file">
- <mkdir dir="${classes.dir}/META-INF/services"/>
- <copy todir="${classes.dir}">
- <fileset dir="${resources.dir}">
- <include name="**/*.*"/>
- </fileset>
- </copy>
- <manifest file="${classes.dir}/META-INF/MANIFEST.MF">
- <attribute name="Implementation-Title" value="${Name}"/>
- <attribute name="Implementation-Version" value="${version}"/>
- <attribute name="Implementation-Vendor" value="hibernate.org"/>
- <attribute name="Implementation-Vendor-Id" value="hibernate.org"/>
- <attribute name="Implementation-URL" value="http://entitymanager.hibernate.org"/>
- <attribute name="Specification-Title" value="Java Persistence"/>
- <attribute name="Specification-Version" value="1.0"/>
- <attribute name="Specification-Vendor" value="jcp.org"/>
- </manifest>
- <antcall target="common-build.jar"/>
- <ivy:resolve conf="core"/>
- <ivy:publish artifactspattern="${dist.dir}/[artifact].[ext]"
- resolver="local"
- pubrevision="latest"
- pubdate="${now}"
- status="integration"
- />
- </target>
-
- <!-- target name="javadoc" description="Compile the Javadoc API documentation to dist dir">
- <echo>Skipping java doc since ant's javadoc task cannot handle an alternative javadoc</echo>
- </target -->
-
- <target name="jpa-javadoc" if="jpa-present">
- <mkdir dir="${jpa-javadoc.dir}"/>
- <ant dir="../jpa-api" target="javadoc" inheritAll="false"/>
- <copy todir="${jpa-javadoc.dir}">
- <fileset dir="${basedir}/../jpa-api/build/api">
- <include name="**/*.*"/>
- </fileset>
- </copy>
- </target>
-
- <!-- Some of this can probably be moved to common-build... -->
- <target name="dist" depends="get.deps.core,get.deps.test,jar,javadoc,jpa-javadoc,copysource,copytest,copylib,extras" description="Build everything">
-
- <ant inheritall="false" dir="${basedir}/doc/reference"/>
- <copy todir="${dist.dir}/doc/reference" failonerror="false">
- <fileset dir="${basedir}/doc/reference/build">
- <include name="**/*.*"/>
- </fileset>
- </copy>
-
- <copy todir="${dist.dir}/resources" failonerror="false">
- <fileset dir="${resources.dir}">
- <include name="**/*.*"/>
- </fileset>
- </copy>
- <copy todir="${dist.dir}/test-resources" failonerror="false">
- <fileset dir="${testresources.dir}">
- <include name="**/*.*"/>
- </fileset>
- </copy>
- <copy todir="${dist.dir}" failonerror="false">
- <fileset dir="${common.dir}">
- <include name="common-build.xml"/>
- </fileset>
- </copy>
-
- <!-- copy dependencies -->
- <copy todir="${dist.lib.dir}" failonerror="false">
- <!-- fileset file="${jpa-api.jar}"/>
- <fileset file="${commons-annotations.jar}"/ -->
- <fileset dir="${ivy.dep.dir}/core">
- <include name="*.jar"/>
- </fileset>
- </copy>
- <mkdir dir="${dist.lib.dir}/test"/>
- <copy todir="${dist.lib.dir}/test" failonerror="false">
- <fileset dir="${ivy.dep.dir}/test">
- <include name="*.jar"/>
- </fileset>
- </copy>
-
- <copy file="${basedir}/build.properties.dist" tofile="${dist.dir}/build.properties" failonerror="false">
- </copy>
- <antcall target="common-build.dist"/>
- </target>
-
- <target name="zip-dist" description="zip the dist">
- <zip zipfile="${dist.dir}-${version}.zip">
- <zipfileset prefix="${name}-${version}" dir="${dist.dir}"/>
- </zip>
- <tar compression="gzip" tarfile="${dist.dir}-${version}.tar.gz">
- <tarfileset prefix="${name}-${version}" dir="${dist.dir}"/>
- </tar>
- </target>
-
- <target name="profile" depends="compiletest">
- <java classname="org.hibernate.ejb.test.Profile" fork="true">
- <jvmarg value="-XrunjbossInspector:c:\profiler\data,include=org.hibernate.ejb,ignore=*,wakeupOnStartup=true"/>
- <classpath>
- <fileset dir="${jdbc.dir}">
- <include name="**/*.jar"/>
- <include name="**/*.zip"/>
- </fileset>
- <dirset dir="${build.testresources.dir}">
- <include name="**/*.jar"/>
- <include name="**/*.par"/>
- </dirset>
-
- <fileset dir="${build.testresources.dir}">
- <include name="**/*.jar"/>
- <include name="**/*.par"/>
- </fileset>
- <path refid="lib.class.path"/>
- <pathelement path="${classes.dir}"/>
- <!-- pathelement path="build/test.par"/ -->
- <pathelement path="${src.dir}"/>
- <!-- pick up properties from here -->
- <pathelement path="${test.dir}"/>
- <!-- pick up mappings from here -->
- </classpath>
- </java>
- </target>
-
-
-</project>
17 years, 4 months
Hibernate SVN: r12983 - trunk/HibernateExt/entitymanager and 1 other directory.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:54:42 -0400 (Wed, 15 Aug 2007)
New Revision: 12983
Added:
entitymanager/trunk/.cvsignore
Removed:
trunk/HibernateExt/entitymanager/.cvsignore
Log:
Move entitymanager trunk to the new structure
Copied: entitymanager/trunk/.cvsignore (from rev 12982, trunk/HibernateExt/entitymanager/.cvsignore)
===================================================================
--- entitymanager/trunk/.cvsignore (rev 0)
+++ entitymanager/trunk/.cvsignore 2007-08-15 23:54:42 UTC (rev 12983)
@@ -0,0 +1,4 @@
+build.properties
+build
+target
+test_output
Deleted: trunk/HibernateExt/entitymanager/.cvsignore
===================================================================
--- trunk/HibernateExt/entitymanager/.cvsignore 2007-08-15 23:54:40 UTC (rev 12982)
+++ trunk/HibernateExt/entitymanager/.cvsignore 2007-08-15 23:54:42 UTC (rev 12983)
@@ -1,4 +0,0 @@
-build.properties
-build
-target
-test_output
17 years, 4 months
Hibernate SVN: r12982 - entitymanager.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:54:40 -0400 (Wed, 15 Aug 2007)
New Revision: 12982
Added:
entitymanager/branches/
Log:
Create entitymanager structure
17 years, 4 months
Hibernate SVN: r12981 - entitymanager.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:54:39 -0400 (Wed, 15 Aug 2007)
New Revision: 12981
Added:
entitymanager/tags/
Log:
Create entitymanager structure
17 years, 4 months
Hibernate SVN: r12980 - entitymanager.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:54:38 -0400 (Wed, 15 Aug 2007)
New Revision: 12980
Added:
entitymanager/trunk/
Log:
Create entitymanager structure
17 years, 4 months
Hibernate SVN: r12979 - /.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:54:37 -0400 (Wed, 15 Aug 2007)
New Revision: 12979
Added:
entitymanager/
Log:
Create entitymanager structure
17 years, 4 months
Hibernate SVN: r12978 - trunk/HibernateExt/commons-annotations and 1 other directory.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:54:36 -0400 (Wed, 15 Aug 2007)
New Revision: 12978
Added:
commons-annotations/trunk/ivy.xml
Removed:
trunk/HibernateExt/commons-annotations/ivy.xml
Log:
Move commons-annotations trunk to the new structure
Copied: commons-annotations/trunk/ivy.xml (from rev 12977, trunk/HibernateExt/commons-annotations/ivy.xml)
===================================================================
--- commons-annotations/trunk/ivy.xml (rev 0)
+++ commons-annotations/trunk/ivy.xml 2007-08-15 23:54:36 UTC (rev 12978)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ivy-module version="1.3"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation=
+ "http://www.jayasoft.org/misc/ivy/ivy.xsd">
+ <info organisation="org.hibernate" module="commons-annotations"/>
+ <configurations>
+ <conf name="core" description="Core module dependencies"/>
+ <conf name="test" visibility="private" description="Dependencies needed for testing purposes"/>
+ </configurations>
+ <publications>
+ <artifact name="hibernate-commons-annotations" conf="core"/>
+ </publications>
+ <dependencies>
+ <dependency name="jpa-api" force="true" rev="1.0.0.GA" conf="test->default"/>
+ </dependencies>
+</ivy-module>
\ No newline at end of file
Deleted: trunk/HibernateExt/commons-annotations/ivy.xml
===================================================================
--- trunk/HibernateExt/commons-annotations/ivy.xml 2007-08-15 23:54:34 UTC (rev 12977)
+++ trunk/HibernateExt/commons-annotations/ivy.xml 2007-08-15 23:54:36 UTC (rev 12978)
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ivy-module version="1.3"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation=
- "http://www.jayasoft.org/misc/ivy/ivy.xsd">
- <info organisation="org.hibernate" module="commons-annotations"/>
- <configurations>
- <conf name="core" description="Core module dependencies"/>
- <conf name="test" visibility="private" description="Dependencies needed for testing purposes"/>
- </configurations>
- <publications>
- <artifact name="hibernate-commons-annotations" conf="core"/>
- </publications>
- <dependencies>
- <dependency name="jpa-api" force="true" rev="1.0.0.GA" conf="test->default"/>
- </dependencies>
-</ivy-module>
\ No newline at end of file
17 years, 4 months