Commit Graph

686 Commits

Author SHA1 Message Date
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