Commit Graph

625 Commits

Author SHA1 Message Date
Gail Badner af3767b82a HHH-6872 : Test failures with hibernate.jdbc.batch_versioned_data=true 2011-12-02 02:19:58 -08:00
Steve Ebersole eb59e81bb9 HHH-6865 - PessimisticLockException should be thrown when pessimistic read and write locking strategies fail 2011-11-30 12:20:11 -06:00
Strong Liu 221d5f9ef6 HHH-6862 reduce the reference to IdentityMap 2011-11-30 14:26:38 +08:00
Strong Liu 341acf5949 JBPAPP-2613 2011-11-25 16:09:47 +08:00
Strong Liu 8c868aa513 HHH-6820 Skip test org.hibernate.ejb.test.lock.LockTest.testContendedPessimisticLock for Sybase ASE15.5 2011-11-25 14:25:05 +08:00
Hardy Ferentschik 873517a46f HHH-6843 Second transaction should not commit before the first one 2011-11-25 13:30:33 +08:00
Hardy Ferentschik ab111b6018 HHH-6843 Updating LockTest to be less aggressive and more inline with actual isolation requirements
The actual changes are in the refactoring of LockTest#testContendedPessimisticLock which got split up into several methods and has the asserts changed

The formatting changes fix some generics warning and indentation. Used to be two separate commits, but after some git screw-up became one now
2011-11-25 13:30:33 +08:00
Hardy Ferentschik c520a81990 HHH-6843 Increasing the lock timeout. The default timeout is very low (see http://stackoverflow.com/questions/4162557/timeout-error-trying-to-lock-table-in-h2)
Turns out that at least one test (LockTest) passed due to combination of an uncaught TimeoutException + wrong assumptions. Increasing the timeout seems also more realistic in comparison to other databases.
2011-11-25 13:30:33 +08:00
Scott Marlow 977dcd1b03 HHH-5222 upgrade from READ to OPTIMISTIC_FORCE_INCREMENT fails 2011-11-23 17:33:44 -05:00
Scott Marlow e044cb2ce1 LockTest changes: better handling of unexpected exception and don't call commit after timing out 2011-11-23 10:42:15 -05:00
Alessandro Lazarotti 3c11500618 JBPAPP-7491 , JBPAPP-7488 , HHH-6806 Add support for vfsfile and vfszip in JarVisitor
The method getVisitor(URL jarUrl, Filter[] filters, String entry) does not have conditionals for protocols vfs based,
like vfszip or vfsfile. It returns an InputStreamZippedJarVisitor implementation for both protocols. If it is a vfszip,
it will work, but will not not for vfsfile. The fix includes vfszip and vfsfile to JarVisitorFactory, so it can return
FileZippedJarVisitor (more efficient than InputStreamZippedJarVisitor) for vfszip and ExplodedJarVisitor for vfsfile
2011-11-23 12:56:10 +01:00
Strong Liu f8e347dabd HHH-6827 code format and javadoc, logging 2011-11-21 20:02:09 +08:00
Strong Liu ff9eb6d1b2 test need to be compiled in UTF-8 2011-11-21 10:16:30 +08:00
Strong Liu 62d50aa987 HHH-6820 Skip test org.hibernate.ejb.test.lock.LockTest.testContendedPessimisticLock for Sybase ASE15.5 2011-11-21 08:49:25 +08:00
Emmanuel Bernard 53cae7ace7 HHH-6799 Fix EntityManager relates test harness that was closing a ServiceRegistry it did not open 2011-11-03 21:20:28 +01:00
Emmanuel Bernard 19939cedf5 HHH-6799 Add a SessionFactoryObserver to close ServiceRegistries created by the bootstrap process 2011-11-03 21:20:27 +01:00
Strong Liu 368ef6713b HHH-6773 test fails on sybase 2011-11-03 16:43:18 +08:00
Strong Liu bec88716d6 HHH-6791 tiny improvement, in favor of java auto-box instead of create new instance 2011-11-02 14:16:02 +08:00
Gail Badner 11d8a8617f HHH-6770 : Oracle reserved words used as column names 2011-10-26 14:42:17 -07:00
Gail Badner a6a366678a HHH-6770 : Oracle reserved words used as column names 2011-10-26 14:31:18 -07:00
Strong Liu a9064790e3 HHH-6772 org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase overrides system properties 2011-10-26 14:21:18 +08:00
Strong Liu 5e668a039f correct typo in doc 2011-10-20 02:01:23 +08:00
Strong Liu 036b9579d6 HHH-6742 move unit tests back to src/test 2011-10-18 22:17:13 +08:00
Strong Liu 98e68aab4b HHH-6742 move unit tests back to src/test 2011-10-18 21:47:19 +08:00
Emmanuel Bernard 0aa3a7b608 Minor Javadoc updates 2011-10-12 14:50:50 +02:00
James Gilbertson e05b3a6c38 HHH-4881: Added test for Path.type() 2011-10-09 14:36:25 +08:00
James Gilbertson 972aa060a6 HHH-4881: Keep track of the owning expression so we can get the path identifier 2011-10-09 14:36:24 +08:00
James Gilbertson 1b30c4a9f2 HHH-4881: Merged test case from HHH-5282 2011-10-09 14:36:24 +08:00
John Verhaeg 7d70a909c5 HHH-5419: Modified HQL rendering of COUNT function so that when a non-distinct entity with an ID is specified as a parameter, it renders a star instead of the ID attribute(s). This allows for greater support across DBs, since some do not support the previous rendering of multiple ID attributes when the ID happens to be a composite ID. 2011-10-03 00:42:55 -05:00
Strong Liu a34c99a34c HHH-6697 EntityManager.persist should through EntityExistsException instead of PersistenceException (from https://github.com/hibernate/hibernate-core/pull/178) 2011-09-30 17:21:05 +08:00
Gail Badner 3c4ed4fe6b HHH-5832 : JPA Query and IdClass Causing NullPointerException 2011-09-27 23:04:09 -07:00
Steve Ebersole e14e47968f HHH-6683 - Consolidate (consistency) building of service registries 2011-09-27 12:45:07 -05:00
Steve Ebersole f4fa176255 HHH-6683 - Consolidate (consistency) building of service registries 2011-09-27 11:49:17 -05:00
Strong Liu b552f70726 HHH-6675 upgrade dependencies 2011-09-26 00:29:13 +08:00
Strong Liu 6dc324fcef HHH-6655 test case 2011-09-15 01:12:40 +08:00
Steve Ebersole 9f214d8018 HHH-6640 - Add ability for Integrator to prepare ServiceRegistryBuilder and MetadataImplementor as part of lifecycle 2011-09-13 18:46:28 -05:00
Emmanuel Bernard 102f9b3876 HHH-6084 Add tests for id strategy provider in hem 2011-09-07 12:25:11 +02:00
Emmanuel Bernard 9b2dedc681 HHH-6084 define id strategy provider in HEM (waiting for MetadataImpl replacement in 4.1)
Conflicts:

	hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java
2011-09-07 12:25:11 +02:00
Strong Liu 1f2f7270db HHH-6618 running hibernate functional test cases on DB matrix 2011-09-01 00:08:29 +08:00
Strong Liu 822ae2a135 HHH-6588 rollback to use "org.hibernate.SQL" category to log sql 2011-08-30 18:39:35 +08:00
Strong Liu 3b7bdb8ddc HHH-6618 enable idea support for matrix sourceset 2011-08-30 15:20:51 +08:00
Strong Liu e941eca2d5 HHH-6618 running hibernate functional test cases on DB matrix 2011-08-30 14:06:13 +08:00
Steve Ebersole 68f7d9b713 HHH-6586 - Document metamodel package as experimental and unsupported 2011-08-29 18:38:16 -05:00
Strong Liu af0043ae6a HHH-5789 Hibernate 3.5.4 doesn't build with OpenJDK 6b18-1.8.2 or greater 2011-08-20 10:58:39 +08:00
Strong Liu 77baa2aa64 HHH-5789 Hibernate 3.5.4 doesn't build with OpenJDK 6b18-1.8.2 or greater 2011-08-20 10:45:20 +08:00
Hardy Ferentschik 524443d848 HHH-6268 Fixing test errors caused by NullPointerExceptions and refactoring annotation processing code in EntityClass 2011-08-16 18:03:53 +02:00
JPAV adf6271594 HHH-6268 Bound JPA callback methods to entities, including those defined by default listeners, and added new method to Integrator that handles MetadataImplementor instead of Configuration, modifying affected classes accordingly. BeanValidationIntegrator and EnversIntegrator still need to be implemented but require other portions of metamodel to be completed first. 2011-08-15 10:13:29 -05:00
Steve Ebersole 631286c77b HHH-6503 - Develop Set-style plural attribute support for new metamodel 2011-07-29 16:43:33 -05:00
Steve Ebersole 7529dd8e81 HHH-6479 - Split notions of locating and creating an attribute 2011-07-22 14:27:35 -05:00
Steve Ebersole acc93a3d8c HHH-6447 - Develop shared binding creation approach 2011-07-20 15:38:57 -05:00
Andrew Lee Rubinger a7f5bc1a7d [HHH-6442] In the case a URL cannot be reconstructed due to MalformedURLException, use the one passed in (which will already have a URLStreamHandler association) 2011-07-18 10:35:44 +02:00
Hardy Ferentschik d3f20f44ea HHH-6201 Import cleanup 2011-07-05 16:08:51 +02:00
Strong Liu 6bd13cbfda typo in document 2011-06-20 12:17:56 +08:00
Steve Ebersole 4a4f636caf HHH-6330 - Remove entity mode switching capability 2011-06-19 22:12:18 -05:00
Strong Liu 92ad3eed80 HHH-6297 remove legacy cache api 2011-06-09 12:18:59 +08:00
Strong Liu 72aedc8682 HHH-6294 use enum instead of constant 2011-06-07 00:16:33 +08:00
Gail Badner 86ddbc09d9 HHH-6110 : Integrate new metamodel into persisters 2011-05-25 23:01:31 -07:00
Steve Ebersole 4f1bee1727 HHH-6247 - Log (warn) inability for EM to join transaction only when user explicitly asked for join 2011-05-23 11:59:47 -05:00
Steve Ebersole c88cdaff96 HHH-6247 - Log (warn) inability for EM to join transaction only when user explicitly asked for join 2011-05-23 11:48:49 -05:00
Hardy Ferentschik de1e1717c5 HHH-6119 Formatting 2011-05-11 16:17:07 +02:00
Michael Rudolf 790b8dcbf8 Added null checks to prevent NullPointerExceptions when the path source is null.
Signed-off-by: Michael Rudolf <javaprog@gmx.de>
2011-05-11 15:59:40 +02:00
Michael Rudolf 77753b3496 Added test showing misbehaviour of AbstractPathImpl.get(String), which throws a NullPointerException while preparing an IllegalArgumentException that should be thrown here.
Signed-off-by: Michael Rudolf <javaprog@gmx.de>
2011-05-11 15:59:40 +02:00
Hardy Ferentschik 3dfeceffe3 HHH-6214 Updated test 2011-05-10 17:13:02 +02:00
Steve Ebersole 360317eedf HHH-6200 - Split org.hibernate.hql package into api/spi/internal 2011-05-04 18:49:35 -05:00
Steve Ebersole 4ee0d4237d HHH-6198 - Split org.hibernate.event package into api/spi/internal 2011-05-04 18:20:53 -05:00
Steve Ebersole fb44ad936d HHH-6196 - Split org.hibernate.engine package into api/spi/internal 2011-05-04 17:15:47 -05:00
Steve Ebersole 36ba1bcafb HHH-6192 - Split org.hibernate.collection package up into api/sip/internal 2011-05-04 15:13:29 -05:00
Steve Ebersole c930ebcd7d HHH-6191 - repackage org.hibernate.cache per api/spi/internal split 2011-05-04 14:43:04 -05:00
Steve Ebersole ca37b335e4 HHH-6181 - Deprecate EJB3Configuration 2011-05-03 07:52:44 -05:00
Steve Ebersole 88172d1fb0 HHH-6117 - Figure out best way to handle SessionFactoryObjectFactory dealing with JNDI 2011-04-25 21:29:32 -05:00
Steve Ebersole ff74ceaaa4 HHH-6155 - Migrate o.h.impl package to o.h.internal 2011-04-24 09:24:32 -05:00
Steve Ebersole ddcdd84141 HHH-6150 - JBoss AS7 integration work 2011-04-22 22:44:52 -05:00
Steve Ebersole 59ec34cffd HHH-6150 - JBoss AS7 integration work 2011-04-22 21:05:54 -05:00
Steve Ebersole f07b88c75f HHH-6150 - JBoss AS7 integration work 2011-04-22 17:42:07 -05:00
Steve Ebersole 53e0439880 HHH-6144 - Introduce ServiceRegistryBuilder 2011-04-20 15:58:10 -05:00
Steve Ebersole 70d2e3848b HHH-6082 - Incorporate EntityManager documentation into main dev guide 2011-04-19 08:50:31 -05:00
Steve Ebersole 28a3e38f7a HHH-6073 2011-04-19 08:50:31 -05:00
Steve Ebersole 44cca7a375 HHH-6106 - Fix up IntelliJ project generation 2011-04-13 22:33:54 -05:00
Scott Marlow d24835fdd5 hhh-6095 flush/lock fix to throw TransactionRequiredException 2011-04-13 23:15:06 -04:00
Strong Liu 72a2862ea9 HHH-6102 - ISE should be thrown when EM is colsed and joinTransaction is called, even with RESOURCE-LOCAL TX 2011-04-09 02:18:46 +08:00
Steve Ebersole 6504cb6d78 HHH-6098 - Slight naming changes in regards to new logging classes 2011-04-08 09:44:13 -05:00
Steve Ebersole df9d8939bb HHH-2860 - Consolidate Session creation options/parameters 2011-03-31 15:22:01 -05:00
Steve Ebersole 7a5c85823b HHH-5989 - Add tests of JPA-style transaction joining 2011-03-31 10:35:23 -05:00
Steve Ebersole 3e22ef111c HHH-6061 - ValidatoryFactory type checking 2011-03-30 13:28:01 -05:00
Steve Ebersole d104f28a59 HHH-5348 - support for TypedQuery jpaql/hql "scalar" queries 2011-03-30 11:37:12 -05:00
Steve Ebersole 2f04cbffe6 HHH-5913 - Implement set of event listeners as a service 2011-03-27 14:35:01 -05:00
Steve Ebersole 42c609cfdd HHH-5913 - Implement set of event listeners as a service 2011-03-27 11:45:18 -05:00
Steve Ebersole e8ebe8e396 HHH-5913 - Implement set of event listeners as a service 2011-03-27 11:45:18 -05:00
Steve Ebersole 5adf2960c2 HHH-5913 - Implement set of event listeners as a service 2011-03-27 11:45:18 -05:00
Steve Ebersole 815baf4348 HHH-6051 - Create a sessionfactory scoped ServiceRegistry 2011-03-24 22:18:38 -05:00
Steve Ebersole 731d00fd6d HHH-6047 - allow nesting of ServiceRegistry 2011-03-24 14:38:58 -05:00
Steve Ebersole 671ef3accd HHH-6016 - Migrate version injection plugin to Gradle 2011-03-21 20:33:19 -05:00
Steve Ebersole b14de70d7b HHH-6028 - Remove o.h.classic stuff 2011-03-21 09:01:04 -05:00
Steve Ebersole 3402ba3a67 HHH-6028 - Remove o.h.classic.Session/Validatable 2011-03-19 08:16:33 -05:00
Steve Ebersole 19791a6c7d HHH-6026 - Migrate bytecode provider integrations to api/spi/internal split 2011-03-18 15:51:44 -05:00
Steve Ebersole 6493976266 Better handling of implicit literal numeric expression typing 2011-03-17 13:46:49 -05:00
Emmanuel Bernard 5f3749e590 Add JavaDoc to signal Hibrnate OGM dependencies 2011-03-17 13:46:49 -05:00
Emmanuel Bernard 1419b51736 HHH-5993 Add documentation for session factory observer config 2011-03-15 14:49:22 +01:00
Emmanuel Bernard 12bd0f24c0 HHH-5993 Add SessionFactoryObserver configuration option to HEM 2011-03-15 14:49:22 +01:00
Steve Ebersole 9ad55dc4bd HHH-5942 - Migrate to JUnit 4 2011-03-14 13:14:07 -05:00
Steve Ebersole df4df47b95 HHH-5942 - Migrate to JUnit 4 2011-03-14 13:14:07 -05:00
Steve Ebersole 20a120ef6c HHH-5942 - Migrate to JUnit 4 2011-03-14 13:14:07 -05:00
Steve Ebersole 1c203f35ec HHH-5942 - Migrate to JUnit 4 2011-03-14 13:14:07 -05:00
Steve Ebersole fd3fb8b316 HHH-5942 - Migrate to JUnit 4 2011-03-14 13:14:07 -05:00
Steve Ebersole 03ada52204 HHH-5942 - Migrate to JUnit 4 2011-03-14 13:14:06 -05:00
Steve Ebersole b1a9f36375 HHH-6000 - split annotation processor execution out into separate tasks 2011-03-09 15:29:40 -06:00
Steve Ebersole 4926904ed7 HHH-6000 - split annotation processor execution out into separate tasks 2011-03-09 13:30:29 -06:00
Steve Ebersole 7f09622a68 Merge branch 'master' of github.com:hibernate/hibernate-core 2011-03-09 13:21:40 -06:00
Steve Ebersole 43b812c1de HHH-6000 - split annotation processor execution out into separate tasks 2011-03-09 13:15:47 -06:00
JPAV f4815ee3a9 Removed bin folder from entity manager module 2011-03-09 10:32:02 -06:00
Steve Ebersole 8b94ac65a1 HHH-5994 - Inserts may be delayed because TransactionCoordinatorImpl.isTransactionInProgress() returns false for non-JTA transactions 2011-03-09 09:52:12 -06:00
JPAV 78136e02ff Merge branch 'master' of git://github.com/hibernate/hibernate-core 2011-03-08 16:31:47 -06:00
JPAV 346418c4ef Final sync with upstream master 2011-03-08 16:19:57 -06:00
Emmanuel Bernard b710115a93 HHH-5916 Remove unnecessary property for persister class provider
Now replaced with the service's property PersisterClassResolverInitiator.IMPL_NAME
aka "hibernate.persister.resolver"
2011-03-08 19:50:13 +01:00
Steve Ebersole 16464ae8be HHH-5987 - Remove org.hibernate.ejb.CurrentEntityManagerImpl 2011-03-07 07:51:18 -06:00
Steve Ebersole 56d242acdf HHH-5949 - Migrate, complete and integrate TransactionFactory as a service 2011-03-06 08:46:57 -06:00
Steve Ebersole 0816d00e59 HHH-5986 - Refactor org.hibernate.util package for spi/internal split 2011-03-05 09:26:34 -06:00
Steve Ebersole ddfcc44d76 HHH-5916 - Add support for a programmatic way to define a default EntityPersister and CollectionPersister class implementation 2011-03-04 15:37:25 -06:00
Gail Badner 747c2dd50d HHH-5982 : Flush checker bugs 2011-03-04 11:18:34 -08:00
Steve Ebersole bf186e7a6e HHH-5949 - Migrate, complete and integrate TransactionFactory as a service 2011-03-03 11:53:20 -06:00
Steve Ebersole b4a440e8d3 HHH-5949 - Migrate, complete and integrate TransactionFactory as a service 2011-03-02 16:52:43 -06:00
JPAV 79080f74d6 sync with master 2011-02-24 16:18:35 -06:00
JPAV c71e3c4baf Changed copyright notice from JBoss to Hibernate for new logging classes 2011-02-23 16:46:58 -06:00
Steve Ebersole e9ec8ef587 HHH-5943 - Make ServiceRegistry mutable 2011-02-23 15:57:41 -06:00
Steve Ebersole 8a530db254 HHH-5943 - Make ServiceRegistry mutable 2011-02-23 15:56:16 -06:00
Emmanuel Bernard 02cf95da33 HHH-5916 Add documentation for PersisterClassProvider option on Hibernate EntityManager 2011-02-23 15:38:45 -06:00
Emmanuel Bernard bac44e377d HHH-5916 Add test for PersisterClassProvider on Ejb3Configuration 2011-02-23 15:38:45 -06:00
Emmanuel Bernard 24936b0b70 HHH-5916 Expose persister class provider via Ejb3Configuration 2011-02-23 15:38:44 -06:00
Emmanuel Bernard eb9a093262 HHH-5916 extract property name to instance logic into helper method 2011-02-23 15:38:44 -06:00
Steve Ebersole b2a7967624 HHH-5903 - Rename ServicesRegistry to ServiceRegistry 2011-02-23 15:30:22 -06:00
Gail Badner d1515a2911 HHH-5126 : "in" expression and column-valued-input-parameter 2011-02-23 15:18:43 -06:00
Steve Ebersole 1be9fc80c9 HHH-5821 - JPA EntityType's (or ManagedType's) getSingularAttributes() returns the version attribute with isVersion set to false. 2011-02-23 15:17:29 -06:00
Sanne Grinovero 2641842ba9 HHH-5843 - Avoid useless branches during HQL parsing when trace logging is disabled 2011-02-23 13:04:19 -06:00
Steve Ebersole 3ba07b3f18 HHH-5943 - Make ServiceRegistry mutable 2011-02-21 22:18:17 -06:00
Steve Ebersole 2a64bcf9a7 HHH-5943 - Make ServiceRegistry mutable 2011-02-21 21:46:54 -06:00
JPAV ece77365dc Updated to work with latest releases of jboss-logging and jboss-logging-tools 2011-02-16 16:14:27 -06:00
Emmanuel Bernard 7e42b46444 HHH-5916 Add documentation for PersisterClassProvider option on Hibernate EntityManager 2011-02-14 19:21:33 +01:00
Emmanuel Bernard d5c16fb11d HHH-5916 Add test for PersisterClassProvider on Ejb3Configuration 2011-02-14 19:20:20 +01:00
Emmanuel Bernard 876d613974 HHH-5916 Expose persister class provider via Ejb3Configuration 2011-02-14 19:20:20 +01:00
Emmanuel Bernard d5d492744f HHH-5916 extract property name to instance logic into helper method 2011-02-14 19:20:19 +01:00
JPAV acf89b9e68 Changes from requests at Hibernate meeting: message codes, use XXXf methods for debug and trace, use @Cause 2011-02-08 14:01:34 -06:00
JPAV 8c806d361d Changes from requests at Hibernate meeting: message codes, use XXXf methods for debug and trace, use @Cause 2011-02-08 13:55:27 -06:00
Steve Ebersole 011d7e1114 HHH-5903 - Rename ServicesRegistry to ServiceRegistry 2011-02-08 11:27:27 -06:00
JPAV c26763c2e9 Added used of @Cause to log messages 2011-01-25 14:54:39 -06:00
Gail Badner 0013a90d20 HHH-5126 : "in" expression and column-valued-input-parameter 2011-01-21 13:05:54 -08:00
Steve Ebersole 140059528b HHH-5821 - JPA EntityType's (or ManagedType's) getSingularAttributes() returns the version attribute with isVersion set to false. 2011-01-21 14:05:16 -06:00
JPAV af24178145 Give each project a single logger 2011-01-18 16:01:00 -06:00
JPAV 3712e1ad7e Give each project a single logger 2011-01-18 16:00:59 -06:00
Gail Badner e024adebe7 HHH-5817 : Passing char[] or byte[] to equal function of CriteriaBuilder throws ClassCastException (Vyacheslav Dimitrov) 2011-01-11 18:18:17 -08:00
Hardy Ferentschik 2b7573febb HHH-5736 Removing unnecessary instance check. Applying Hibernate formatting. 2010-12-17 15:54:32 +01:00
Hardy Ferentschik ed89cef855 HHH-5736 Removing unnecessary instance check. Applying Hibernate formatting. 2010-12-17 15:54:32 +01:00
Hardy Ferentschik 18ed85a0cd HHH-5736 Adding actual asserts to the tests and adding some new tests 2010-12-17 15:54:32 +01:00
Vyacheslav Dimitrov a4fdb870f2 HHH-5736 Fixed tests 2010-12-17 15:54:32 +01:00
Vyacheslav Dimitrov 0c05f66f8d HHH-5736 Fixed problem with "not" function of CriteriaBuilder 2010-12-17 15:54:31 +01:00
Gail Badner b006a6c3c5 HHH-5765 : Refactor JDBCContext/ConnectionManager spi/impl and to use new proxies 2010-12-08 17:23:44 -08:00
Gail Badner 88543c7a58 HHH-5765 : Wire in connection provider from service registry 2010-11-30 11:38:53 -08:00
Steve Ebersole 5d8c5d371b Merge branch 'HHH-5709' of https://github.com/tblachowicz/hibernate-core into tblachowicz-HHH-5709 2010-11-11 11:41:38 -06:00
Tomasz Blachowicz fb26f4c1a0 HHH-5709: New property of PersistentClass finally renamed to jpaEntityName 2010-11-09 09:53:02 +00:00
Emmanuel Bernard 1adfc0af43 HHH-5705 Fix typo in query 2010-11-06 18:44:44 +01:00
Emmanuel Bernard 5bc23dadc2 HHH-5705 Fix typo 2010-11-06 18:44:36 +01:00
Hardy Ferentschik c0352429db HHH-5714 Upgraded metamodelgen dependency
The new version  allows now also to use the -s option for generating the sources into a seprate directory.
2010-11-04 10:37:10 +01:00
Tomasz Blachowicz f29fab99a6 HHH-5709: New property added to PersistentClass to hold the name of the entity compliant with JSR-317 spec. Used by JPA2 metamodel. 2010-11-03 14:10:58 +00:00
Tomasz Blachowicz b48c5b601c The name of the entity returned by the JPA2 meta-model EntityType.getName() is now PersistentClass.nodeName.
This guarantees that EntityType.getName() == @Entity.name for classes annotated with JPA2.
2010-11-02 22:06:09 +00:00
Hardy Ferentschik 2a7b091da9 HHH-5693 Revert back to a single compile, but without -s option
When using the two compile steps the package-info.class are getting corrupted. For this reason I am switching back to a single compile, but without the -s option to avoid the problem on Mac. As a result the meta model classes are generated in target/classes/test. On the other hand the build script is simpler, because it relies on more defaults.
2010-11-01 17:50:40 +01:00
Hardy Ferentschik 7b24b764f0 HHH-5693 Re-enable failing tests after fixing the gradle build 2010-11-01 17:47:03 +01:00
Hardy Ferentschik 179837554f HHH-5693 Disable package-info related tests for now 2010-10-29 14:59:16 +02:00
Hardy Ferentschik f0967db638 HHH-5693 remove obsolete ant build file 2010-10-26 15:37:05 +02:00
Hardy Ferentschik 2b2fb03aa4 HHH-5693 Moved the bundlesTargetDir creation outside copy task 2010-10-26 14:47:51 +02:00
Hardy Ferentschik e660463523 HHH-5693 Change way the target directory is discovered
Depending on wether the tests are run from the command line (Gradle) or IDE (Idea at least) the path will vary. For this reason one cannot just navigate back in the path. Instead I am assuming that there is a 'target' directory.
2010-10-26 12:03:09 +02:00
Hardy Ferentschik 2d501faa8a HHH-5693 Added comment about the need for two compilations 2010-10-26 11:12:31 +02:00
Hardy Ferentschik 461354be09 HHH-5693 Update creation of URLClassloader for resource loading
This is necessary, because of changes of the loction of the test classes.
It used to be target/test-classes, now it is target/classes/test
2010-10-26 11:08:32 +02:00
Hardy Ferentschik 7eedcfea4e HHH-5693 Update the filtered resource files to use @@ as token for filtering
Tokens use now the @property@ syntax instead of ${property}, because underneath
ant filtering is used. Also remove hibernate.connection.isolation property which
is irrelevant for these tests.
Update gradle build script to use filtering when copying the bundle resources.
The script also adds a new compilation task for just compiling the metamodel.
Seems to be needed for Mac.
2010-10-26 11:01:39 +02:00
Steve Ebersole 2443fede65 HHH-5616 - Switch to Gradle for builds .. incorrect .gitignore 2010-10-11 17:43:42 -05:00
Steve Ebersole d18170e490 HHH-5616 - Switch to Gradle for builds .. disable hem tests due to tcl needing to be given to shrinkwrap stuff 2010-10-11 14:41:50 -05:00
Steve Ebersole 89298608b0 HHH-5616 - Switch to Gradle for builds .. em 2010-10-11 14:41:48 -05:00