Commit Graph

7438 Commits

Author SHA1 Message Date
Strong Liu ffb14b28b7 HHH-6368 remove deprecated hibernate annotations 2011-06-28 10:29:16 +02:00
Gail Badner 919cdf7c69 HHH-6372 : Provide a temporary way to initialize HibernateTypeDescriptor.explicitType for "basic" types 2011-06-27 19:59:51 -07:00
Hardy Ferentschik f4cc72b2d3 Revert "HHH-6368 remove deprecated hibernate annotations"
This reverts commit 5781948ab2.

Re-adding the removed annotations since they are still used.
2011-06-27 14:03:39 +02:00
Strong Liu 5781948ab2 HHH-6368 remove deprecated hibernate annotations 2011-06-27 16:17:47 +08:00
Gail Badner 83ba7be3a3 HHH-6364 : Add AttributeBinding.getValuesSpan() and Tuple.valuesSpan() 2011-06-24 14:42:49 -07:00
Gail Badner b174d78358 HHH-6358 : Integrate new metamodel into EntityMetamodel 2011-06-23 19:06:23 -07:00
Gail Badner 196f78c6a4 HHH-6352 : Temporarily change EntityBinding.getAttributeBindingClosureSpan() and getAttributeBindingClosure() to return info for ID only 2011-06-23 18:48:44 -07:00
Gail Badner 85245e5945 HHH-6362 : EntityBindingStateImpl.getOptimisticLockMode() returns annotations-specific value 2011-06-23 16:52:29 -07:00
Gail Badner ceb9c0fef2 HHH-6352 : Add EntityBinding.getAttributeBindingClosureSpan() and getAttributeBindingClosure() 2011-06-22 16:40:28 -07:00
Strong Liu 592921ba5c HHH-6348 POST_COMMIT_DELETE listener does not get executed 2011-06-22 17:45:59 +08:00
Gail Badner 2815409af7 HHH-6346 : Add EntityBinding.entityTuplizerClass(); change getEntityPersisterClass() to return Class<EntityPersister> 2011-06-22 00:21:07 -07:00
Steve Ebersole 159f6205f9 HHH-6340 - Revisit EntityBindingState 2011-06-22 01:05:29 -05:00
Gail Badner 6c9493017a HHH-6343 : Remove JavaClassNameResolver because it is not used 2011-06-21 21:56:52 -07:00
Gail Badner 149771b6d8 HHH-6342 : Add EntityModeEntitySpecifics.getTuplizerClass() 2011-06-21 19:34:06 -07:00
Gail Badner e2ff8ed542 HHH-6341 : Add AttributeBinding.isBasicPropertyAccessor() 2011-06-21 16:06:52 -07:00
Gail Badner 2129f94aa3 HHH-6335 : Change PojoEntitySpecifics to use JavaType for entity and proxy classes 2011-06-20 15:21:05 -07:00
Steve Ebersole 86e98b2432 HHH-6334 - Create JavaType for the metamodel 2011-06-20 15:15:36 -05:00
Steve Ebersole 26a47fdc34 HHH-6333 - Create DeferredInitializationValue 2011-06-20 12:43:14 -05:00
Steve Ebersole 4a4f636caf HHH-6330 - Remove entity mode switching capability 2011-06-19 22:12:18 -05:00
Ocean-Blue afc406a03b Add comments to setDate, setTime, setTimestamp methods to reduce confusion to the Hibernate newbies in future. 2011-06-16 12:36:10 -07:00
Hardy Ferentschik 1e88107f3e HHH-6173 Some initial refactorings to start processing @Embedded and @Embeddable 2011-06-16 18:40:26 +02:00
Hardy Ferentschik 7700719306 HHH-6173 Removing unused import 2011-06-15 22:35:50 +02:00
Hardy Ferentschik 5c012f63e5 HHH-6287 Adding description to junit assertions 2011-06-15 12:01:56 +02:00
Strong Liu 0eb87b73b9 HHH-6287 bind @Table.uniqueConstraints 2011-06-15 11:42:26 +02:00
Strong Liu ddc1bccee6 add log 2011-06-15 17:21:16 +08:00
Strong Liu 80916b95fe add logging of initator 2011-06-15 16:44:53 +08:00
Gail Badner 8aeaf28408 HHH-6321 : Add org.hibernate.metamodel.binding.CascadeType.toCascadeStyle() 2011-06-14 17:00:43 -07:00
Gail Badner 7e2e1e3ea7 HHH-6319 : Add getter for attribute node name 2011-06-14 15:36:42 -07:00
Gail Badner 496b508c73 HHH-6320 : Add boolean values and getters to EntityIdentifier indicating if an ID is embedded or "identifier mapper" 2011-06-14 15:20:44 -07:00
Gail Badner f12aad3493 HHH-6318 : Change EntityIdentifier.attributeBinding to be type SimpleAttributeBinding 2011-06-14 13:54:24 -07:00
Gail Badner 4ef305ae2c HHH-6318 : Change EntityIdentifier.attributeBinding to be type KeyValueBinding 2011-06-14 12:51:51 -07:00
Hardy Ferentschik b6f9d9d5d7 HHH-6300 Adding support for @BatchSize and @RowId 2011-06-14 16:17:23 +02:00
Hardy Ferentschik 24bd525693 HHH-6300 Adding support for custom sql via @SqlInsert, @SqlUpdate, @SqlDelete and @SqlDeleteAll 2011-06-14 12:49:15 +02:00
Strong Liu a2982ea939 format 2011-06-14 16:57:45 +08:00
Strong Liu 85ce03969d format 2011-06-14 15:57:43 +08:00
Hardy Ferentschik 002779dffb HHH-6300 Adding support for @Synchronize annotation 2011-06-13 16:06:33 +02:00
Hardy Ferentschik cbd92d05bc HHH-6300 Creating initial version of EntityBindingStateImpl. Removing un-used setters in EntityBinding 2011-06-13 14:28:50 +02:00
Strong Liu 92ad3eed80 HHH-6297 remove legacy cache api 2011-06-09 12:18:59 +08:00
andy.miller dd46fe071a HHH-6258: Change the un-released batch message from WARN to DEBUG for performance improvement. 2011-06-08 12:16:03 -05:00
andy.miller bf066b8121 HHH-6258: Performance enhancement to toFragmentString method to only append to the StringBuffer, and not do inserts into the beginning, which causes additional buffer allocations and copies that are unnecessary. Also, changed the StringBuffer to a StringBuilder. 2011-06-08 12:16:03 -05:00
andy.miller 02a866c702 HHH-6258: Fixed a problem with a conflict with Gale's change to this class. I had to add the two local variables that she didn't have that I added. 2011-06-08 12:16:03 -05:00
Andrig Miller 09a9b65201 HHH-6258: Fixed typo when getting the JdbcServices.class from the serviceRegistry. I forgot to build the source before committing. 2011-06-08 12:16:02 -05:00
Andrig Miller e01bb8a911 HHH-6258: Wrap trace and debug log statements to lessen the load on JBossLogManagerLogger.doLog. This improved throughput quite a bit. 2011-06-08 12:16:02 -05:00
Andrig Miller a917bb4b40 HHH-6258: Cached JdbcServices and Dialect in local variables to lessen load on AbtractServiceRegistryImpl.localServiceBinding(java.lang.Class). This improved throughput. 2011-06-08 12:16:02 -05:00
Andrig Miller abe51d5b35 HHH-6258: Cached service registry classes in local variables to remove load from AbstractServiceRegistryImpl.locateServiceBinding(java.lang.Class). This resulted in a decent improvement in throughput. 2011-06-08 12:16:02 -05:00
Steve Ebersole 8593cf91cd HHH-6206 - Explicitly add antlr jar to transitive dependencies 2011-06-08 11:12:56 -05:00
Steve Ebersole 98e7f9537f HHH-6229 - Clean up MappingDefaults 2011-06-08 10:53:18 -05:00
Gail Badner 6d52bcff6b HHH-6217 : Create EntityBindingState and implement for HBM XML 2011-06-08 02:23:58 -07:00
Gail Badner f89afec721 Merge branch 'HHH-6110' 2011-06-07 10:46:43 -07:00
Strong Liu 2077b5f43c HHH-2176 DB2 setMaxResults problem in Hibernate 3.1.3 2011-06-07 17:54:18 +08:00
Gail Badner 814b514933 HHH-6110 : Integrate new metamodel into persisters 2011-06-07 02:41:49 -07:00
Gail Badner ba44ae26cb HHH-6110 : Integrate new metamodel into persisters 2011-06-06 18:13:46 -07:00
Strong Liu 9c90c25fea HHH-6294 use enum instead of constant 2011-06-07 00:17:18 +08:00
Strong Liu 72aedc8682 HHH-6294 use enum instead of constant 2011-06-07 00:16:33 +08:00
Strong Liu 1320208baf HHH-4943 ilike support is incomplete 2011-06-06 16:42:13 +08:00
Strong Liu c6db5cfdcb HHH-4943 2011-06-06 14:19:05 +08:00
Strong Liu 4c98afbbad HHH-6293 avoid create unnesserary Integer object 2011-06-06 11:01:01 +08:00
Steve Ebersole baeb6dc400 HHH-6291 - Basic MetadataImpl redesign 2011-06-05 18:51:04 -05:00
Steve Ebersole b8b003efa3 HHH-6291 - Basic MetadataImpl redesign 2011-06-05 18:51:03 -05:00
Strong Liu 252eee4dd2 HHH-6292 avoid Boolean instance creation 2011-06-04 12:36:11 +08:00
gbadner 198aa1c242 Merge pull request #99 from gbadner/HHH-6290-root
HHH-6290 : Add EntityBinding.isRoot()
2011-06-03 15:14:58 -07:00
Steve Ebersole e68f4fb085 HHH-6281 - Basic HbmBinder cleanup 2011-06-03 16:28:09 -05:00
Gail Badner 834fa2140f HHH-6290 : Add EntityBinding.isRoot() 2011-06-03 10:49:15 -07:00
Strong Liu 7beb1f2601 HHH-6246 ConfiguredClass should honor default access from persistence-metadata-unit 2011-06-02 12:48:38 +08:00
Steve Ebersole e0d90cee49 HHH-6279 - Bind database object definitions 2011-06-01 16:42:23 -05:00
Hardy Ferentschik 1776207c8b HHH-6171 adding comment 2011-06-01 14:53:10 +02:00
Hardy Ferentschik 6fe3072976 HHH-6271 Making sure orm.xml version 1 is supported 2011-06-01 13:30:54 +02:00
Strong Liu 7a18764893 HHH-6273 - Bind identifier-generator definitions (was committed by Steve) 2011-06-01 16:31:01 +08:00
Strong Liu 32a320d078 HHH-6261 2011-05-31 17:39:11 +08:00
Hardy Ferentschik ec0e823b64 HHH-6261 formatting 2011-05-31 11:16:32 +02:00
Strong Liu 19f629b461 HHH-6261 Bind @GeneratedValue 2011-05-31 10:46:17 +02:00
Strong Liu 3ff1b440c2 HHH-6261 2011-05-31 10:46:17 +02:00
Strong Liu 625d781af1 HHH-4489 need method "refresh(String entityName, Object obj)" 2011-05-31 14:53:17 +08:00
Strong Liu eb5bc1609d HHH-4489 need method "refresh(String entityName, Object obj)" 2011-05-31 14:53:16 +08:00
Hardy Ferentschik debd342e48 HHH-6263 Minor coding changes and removing unclear comment 2011-05-30 11:41:25 +02:00
Gail Badner 151d9ce316 HHH-6232 : Minor correction adding discriminator value to DiscriminatorBindingState 2011-05-30 10:53:12 +02:00
Gail Badner 5df5883e31 HHH-6232 : Add discriminator value to DiscriminatorBindingState 2011-05-30 10:53:12 +02:00
Gail Badner 792c85a053 HHH-6274 : Logging format error causes many test failures 2011-05-27 15:43:06 -07:00
gbadner b11dafbc26 Merge pull request #92 from gbadner/HHH-6267-metadata-to-svc-initiators
HHH-6267 : Plumb MetadataImplementor into service initiators registered i
2011-05-27 15:00:47 -07:00
Steve Ebersole 66347adca6 HHH-6272 - More logging fix ups 2011-05-27 13:00:33 -05:00
Gail Badner bd8e7e37f0 HHH-6267 : Minor fixes for Plumb MetadataImplementor into service initiators 2011-05-26 16:10:22 -07:00
Gail Badner 6b3d428366 HHH-6267 : Minor fixes for Plumb MetadataImplementor into service initiators 2011-05-26 15:35:57 -07:00
Gail Badner 8a0eeedec8 HHH-6267 : Plumb MetadataImplementor into service initiators registered in SessionFactoryServiceRegistry 2011-05-26 15:35:57 -07:00
Steve Ebersole d99f2ad2da HHH-6266 - Bind filter definitions 2011-05-26 15:58:53 -05:00
Steve Ebersole fd25e7704b HHH-6264 - Bind typedef information 2011-05-26 15:26:40 -05:00
Hardy Ferentschik 227141e643 HHH-6263 Binding @Proxy. Adding some tests 2011-05-26 18:56:47 +02:00
Hardy Ferentschik bd900d9bb1 HHH-6263 Refactoring HibernateXmlBinder and HibernateMappingBinder. Removing the former and renaming the latter to HbmBinder 2011-05-26 14:10:10 +02:00
Gail Badner 86ddbc09d9 HHH-6110 : Integrate new metamodel into persisters 2011-05-25 23:01:31 -07:00
Gail Badner 6a3d4dc4ca HHH-6251 : Fixes/improvements to CollectionEement-related classes 2011-05-25 12:08:06 -07:00
Hardy Ferentschik e61896454b HHH-6172 Parsing cascade type in AssociationAttribute 2011-05-25 17:21:33 +02:00
Hardy Ferentschik 2570685399 HHH-6172 Introducing CascadeType enum as a replacement for the string 'cascade' 2011-05-25 17:21:33 +02:00
Sanne Grinovero 1d8c06b321 HHH-6250 - Some classes still using SLF4J 2011-05-25 11:58:35 +02:00
Hardy Ferentschik 0b7514d100 HHH-6132 Formatting 2011-05-25 11:33:17 +02:00
Strong Liu 41e81cbc67 HHH-2225 NPE when eager fetching joined component with native SQL query 2011-05-25 16:35:58 +08:00
Gail Badner 6d5ed5fc5e HHH-6251 : Create CollectionEement subclasses 2011-05-24 13:45:25 -07:00
JPAV 9b48cd993e HHH-6132: Removed an extraneous Index parameter from the various JandexHelper.getValue methods, and modified all references to those methods accordingly 2011-05-24 13:06:07 -05:00
JPAV 7258cb98f4 HHH-6132: Created binders for several global configurations and updated metadata appropriately. 2011-05-24 11:20:48 -05:00
Hardy Ferentschik 3960b0d8ea HHH-6172 Extracting initial attributes for ManyToOne 2011-05-24 12:33:41 +02:00
Hardy Ferentschik 49e75c83ce HHH-6172 Creating class hierarchy - MappedAttribute -> SimpleAttribute -> AssociationAttribute 2011-05-24 12:33:40 +02:00
Strong Liu 7a33446f54 HHH-6248 Ominous-sounding WARN message from SessionFactoryObjectFactory 2011-05-24 17:28:51 +08:00
Strong Liu b1b9eb9864 HHH-6243 JBPAPP-3312 org.hibernate.test.legacy.CustomSQLTest fails 2011-05-23 12:44:58 +08:00
Strong Liu 3b8678864a HHH-6242 no Types.BINARY type mapping in PostgresqlDialect 2011-05-23 12:09:50 +08:00
Strong Liu c1415b4b8f HHH-6113 re-fact and more tests 2011-05-22 20:45:20 +08:00
Strong Liu c62e5fccc8 HHH-6113 re-fact and more tests 2011-05-22 20:45:19 +08:00
Strong Liu 2abbe4d841 HHH-6113 change to a better class name 2011-05-22 20:45:19 +08:00
Strong Liu cb63f03437 HHH-6113 test and license header 2011-05-22 20:45:19 +08:00
Strong Liu b30024ee9d HHH-6113 mock global configurations to annotation 2011-05-22 20:45:19 +08:00
Steve Ebersole 52b2930b47 HHH-6240 - Add access to configuration options targetting metamodel building 2011-05-20 12:22:33 -05:00
Steve Ebersole 65c2c831ca HHH-6239 - Add service for access to configuration options/settings map 2011-05-20 10:40:54 -05:00
Hardy Ferentschik 335eb1c231 HHH-6172 Adding annotation placeholders for annotation based state impls 2011-05-20 12:49:11 +02:00
Steve Ebersole 5385cc5cc0 HHH-6237 - Remove Service proxy code 2011-05-19 17:29:21 -05:00
Scott Marlow dcc3546378 change some connection related log messages from INFO to DEBUG 2011-05-19 13:07:19 -04:00
Hardy Ferentschik 49cf328bb8 HHH-6172 Cleaning up AbstractBasicBindingTests 2011-05-19 17:49:16 +02:00
Hardy Ferentschik 14efea6e21 HHH-6171 Moving MappingDefaults and MappingHelper into sub-packages of hbm binding 2011-05-19 15:32:00 +02:00
Hardy Ferentschik 6aee9365ee HHH-6171 Binding OptimisticLock annotation 2011-05-19 15:01:55 +02:00
Hardy Ferentschik fc456e3756 HHH-6171 Implementing lazy, optional, property generation, insertable and updatable ofSimpleAttributeBindingState 2011-05-18 17:10:26 +02:00
Hardy Ferentschik d6b36fca5a HHH-6171 Parsing o.h.a.Type and o.h.a.Parameter 2011-05-18 14:52:36 +02:00
Hardy Ferentschik 2b694d7a86 HHH-6171 Switching to Map<String,String> as type parameters in HibernateTypeDescriptor (needs maybe to change to Map<String, Object>). Properties is the wrong class to use.
Also fixed several variable and method typos, eg updatable instead of updateable. And we are talking about a discriminator not descriminator.
2011-05-18 14:21:23 +02:00
Hardy Ferentschik bf4d8ad290 HHH-6171 Some more name changes. Also adding setter/getter for TypeDef to MetadataImpl 2011-05-17 17:20:51 +02:00
Hardy Ferentschik c7293c2170 HHH-6171 Restructering packages, especially a new package for the entity binders. This is consistent w/ the glboal package which contains the binders for entity unrelated binding 2011-05-17 15:13:46 +02:00
Hardy Ferentschik fc94dd07eb HHH-6230 Splitting org.hibernate.metamodel.state into org.hibernate.metamodel.binding.state and org.hibernate.metamodel.relational.state.
Not 100% if this is the best structure, but seems in all cases better then org.hibernate.metamodel.state
2011-05-17 12:33:39 +02:00
Hardy Ferentschik db4e0b0c52 HHH-6230 Formatting and typo fix in method name 2011-05-17 12:25:33 +02:00
Hardy Ferentschik 2fd2bc3e8d HHH-6230 Formatting 2011-05-17 12:20:07 +02:00
Hardy Ferentschik fc942278cc HHH-6230 Fixing wrong usage of equals. A string was compared against an enum 2011-05-17 12:19:44 +02:00
Gail Badner 755e6fcd25 HHH-6230 : Rework attribute binding using attribute states 2011-05-17 12:05:48 +02:00
Hardy Ferentschik cb7eb17caa HHH-6202 Binding discriminator column.
Using  org.hibernate.metamodel.binding.InheritanceType in ConfiguredClass which has a NO_INHERITANCE enum value.
Adding some initial tests
2011-05-16 21:17:37 +02:00
Hardy Ferentschik 85b0725c28 HHH-6202 Cleanup of existing classes. Replacing TODO with AssertionFailure 2011-05-16 21:15:34 +02:00
Hardy Ferentschik 5d766b237b HHH-6202 Adding new helper method for getting a single annotation instance from a map 2011-05-16 17:45:49 +02:00
Hardy Ferentschik ac0cf3afd8 HHH-6202 Deleting deprecated annotations. Core 4 seems to be a good point to get rid of them. 2011-05-16 17:34:28 +02:00
Hardy Ferentschik 3bef552483 HHH-6202 Starting to process the discriminator column 2011-05-16 10:37:20 +02:00
Hardy Ferentschik ab1dca7e86 HHH-6202 Adding InheritanceType enum 2011-05-16 10:37:19 +02:00
Strong Liu f70f8d7101 HHH-6133 update global configuration override strategy to make it consisit with previouse version 2011-05-13 21:16:15 +08:00
Strong Liu 4e0f6a1578 HHH-6133 new added list was not put into map in GlobalAnnotations 2011-05-13 12:54:33 +08:00
Strong Liu 48d93c88bc HHH-5434 org.hibernate.test.filter.DynamicFilterTest testSqlSyntaxOfFiltersWithUnions fails with Ingres dialect 2011-05-12 22:42:33 +08:00
Hardy Ferentschik 0278966b2e Removing obsolete DomHelper. Removing dom4j methods from MappingHelper. Removing getClassValue, because ClassLoaderService should be used 2011-05-12 12:04:45 +02:00
Hardy Ferentschik 095e858f77 HHH-6133 Formatting and applying missing licence header 2011-05-12 11:07:10 +02:00
Strong Liu 0e20d34cd8 HHH-6133 add an additional AnnotationValue for each mocked AnnotationInstance to mark it is from xml 2011-05-12 10:00:04 +02:00
Strong Liu 7e999e421d HHH-6133 mock attribute annotations wrt access type, was mock one attribute annotations on both property and field 2011-05-12 10:00:04 +02:00
Strong Liu 635ee5a0ec HHH-6133 Enhance annotation based Jandex index with configuration extracted from orm.xml 2011-05-12 10:00:03 +02:00
Strong Liu 31d0ca2f0f HHH-6133 Enhance annotation based Jandex index with configuration extracted from orm.xml 2011-05-12 10:00:03 +02:00
Strong Liu fcf439d4d1 HHH-6133 Enhance annotation based Jandex index with configuration extracted from orm.xml 2011-05-12 10:00:03 +02:00
Hardy Ferentschik 850cfda6c3 HHH-6207 Implementing binding of @Cacheable. Changing implementation of Caching to use AccessType enum instead of string 2011-05-11 15:12:06 +02:00
Hardy Ferentschik 996d567731 HHH-6214 Converting RegionFactory to a Service 2011-05-10 15:48:14 +02:00
Gail Badner e98b3ac727 HHH-6213 : Move domain and relational state interfaces into org.hibernate.metamodel.state 2011-05-10 00:27:15 -07:00
Hardy Ferentschik 99647833c4 HHH-6207 Binfing o.h.a.Cache 2011-05-08 21:33:37 +02:00
Hardy Ferentschik e5da09cee0 HHH-6201 Introducing a Nonentity, refactoring ConfiguredClass to properly support binding of mapped superclasses and non entities 2011-05-08 01:04:16 +02:00
Hardy Ferentschik 7b121038a1 HHH-6201 javadoc 2011-05-08 01:02:29 +02:00
Hardy Ferentschik b14a514d73 HHH-6201 Handling of o.h.a.Entity and o.h.a.Immutable 2011-05-08 01:02:06 +02:00
Hardy Ferentschik a4357757c1 HHH-6201 typo 2011-05-08 01:01:12 +02:00
Hardy Ferentschik 6c1d61c7b8 HHH-6201 Import cleanup 2011-05-08 01:00:55 +02:00
Hardy Ferentschik 101aa09e36 HHH-6174 Adding support for o.h.a.Index 2011-05-05 15:44:05 +02:00
Hardy Ferentschik 328d72e1cd HHH-6174 Making the usage of binder classes more consistent. AnnotationBinder is now differentiating now between pro and post entity binding 2011-05-05 15:43:42 +02:00
Hardy Ferentschik 03d975fdb7 HHH-6174 Implementing toString, equals and hashCode 2011-05-05 15:40:56 +02:00
Hardy Ferentschik 3028ad2f34 HHH-6174 Formatting 2011-05-05 15:40:24 +02:00
Hardy Ferentschik f3cf1d2ae5 HHH-6174 Allowing of creation of ObjectName from single string 2011-05-05 15:39:39 +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 a806626a27 HHH-6199 - Split org.hibernate.exception package into api/spi/internal 2011-05-04 18:33:12 -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 7a5f0b4836 HHH-6194 - Better jaxb task to leverage Gradle up-to-date checking 2011-05-04 15:49:57 -05:00
Steve Ebersole 3090fe9c1d HHH-6193 - Split org.hibernate.context package into api/spi/internal 2011-05-04 15:25:39 -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 b9d002778b HHH-6158 - Deprecate SessionFactoryStub 2011-05-04 11:11:19 -05:00
Steve Ebersole 6315cde48d HHH-6158 - Deprecate SessionFactoryStub 2011-05-04 11:06:58 -05:00
Steve Ebersole 8b709f7461 HHH-6147 - Add support for multi-tenancy to StatelessSession building 2011-05-04 11:02:01 -05:00
Hardy Ferentschik e2db59de70 HHH-6189 Binding @Where on entiry level 2011-05-04 15:15:29 +02:00
Hardy Ferentschik e8bd7dfd66 HHH-6171 Extracting state classes from EntityBinder and enabled creation of versioned attribute 2011-05-04 14:25:08 +02:00
JustinKSU 64fe46444b HHH-6169 - Only call getVersion methods if debugs is enabled 2011-05-04 12:10:57 +02:00
Gail Badner f0c2488d91 HHH-2049 : LEFT OUTER JOIN subcriteria filters children (Mattias Jiderhamn) 2011-05-03 21:35:12 -07:00
Steve Ebersole a6b8d62209 HHH-6094 - Test failures in hibernate-infinispan dealing with query caching 2011-05-03 14:33:51 -05:00
Hardy Ferentschik 658a06e5c3 HHH-6171 Mapping simple attribute (non id) 2011-05-03 18:07:14 +02:00
Hardy Ferentschik 46f5022b60 HHH-6171 Javadoc changes 2011-05-03 16:54:59 +02:00
Hardy Ferentschik d48010643b HHH-6171 Collecting information for relational state of attributes 2011-05-03 16:54:58 +02:00
Hardy Ferentschik 95802a0e93 HHH-6174 Creating schema and (primary) table 2011-05-03 16:54:49 +02:00
Steve Ebersole e7c26b28a6 HHH-6183 - Deprecate Configuration 2011-05-03 07:55:19 -05:00
Hardy Ferentschik e4a6c96b55 HHH-2578 Removing unused imports to remove compilation errors 2011-05-03 10:31:44 +02:00
Steve Ebersole 0537740ffa HHH-2578 - redesign SessionFactory building 2011-05-02 12:09:34 -05:00
Steve Ebersole cfb4f1ded8 HHH-2578 - redesign SessionFactory building 2011-05-02 11:52:17 -05:00
Gail Badner 99cec1404f HHH-6168 : Misc fixes to many-to-one AttributeBinding 2011-05-01 19:42:18 -07:00
Gail Badner b667767f85 HHH-6168 : test for many-to-one AttributeBinding and misc corrections 2011-05-01 11:59:22 -07:00
Hardy Ferentschik 1ae1d4b699 HHH-6174 extracting table name from hierarchy 2011-04-29 20:47:54 +02:00
Steve Ebersole 627b4ea6a1 HHH-6164 - Prefer regsitering JTA syncs via TransactionManager 2011-04-29 09:54:51 -05:00
Gail Badner 997dd00880 HHH-6168 : Create an AttributeBinding for many-to-one and implement DomainState and RelationalState for HBM XML 2011-04-28 17:33:17 -07:00
Hardy Ferentschik 000b647e43 HHH-6161 Working w/ domain and relational state objects 2011-04-28 18:09:34 +02:00
Hardy Ferentschik d953449b3a HHH-6161 Taking care of added package names via MetadataSources.addPackage 2011-04-27 15:42:04 +02:00
Hardy Ferentschik 805191524d HHH-6109 Adding license headers 2011-04-27 15:42:04 +02:00
Hardy Ferentschik b398e8c932 HHH-6161 Configure annotation based configuration via MetadataSources
* Removing obsolete XmlHelper
* Updating tests
* Fixing bug in JaxbHelper related to orm parsing
2011-04-26 18:37:02 +02:00
Hardy Ferentschik dd019a1f43 HHH-6148 Adding classmate as a replacement for the commons annotations generic resolution code 2011-04-26 11:35:18 +02:00
Hardy Ferentschik 8f01c1c200 HHH-6114 Working w/ the sate objects 2011-04-26 11:34:13 +02:00
Steve Ebersole 88172d1fb0 HHH-6117 - Figure out best way to handle SessionFactoryObjectFactory dealing with JNDI 2011-04-25 21:29:32 -05:00
JPAV d631671761 HHH-6080: Created XSDs from existing mapping and configuration DTDs 2011-04-25 16:40:43 -05:00
Steve Ebersole 1a40b0232f HHH-6117 - Figure out best way to handle SessionFactoryObjectFactory dealing with JNDI 2011-04-24 12:03:00 -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 85094bddbf HHH-6144 - Introduce ServiceRegistryBuilder 2011-04-23 16:12:37 -05:00
Steve Ebersole f07b88c75f HHH-6150 - JBoss AS7 integration work 2011-04-22 17:42:07 -05:00
Steve Ebersole 16e86687c9 HHH-6150 - JBoss AS7 integration work 2011-04-22 17:42:07 -05:00
JPAV 41e7b96388 Revert "HHH-6080: Created XSDs from existing mapping and configuration DTDs"
This reverts commit 60d2c5a7bb.
2011-04-21 16:59:25 -05:00
JPAV 60d2c5a7bb HHH-6080: Created XSDs from existing mapping and configuration DTDs 2011-04-21 10:47:01 -05:00
Steve Ebersole 20064fa743 HHH-6146 - remove SF.setTenantIdentifier, add to withOptions selections 2011-04-20 16:33:31 -05:00
Steve Ebersole 53e0439880 HHH-6144 - Introduce ServiceRegistryBuilder 2011-04-20 15:58:10 -05:00
Gail Badner bd82732dee HH-6131 : Updates for "XML" prefix for jaxb-generated classes 2011-04-19 14:29:03 -07:00
Gail Badner 0362f64ba9 Merge branch 'HHH-6131' of https://github.com/hferentschik/hibernate-core into HHH-6131-jaxb-prefix 2011-04-19 13:18:51 -07:00
Steve Ebersole d2f7ee8ae5 HHH-6142 - Integrate JAXB-based binding code and MetadataSources 2011-04-19 10:32:53 -05:00
Steve Ebersole 363608a604 HHH-6141 - Develop scheme for ordered processing of MetadataSources sources 2011-04-19 10:32:53 -05:00
Lukasz Antoniak 33074dc2dc HHH-6069 - Tests moved 2011-04-19 17:27:08 +02:00
Lukasz Antoniak d7cc102b00 HHH-6069 - Escape entity fields name 2011-04-19 17:27:07 +02:00
Steve Ebersole 0d71d35697 HHH-6138 - Implement addition of annotated classes and packages in MetadataSources 2011-04-19 09:04:55 -05:00
Gail Badner 1dbb1237e3 HHH-6134 : merge with master 2011-04-18 23:38:14 -07:00
Gail Badner eb414295aa HHH-6134 : Migrate processing hbm.xml files to use Jaxb-generated classes 2011-04-18 15:32:33 -07:00
Hardy Ferentschik d6e9138aec HHH-6131 Prefixing JAXB classes with 'XML' 2011-04-18 14:19:40 +02:00
Steve Ebersole c88fcff77a HHH-6129 - org.hibernate.LobHelper#createNClob can now return NClob 2011-04-17 14:16:21 -05:00
Steve Ebersole 939fba6b72 HHH-6129 - org.hibernate.LobHelper#createNClob can now return NClob 2011-04-17 09:34:43 -05:00
Steve Ebersole 303691c80e HHH-5914 - Remove deprecated Hibernate type constants from org.hibernate.Hibernate and manuals 2011-04-17 09:24:18 -05:00
Hardy Ferentschik da028ee137 HHH-6114 Starting to bind id attributes 2011-04-15 23:51:08 +02:00
Hardy Ferentschik dd9ccddc6e HHH-6114 Creating placeholder for QueryBinder 2011-04-15 23:50:42 +02:00
Hardy Ferentschik 82ae20598b HHH-6114 Implementing fetch profile parsing and binding as example for other global configurations 2011-04-15 15:04:46 +02:00
Hardy Ferentschik e1ba813122 HHH-6114 Restructuring packages to accommodate for all required annotation binding code 2011-04-15 15:03:59 +02:00
Steve Ebersole 74c6773c44 Merge branch 'master' of github.com:hibernate/hibernate-core 2011-04-14 15:07:04 -05:00
Steve Ebersole d8fd8cd03b HHH-468 - MysqlDialect incorrectly maps java.lang.Boolean to SQL BIT 2011-04-14 15:05:05 -05:00
Hardy Ferentschik 5273a75094 HHH-6114 Discovering mapped properties 2011-04-14 17:41:26 +02:00
Hardy Ferentschik 78ad67cff6 HHH-6114 Determining inheritance strategy and starting to process mapped properties 2011-04-14 17:41:26 +02:00
Steve Ebersole 0023dc695d HHH-6093 - Account for tenant identifier on QueryKey 2011-04-13 23:16:06 -05:00
Steve Ebersole 8edc1f1880 HHH-6118 - Make Metadata more user-friendly API 2011-04-13 18:55:54 -05:00
Steve Ebersole 0f336414a2 HHH-6118 - Make Metadata more user-friendly API 2011-04-13 18:28:42 -05:00
Steve Ebersole 775e022331 HHH-6118 - Make Metadata more user-friendly API 2011-04-13 14:47:18 -05:00
Hardy Ferentschik be7b44c2f7 HHH-6114 Determining the default access type of a class hierarchy 2011-04-12 18:35:25 +02:00
Hardy Ferentschik 4d24c16b49 HHH-6114 Using the ClassLoaderService available via the service registry in Metadata for class loading 2011-04-12 18:35:25 +02:00
Steve Ebersole ad17f89c4c HHH-6097 - Review log levels, especially related to i18n messages 2011-04-12 09:07:31 -05:00
Steve Ebersole 62da5aa5bc HHH-6097 - Review log levels, especially related to i18n messages 2011-04-11 21:59:50 -05:00
Steve Ebersole 55ff0d2f07 HHH-6107 - Metamodel dependence on ServiceRegistry 2011-04-11 18:10:47 -05:00
Steve Ebersole 9d93e1188e HHH-6115 - jaxb generation should follow directory pattern 2011-04-11 17:43:43 -05:00
Gail Badner 653bbfa46d HHH-6092 : Merge with master 2011-04-11 14:21:53 -07:00
Gail Badner 412fa9406f HHH-6092 : Domain and relational state for SimpleAttributeBinding 2011-04-11 14:21:52 -07:00
Gail Badner 014702fa23 HHH-6092 : Moved HBM XML processing logic into "DomainState" objects used to initialize binding 2011-04-11 14:20:59 -07:00
Gail Badner 2cd428759a HHH-5672 : Binding from hbm.xml mapping 2011-04-11 11:44:13 -07:00
Hardy Ferentschik 26097229e6 HHH-5672 annotation binding beginnings. Trying to recreate the simple hbm tests for annotations 2011-04-11 11:42:37 -07:00
Hardy Ferentschik 0d29c346ec HHH-6111 enabling jaxb model generation for hbm configuration files 2011-04-11 19:11:06 +02:00
Hardy Ferentschik a3ebcd81bc HHH-6080 Converted the Hibernate configuration and mapping dtd files into xsd files 2011-04-11 19:10:32 +02:00
Hardy Ferentschik 297c703449 HHH-6109 Starting the implementation of a replacement for InheritanceState. The determined mapped classes need to be pre-processed
in order to detmerine inheritance features, default access types, etc
2011-04-11 19:10:12 +02:00
Hardy Ferentschik 42502e696b HHH-6109 Starting work for annotation binding against the new metamodel. Enabling JAXB for parsing of orm.xml 2011-04-11 19:09:44 +02:00
Steve Ebersole dfcdab4a33 HHH-6096 - H2Dialect should use CACHED option for temporary table creation 2011-04-08 10:25:02 -05:00
Steve Ebersole 38068e1495 HHH-6101 - Clean up checks for java 1.3 versus 1.4 2011-04-08 10:17:52 -05:00
Steve Ebersole 6504cb6d78 HHH-6098 - Slight naming changes in regards to new logging classes 2011-04-08 09:44:13 -05:00
Strong Liu ef35cd7be3 HHH-6076 - query with setFirstResult throws Exception on derby 2011-04-07 02:03:48 +08:00
Strong Liu de38d784c7 HHH-6076 - query with setFirstResult throws Exception on derby 2011-04-07 02:00:36 +08:00
Steve Ebersole 7b4998d1ce HHH-5244 - Flesh out H2Dialect temp table support 2011-04-06 12:28:00 -05:00
Steve Ebersole 154675d322 HHH-6088 - Move to slf4j-log4j12 for test logging 2011-04-06 12:27:46 -05:00
Steve Ebersole 03c4009391 HHH-6088 - Move to slf4j-log4j12 for test logging 2011-04-06 11:32:57 -05:00
Steve Ebersole 7c4a9dac81 HHH-6073 - Dialects cannot use the Thread Context ClassLoader with AS7, please change to use the 2011-04-06 11:31:14 -05:00
Steve Ebersole aad256c634 HHH-6081 - Finish up Integrator 2011-04-05 16:10:41 -05:00
Steve Ebersole bd5c483b67 HHH-6073 : test fix up 2011-04-05 16:08:59 -05:00
Steve Ebersole 5e8e49d3ae HHH-6073 2011-04-05 10:26:58 -05:00
Scott Marlow a67b6028c1 HHH-6073 Dialects shouldn't use TCCL (revised to leave DerbyDialect alone) 2011-04-04 21:40:25 -04:00
Steve Ebersole 1da2262a4a HHH-5966 - Finish up loose ends for overriding a SqlTypeDescriptor 2011-04-02 18:30:37 -05:00
Steve Ebersole 38e0484b4e HHH-2763 - Allow collection initialization during flush 2011-04-01 14:57:06 -05:00
Steve Ebersole 285da70a25 HHH-2860 - Consolidate Session creation options/parameters 2011-04-01 12:13:25 -05:00
Steve Ebersole b9381f6717 HHH-4362 - @RowId 2011-04-01 08:34:15 -05:00
Steve Ebersole ada64c172a HHH-4362 - @RowId 2011-03-31 20:44:02 -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 ee2dd0ddf5 HHH-5996 - Wire in JdbcServices into SchemaUpdateTask, SchemaExportTask, SchemaValidatorTask, HibernateService.dropSchema(), HibernateService.createSchema() 2011-03-30 16:58:15 -05:00
Steve Ebersole 3e22ef111c HHH-6061 - ValidatoryFactory type checking 2011-03-30 13:28:01 -05:00
David Mansfield 90fdca9053 HHH-3646 - throw a better exception when criteria is placed directly on component
In the CriteriaQueryTranslator, we process the path given by
a SubCriteria object looking for the entity name for the property. If
the SubCriteria was mistakenly created on a component type, we will exit
the loop using the owning entity, and will eventually end up failing
(throwing an exception) trying to lookup up the restricted property
against the entity, instead of against the component. Fix this by
throwing a more informative exception, and modify the documentation to
be explicit about how to do this properly.
2011-03-30 12:23:20 -05:00
David Mansfield 69b09dfcd2 HHH-3646 - don't append spurious comma in SQL select fragment
In the JoinWalker, we assemble an SQL select list fragment
from a list of Joinables. In the existing code, we see it's
possible for the selectFragment generated by a joinable to be empty.
However if the LAST joinable generates an empty fragment, we put
a spurious comma into the fragment. Fix this by only prepending a
comma when necessary.
2011-03-30 12:23:20 -05:00
David Mansfield 9f311a4698 HHH-3646 - implement Criteria API querying of collection-of-component and collection-of-scalar
The general approach is:

* create an interface called the CriteriaInfoProvider which abstracts
  the operations that are different for the different types of Criteria
  targets.
* change the getPathEntityName method to be a factory method for
  creating the proper implementation of the interface
* change the rest of CriteriaQueryTranslator to use the interface
  instead of using the previous entity-only implementation
* implementations of the interface exist for
  Entity: this implements the same code as currently exists
  ComponentCollection: for collection-of-component
  ScalarCollection: for collection-of-value
  Component: for components
* update the logic in CriteriaJoinWalker which has to be very careful
  about how it works since the walker walks certain property paths twice.
2011-03-30 12:23:20 -05:00
David Mansfield 4ddaaa1deb HHH-3646 - make SessionFactoryHelper::getCollectionPropertyMapping public - it will be used later 2011-03-30 12:23:20 -05:00
David Mansfield b8230bd07d HHH-3646 - implement a test case for query collection-of-component 2011-03-30 12:23:20 -05:00
David Mansfield 64b73d6301 HHH-3646 - implement a test case for query collection-of-value 2011-03-30 12:23:20 -05:00
Steve Ebersole d104f28a59 HHH-5348 - support for TypedQuery jpaql/hql "scalar" queries 2011-03-30 11:37:12 -05:00
David Mansfield 05f9bdcbb0 clear stats before running to ensure accurate test results 2011-03-29 15:26:26 -05:00
David Mansfield 7058cb048f remove state after running to avoid failure later 2011-03-29 15:26:26 -05:00
Steve Ebersole ba71fe0132 HHH-6036 - integration documentation generation 2011-03-29 15:14:09 -05:00
Steve Ebersole 339faabb14 HHH-6052 - Make statistics a service 2011-03-28 12:41:30 -05:00
Emmanuel Bernard 2e0f128cbc HHH-5947 Migrate tests to JUnit 4 infra 2011-03-28 15:47:44 +02:00
Manuel Bernhardt 9d697660f6 HHH-5947: 'Fix' that at least improves the error message 2011-03-28 15:13:09 +02:00
Manuel Bernhardt 928354827a HHH-5947: Test case 2011-03-28 15:13:09 +02:00
Steve Ebersole 6a180aaa1f HHH-5913 - Implement set of event listeners as a service 2011-03-28 07:55:45 -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 e3a0525fb1 HHH-5913 - Implement set of event listeners as a service 2011-03-27 14:07:23 -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 c28b553f21 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 478e10ae3a HHH-5562 - Improve how event listeners are handled and introduce a service pattern for integrators to leverage 2011-03-27 10:43:38 -05:00
Steve Ebersole 7cba21dcd9 HHH-5562 - Improve how event listeners are handled and introduce a service pattern for integrators to leverage 2011-03-27 10:39:38 -05:00
Steve Ebersole 47abaf12fa HHH-5697 - Support for multi-tenancy 2011-03-26 10:50:18 -05:00
Steve Ebersole fe8c7183d1 HHH-5697 - Support for multi-tenancy 2011-03-26 09:11:33 -05:00
Steve Ebersole 3ff0288da5 HHH-5697 - Support for multi-tenancy 2011-03-25 18:31:04 -05:00
Steve Ebersole 98877a3b28 HHH-6053 - Create an interface for centralizing the contract that is shared between Session and StatelessSession 2011-03-25 12:44:32 -05:00
Steve Ebersole d4783bdaeb HHH-6051 - Create a SessionFactory scoped ServiceRegistry 2011-03-25 10:54: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 97fb031dba HHH-2680 - Blobs not updated on Session.merge() for detached instances 2011-03-23 17:32:00 -05:00
Steve Ebersole a491f64570 HHH-2680 - Blobs not updated on Session.merge() for detached instances 2011-03-23 17:30:13 -05:00
Steve Ebersole fd08540859 Merge branch 'master' of github.com:hibernate/hibernate-core 2011-03-23 12:07:15 -05:00
Steve Ebersole 1421c3f54d HHH-5284 - Allow Type to dictate the default length/scale/precision 2011-03-23 12:06:19 -05:00
JPAV 9b06108300 Merge branch 'master' of git://github.com/hibernate/hibernate-core 2011-03-22 14:12:21 -05:00
JPAV 7767dfbc06 HHH-5615 Replaced slf4j references with jboss-logging for a few classes that fell through the cracks 2011-03-22 14:11:59 -05:00
Steve Ebersole 671ef3accd HHH-6016 - Migrate version injection plugin to Gradle 2011-03-21 20:33:19 -05:00
Steve Ebersole 4f188a934c HHH-6033 - Migrate stats to api/spi/internal split 2011-03-21 18:37:44 -05:00
Steve Ebersole f93d1412a4 HHH-6033 - Migrate stats to api/spi/internal split 2011-03-21 11:51:49 -05:00
Steve Ebersole 3402ba3a67 HHH-6028 - Remove o.h.classic.Session/Validatable 2011-03-19 08:16:33 -05:00
Steve Ebersole efa325f5db HHH-6027 - Migrate o.h.action pakcage to api/spi/internal split 2011-03-18 17:47:49 -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 82d2ef4b1f HHH-6025 - Remove cglib dependencies 2011-03-18 14:48:17 -05:00
Steve Ebersole 53941b9b72 HHH-4999 - createSQLQuery(query).list() result screw up when when columns in different tables have same name 2011-03-18 08:29:15 -05:00
Steve Ebersole 0a908cb518 HHH-5942 - Migrate to JUnit 4 2011-03-17 18:30:33 -05:00
Steve Ebersole a4562f4da1 HHH-5942 - Migrate to JUnit 4 2011-03-17 18:30:33 -05:00
Steve Ebersole 819f8da9ea HHH-5672 - Develop the binding model (binding between logical and relational) 2011-03-17 15:07:08 -05:00
Emmanuel Bernard 5f3749e590 Add JavaDoc to signal Hibrnate OGM dependencies 2011-03-17 13:46:49 -05:00
Steve Ebersole 718d56e267 HHH-6013 - Consolidate on single JTA impl for testing 2011-03-16 13:38:14 -05:00
Steve Ebersole bcff8948fb HHH-5942 - Migrate to JUnit 4 2011-03-14 13:30:28 -05: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 a6f8767a3c 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
Emmanuel Bernard 74df160f31 HHH-5940 Make @MakKeyJoinColumns work and add test 2011-03-14 18:55:15 +01:00
Gail Badner b30ff014ad HHH-6010 : Remove duplication in code involving Work and ReturningWork 2011-03-11 16:34:47 -08:00
Gail Badner 30ab30c5fa Merge branch 'master' of github.com:hibernate/hibernate-core 2011-03-09 15:12:54 -08:00
Gail Badner 7c5f2ae5db HHH-5949 : Migrate, complete and integrate TransactionFactory as a service 2011-03-09 15:12:30 -08:00
JPAV 97a310d26d HHH-5615 Converted logging framework from slf4j to jboss logging for a few class that fell through the cracks 2011-03-09 14:58:22 -06:00
Gail Badner 4b130da83e HHH-5590 : Don't log and rethrow exception in AbstractFlushingEventListener 2011-03-09 12:14:19 -08:00
Steve Ebersole 8e71b82183 HHH-5949 - Migrate, complete and integrate TransactionFactory as a service 2011-03-09 13:02:24 -06:00
Steve Ebersole 5492f60f06 HHH-5994 - Inserts may be delayed because TransactionCoordinatorImpl.isTransactionInProgress() returns false for non-JTA transactions 2011-03-09 10:01:54 -06:00
Steve Ebersole 6e35a57870 Merge branch 'master' of github.com:hibernate/hibernate-core 2011-03-09 09:52:53 -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
Gail Badner 8870afb074 HHH-5994 : Changed MergeTest.mergeManaged to be FailureExpected 2011-03-09 03:44:03 -08:00
Gail Badner 121c039ecd HHH-5766 : New services are not wired into standalone SchemaExport, SchemaUpdate, and SchemaValidator 2011-03-09 03:24:25 -08:00
Gail Badner 32577a8a79 HHH-5961 : Contextual LOB creator is used when the JDBC driver does not support JDBC4 Connection.createBlob() 2011-03-08 21:14:29 -08:00
Gail Badner ad5f88c2d6 HHH-5961 : Contextual LOB creator is used when the JDBC driver does not support JDBC4 Connection.createBlob() 2011-03-08 21:12:02 -08:00
Gail Badner 724cd1f95d HHH-5995 : Compile error because Statement is undefined in SqlExceptionHelper 2011-03-08 20:37:08 -08:00
JPAV 78136e02ff Merge branch 'master' of git://github.com/hibernate/hibernate-core 2011-03-08 16:31:47 -06:00
JPAV b7b52903b5 Final sync with upstream master 2011-03-08 16:26:03 -06:00
JPAV 346418c4ef Final sync with upstream master 2011-03-08 16:19:57 -06:00
Gail Badner 985b45a920 HHH-5842 : Types.Binary column type should be registered with a length for HSQLDialect 2011-03-08 13:32:23 -08:00
Gail Badner 0b10334e40 HHH-5991 : add Configuration.buildSessionFactory() (without ServiceRegistry arg) 2011-03-07 13:40:06 -08:00
Gail Badner b1036c09a7 HHH-5983 : Actions have non-transient references that cause inconsistencies after deserialization 2011-03-07 09:24:36 -08:00
Steve Ebersole e1c03f28fd HHH-5949 - Migrate, complete and integrate TransactionFactory as a service 2011-03-07 10:48:32 -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 73e85ee761 HHH-5781 - Refactor code in org.hibernate.jdbc to spi/internal and remove obsolete code 2011-03-05 08:06:21 -06:00
Steve Ebersole 21cc90fbf4 HHH-5985 - Remove TransactionHelper in preference of IsolationDelegate 2011-03-04 21:46:06 -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 537ee25e82 Merge branch 'master' of github.com:hibernate/hibernate-core 2011-03-04 11:33:28 -08:00
Gail Badner 747c2dd50d HHH-5982 : Flush checker bugs 2011-03-04 11:18:34 -08:00
Steve Ebersole 0093974180 Merge branch 'master' into HHH-5981 2011-03-04 12:46:15 -06:00
Steve Ebersole 4f4f374dae HHH-5981 - Clarify Session.disconnect() and Session.reconnect() behavior 2011-03-04 12:43:43 -06:00
David M. Carr 818987751e HHH-5977 Add a couple additional unit tests for when you use a @JoinColumn with a secondary table specified. 2011-03-03 23:58:11 +01:00
Steve Ebersole bf186e7a6e HHH-5949 - Migrate, complete and integrate TransactionFactory as a service 2011-03-03 11:53:20 -06:00
Steve Ebersole 08d9fe2117 HHH-5949 - Migrate, complete and integrate TransactionFactory as a service 2011-03-02 16:52:43 -06:00
Gail Badner 7243d04541 HHH-5941 : remove deprecated set(), nullSafeSet(), get(), nullSafeGet() methods and add SessionImplementer argument to UserType.nullSafeGet()/nullSafeSet() 2011-02-25 16:29:09 -08:00
JPAV 98058c2aea removed transitive=false for dependency 2011-02-25 11:41:52 -06:00
JPAV 79080f74d6 sync with master 2011-02-24 16:18:35 -06:00
JPAV 094bfc4def Removed bin folders 2011-02-24 13:25:02 -06:00
Gail Badner 89eabb920d HHH-5957 : Provide a way for dialects to override a SqlTypeDescriptor 2011-02-23 16:03:52 -08:00
JPAV c71e3c4baf Changed copyright notice from JBoss to Hibernate for new logging classes 2011-02-23 16:46:58 -06:00
Steve Ebersole 0c5526f724 HHH-5765 - Replaced ServiceRegistryHolder with ServiceRegistryBuilder 2011-02-23 16:27:31 -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
Steve Ebersole 11d32ba69c HHH-5943 - Make ServiceRegistry mutable 2011-02-23 15:48:02 -06:00
Emmanuel Bernard c48e7df2a4 HHH-5916 Add test for Configuration.setPersisterClassProvider 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
Emmanuel Bernard 4ffba763cf HHH-5916 Use PersisterClassProvider in Binders 2011-02-23 15:33:53 -06:00
Emmanuel Bernard 55eb37ed52 HHH-5916 Expose PersisterClassProvider configuration 2011-02-23 15:33:21 -06:00
Emmanuel Bernard 337fd30256 HHH-5916 Add contract for custom default persister class provider 2011-02-23 15:32:25 -06:00
Steve Ebersole 7a6aab6d02 HHH-5928 - Clean up compilation warnings 2011-02-23 15:32:24 -06:00
Steve Ebersole 4fd609e41e HHH-5904 - Deploy just testing artifacts from hibernate-core, not all tests 2011-02-23 15:30:23 -06:00
Strong Liu 7b9d7f2c25 HHH-5907 change to use autobox instead of create new object everytime to get minor improvement 2011-02-23 15:30:23 -06:00
Emmanuel Bernard 3db29f4ae1 HHH-5906 make AbstractEntityPersister#getPropertyUniqueness public 2011-02-23 15:30:22 -06:00
Steve Ebersole dc59f6bdd1 HHH-5904 - Deploy just testing artifacts from hibernate-core, not all tests 2011-02-23 15:30:22 -06:00
Steve Ebersole b2a7967624 HHH-5903 - Rename ServicesRegistry to ServiceRegistry 2011-02-23 15:30:22 -06:00
Steve Ebersole 2aa2dc0c59 HHH-5897 - Upgrade to Gradle 0.9.2 2011-02-23 15:20:40 -06:00
Gail Badner 4410a941e7 HHH-5704 HHH-5893 : Added tests for empty LOBs 2011-02-23 15:20:39 -06:00
Emmanuel Bernard c6a407332a HHH-5879 Expose getPropertyUniqueness from AbstractEntityPersister 2011-02-23 15:20:39 -06:00
Emmanuel Bernard ab0e173f0e HHH-5879 Open Core ComponentType metamodel
Add a getter to isKey
2011-02-23 15:20:39 -06:00
Emmanuel Bernard de7ce17f35 HHH-5879 Improve AbstractEntityPersister to allow better subclassing in the loader area
Make use of a getLoader() getter which is protected
2011-02-23 15:20:39 -06:00
Emmanuel Bernard f93581115e HHH-5879 Make property protected for use by the OGM persister 2011-02-23 15:20:38 -06:00
Emmanuel Bernard 11c2537526 HHH-5879 expose getPropertyColumnUpdateable getPropertyColumnInsertable 2011-02-23 15:20:38 -06:00
Sanne Grinovero 9d3b6bbb1d HHH-5880 needs to use classifier "tests" not "test" 2011-02-23 15:20:00 -06:00
Hardy Ferentschik d0ef75f1ca HHH-5880 Changed gradle build for for to push testing jar 2011-02-23 15:20:00 -06:00
Gail Badner d1515a2911 HHH-5126 : "in" expression and column-valued-input-parameter 2011-02-23 15:18:43 -06:00
Steve Ebersole 4aa9cbe5b7 HHH-5823 - Poor multithread performance in UpdateTimestampsCache class 2011-02-23 15:17:28 -06:00
Steve Ebersole ddbeaf5625 HHH-5824 - Poor multithread performance in SessionFactoryImpl.getQueryCache method 2011-02-23 15:08:14 -06:00
Steve Ebersole 144dde0080 HHH-5550 - Hibernate.createBlob() fails when used in current_session_context_class=thread mode 2011-02-23 15:05:11 -06:00
Steve Ebersole 7c3aafb7c2 HHH-5853: Problem loading cachable collections defined with a property-ref key with a versioned owner 2011-02-23 15:02:22 -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
JPAV 19bc3ba7fc Modified infinispan module's build to exclude older version of jboss-logging library 2011-02-22 16:28:42 -06:00
Steve Ebersole 39d2d53968 HHH-5765 - Replaced ServiceRegistryHolder with ServiceRegistryBuilder 2011-02-21 23:41:17 -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
Steve Ebersole f53a6c708a HHH-5943 - Make ServiceRegistry mutable 2011-02-21 17:31:40 -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 ea9b756738 HHH-5916 Add test for Configuration.setPersisterClassProvider 2011-02-14 19:20:20 +01:00
Emmanuel Bernard e18799b036 HHH-5916 Use PersisterClassProvider in Binders 2011-02-14 19:20:19 +01:00
Emmanuel Bernard d7c48d779c HHH-5916 Expose PersisterClassProvider configuration 2011-02-14 19:20:19 +01:00
Emmanuel Bernard cd4b49a802 HHH-5916 Add contract for custom default persister class provider 2011-02-14 19:20:19 +01:00
Steve Ebersole f7c3091381 HHH-5928 - Clean up compilation warnings 2011-02-14 09:29:05 -06:00
Steve Ebersole 3ba79384f0 HHH-5904 - Deploy just testing artifacts from hibernate-core, not all tests 2011-02-10 09:45:28 -06:00
Steve Ebersole ac27759f2e Merge branch 'master' of github.com:hibernate/hibernate-core 2011-02-10 09:41:34 -06:00
JPAV c7f09e5130 Attempt to compile twice, once only for annotations, then for everything else 2011-02-09 13:05:57 -06:00
Strong Liu 2a0309c3d0 HHH-5907 change to use autobox instead of create new object everytime to get minor improvement 2011-02-09 20:45:48 +08:00
Emmanuel Bernard ab6860a3e8 HHH-5906 make AbstractEntityPersister#getPropertyUniqueness public 2011-02-09 10:30:35 +01:00
Steve Ebersole ef301deadc HHH-5904 - Deploy just testing artifacts from hibernate-core, not all tests 2011-02-08 14:27:57 -06: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
Steve Ebersole 2f8655e661 HHH-5897 - Upgrade to Gradle 0.9.2 2011-02-08 11:19:50 -06:00
Gail Badner 67c05ff9f5 HHH-5704 HHH-5893 : Added tests for empty LOBs 2011-02-07 13:56:41 -08:00
Emmanuel Bernard 224121aee1 HHH-5879 Expose getPropertyUniqueness from AbstractEntityPersister 2011-02-02 19:05:56 +01:00
Emmanuel Bernard 1ae42c886e HHH-5879 Open Core ComponentType metamodel
Add a getter to isKey
2011-02-02 19:05:56 +01:00
Emmanuel Bernard ffd659ff77 HHH-5879 Improve AbstractEntityPersister to allow better subclassing in the loader area
Make use of a getLoader() getter which is protected
2011-02-02 19:05:56 +01:00
Emmanuel Bernard efabd6fa49 HHH-5879 Make property protected for use by the OGM persister 2011-02-02 19:05:56 +01:00
Emmanuel Bernard 83196824d7 HHH-5879 expose getPropertyColumnUpdateable getPropertyColumnInsertable 2011-02-02 19:05:56 +01:00
Sanne Grinovero 9f992cd6d0 HHH-5880 needs to use classifier "tests" not "test" 2011-01-28 16:36:19 -06:00
Hardy Ferentschik 79e9a77d4e HHH-5880 Changed gradle build for for to push testing jar 2011-01-28 15:49:39 -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 ccd23dbd3d HHH-5823 - Poor multithread performance in UpdateTimestampsCache class 2011-01-21 12:39:25 -06:00
Steve Ebersole 4d6a68c2d0 HHH-5824 - Poor multithread performance in SessionFactoryImpl.getQueryCache method 2011-01-21 12:10:18 -06:00
Steve Ebersole 0c48de6474 HHH-5550 - Hibernate.createBlob() fails when used in current_session_context_class=thread mode 2011-01-21 11:07:59 -06:00
Steve Ebersole e79eae88bc HHH-5853: Problem loading cachable collections defined with a property-ref key with a versioned owner 2011-01-20 15:12:52 -06:00
Hardy Ferentschik cb7cd71fdf HHH-5843 Adding a log.isTraceEnabled call before the actual log call
Not really related to the HQL parsing, but it is also a small logging performance change
2011-01-19 10:05:37 +01:00
Hardy Ferentschik 3bf6625ab1 Merge branch 'HHH-5843' of git://github.com/Sanne/hibernate-core into Sanne-HHH-5843 2011-01-19 09:27:21 +01: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
JPAV 9b7eb48b55 Replaced references to slf4j with references to new jboss.logging.Logger implementations and i18n'd where it was clear how to do so. 2011-01-18 15:35:50 -06:00
JPAV a9b1425f3f Replaced references to slf4j with references to new jboss.logging.Logger implementations and i18n'd where it was clear how to do so. 2011-01-18 15:35:49 -06:00
Gail Badner 126592a55d HHH-5695 : Test case for derived ID with bidirectional one-to-one 2011-01-17 13:50:39 -08:00
Gail Badner a6d19f257b Merge branch 'master' of github.com:hibernate/hibernate-core 2011-01-17 12:26:43 -08:00
Gail Badner 15cc1e7493 HHH-5359 : Derived entity use case fails when the association is bidirectional 2011-01-17 12:25:16 -08:00
Sanne Grinovero adbe3920f1 HHH-5843 - Avoid useless branches during HQL parsing when trace logging is disabled 2011-01-14 16:31:01 +00:00
Emmanuel Bernard 60857d3966 HHH-5280 Fix excessive caching of the owner
An entity can have more than one owner
(eg 2 unidirectional collections pointing to same object)
Make the cache filter by type
2011-01-14 16:03:44 +01:00
Emmanuel Bernard 0600527a6b HHH-5280 Add test failing on multiple owners 2011-01-14 15:52:43 +01:00
Gail Badner 1c158b0bb7 HHH-5826 : SerializationHelper.resolveClass() never tries loader3 2011-01-11 17:21:08 -08:00
Gail Badner ca057ccb4c HHH-5717 : LockOptions not set correctly for queries 2011-01-07 16:35:26 -08:00
Gail Badner 35bf5300c3 Merge branch 'HHH-5811-ByteArrayLob' 2011-01-04 12:59:24 -08:00
Gail Badner a45ada43e2 HHH-5811 : flush causes update on unchanged Byte[] field 2011-01-04 12:58:09 -08:00
Emmanuel Bernard 20f8a8e2d3 HHH-5816 Expose list of modified properties in PostUpdateEvent 2011-01-04 15:45:02 +01:00
Hardy Ferentschik dc91727742 HHH-5800 This test now also derives from HibernateTestCase. This way the test is aligned with the tests added for this issue. 2011-01-03 16:58:46 +01:00
Hardy Ferentschik 95c23b6f50 HHH-5800 Applying Hibernate code formatting style 2011-01-03 16:55:30 +01:00
davidmc24 bde29a52d2 HHH-5800 Fix override handling for associations as per chapter 12 of the JPA 2.0 specification.
Some subelements should merge with Java annotations in some contexts (such as directly within an entity) but not in others (such as in an association mapping).  The methods to handle these elements were enhanced to be aware of these two different modes through the use of a boolean flag.
2011-01-01 18:34:11 -05:00
davidmc24 99c4ecef99 HHH-5800 Add tests for element-collection orm XML support 2011-01-01 14:46:49 -05:00
davidmc24 af1e078f83 HHH-5800 Add tests for many-to-many orm XML support 2011-01-01 14:46:48 -05:00
davidmc24 33d9cbaa76 HHH-5800 Add tests for one-to-one orm XML support 2011-01-01 14:46:48 -05:00
davidmc24 e0b06e8a57 Attempt to match Hibernate code conventions 2011-01-01 14:46:47 -05:00
davidmc24 6de52c2db3 HHH-5800 Add tests for one-to-many orm XML support 2011-01-01 14:46:47 -05:00
davidmc24 9bdd76b0e7 HHH-5800 Add tests and fixes for many-to-one orm XML support 2011-01-01 14:46:47 -05:00
Strong Liu f97d02c61b HHH-5806 mapping static inner class causes hsqldb tests fails 2010-12-23 17:54:37 +08:00
Gail Badner bf6bd51c7e HHH-5325 : Improvements to test suite (fixes HQLDB 2.0 failures) 2010-12-20 17:27:10 -08:00
Gail Badner 262f25311d HHH-5791 : NPE merging transient entity with non-nullable property set to null with delayed insert if check_nullability set to false 2010-12-17 16:10:33 -08:00
Gail Badner 66f8e90e7c Merge branch 'HHH-5778-batch' 2010-12-16 23:59:10 -08:00
Gail Badner 1f0c74cb5e HHH-5778 : Wire in new batch code 2010-12-16 17:36:18 -08:00
Hardy Ferentschik e5da3bf149 HHH-5794 Adding/Updating license headers 2010-12-16 15:33:00 +01:00
David M. Carr 66f7018b9d Remove extraneous comments from test entity. 2010-12-16 15:33:00 +01:00
David M. Carr 48f5b51ca7 More changeset cleanup. 2010-12-16 15:33:00 +01:00
David M. Carr 5cbffa051d Tidy up the changeset a little. 2010-12-16 15:33:00 +01:00
David M. Carr 13f25fe72f Enhance the test to cover additional mapping elements, and implement support for them. 2010-12-16 15:32:59 +01:00
David M. Carr 363aa25c55 Add support for map-key-class in orm.xml 2010-12-16 15:32:59 +01:00
dcarr 7d884f4bb6 Enhance Ejb3XmlTest to try to persist an entity mapped using <map-key-class> in the orm.xml 2010-12-16 15:32:59 +01:00
Gail Badner 7262276fa9 HHH-5778 : Wire in new batch code 2010-12-15 12:36:23 -08:00
Strong Liu 4c7983151c HHH-5727 Collection member declaration not handling optional AS in HQL. 2010-12-14 04:53:15 +08:00
Emmanuel Bernard 55e27c3825 Fix minor typos in the Dialect JavaDocs 2010-12-10 14:19:20 +01:00
Gail Badner e7daff9d93 HHH-5782 HHH-5783 : Remove "throws SQLException" from ConnectionManager methods; ConnectionManager should set timeout 2010-12-09 20:23:08 -08:00
Gail Badner b006a6c3c5 HHH-5765 : Refactor JDBCContext/ConnectionManager spi/impl and to use new proxies 2010-12-08 17:23:44 -08:00
Strong Liu cc4055d50c merge https://github.com/hibernate/hibernate-core/pull/20 2010-12-03 22:39:38 +08:00
Gail Badner 97fef96b98 HHH-5765 : Integrate LogicalConnection into ConnectionManager 2010-12-02 11:16:10 -08:00
Gail Badner da1750881a HHH-5765 : changed ConnectionManager.Callback to extend ConnectionObserver 2010-11-30 22:47:28 -08:00
Gail Badner fda684a5a6 HHH-5765 : remove dialect and connection provider from Settings 2010-11-30 20:31:53 -08:00
Gail Badner 3ca8216c7c HHH-5765 : Wire in SQLExceptionHelper for converting SQLExceptions 2010-11-30 18:50:34 -08:00
Gail Badner 91d444423b HHH-5765 : Wire in dialect factory and resolvers from service registry 2010-11-30 14:31:30 -08:00
Gail Badner 88543c7a58 HHH-5765 : Wire in connection provider from service registry 2010-11-30 11:38:53 -08:00
Strong Liu 5aed6b19cb HHH-5726 update test case 2010-11-29 18:11:44 +08:00
Strong Liu 915d6f9eea update StandardDialectResolver to return correct dialect for ms sql server 2010-11-29 17:38:31 +08:00
Strong Liu 01dd9a44e5 Merge branch 'mssql2005' of https://github.com/valotas/hibernate-core into valotas-mssql2005 2010-11-29 16:57:03 +08:00
Yoryos Valotasios 38cd2fe25c SQLServer2005Dialect: Made some comments more specific 2010-11-23 00:46:48 +02:00
Yoryos Valotasios 2ae06c9469 SQLServer2005Dialect: removed useless commented code 2010-11-23 00:44:02 +02:00
Yoryos Valotasios f6a349bcb8 SQLServer2005Dialect: Moved the small methods on top of the class 2010-11-23 00:25:14 +02:00
Yoryos Valotasios 48239bbbcc Added some comments 2010-11-23 00:22:39 +02:00
Yoryos Valotasios b47dc5aeda SQLServer2005Dialect: modifications in order to support variable limit 2010-11-23 00:19:22 +02:00
Yoryos Valotasios 11a98623e5 Dialect: Improved exception messages by adding the dialect class name 2010-11-15 00:58:57 +02:00
Yoryos Valotasios 71cef3831d SQLServer2005Dialect: Added @Override to the supportsVariableLimit method 2010-11-15 00:33:09 +02:00
Yoryos Valotasios 571318e6e4 Added comments. The dialect should also fix HHH-3936 2010-11-15 00:12:10 +02:00
Yoryos Valotasios ceba976e57 SQLServer2008Dialect should extend SQLServer2005Dialect 2010-11-14 23:56:33 +02:00
Yoryos Valotasios 2964b975ef HHH-3965: registered some more columntypes as varchar(max) and varbinary(max) 2010-11-14 23:55:06 +02:00
Yoryos Valotasios c9833f3eaa HHH-3965 fix, make use of varbinary(max) and varchar(max) 2010-11-14 23:51:15 +02:00
Yoryos Valotasios 9e2902807c Make use of generics for the Dialect and TypeNames class 2010-11-14 23:31:20 +02: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
Hardy Ferentschik ce56969173 HV-361 Taking into account that applyDDL can be called multiple times. Adding comment that @Range annotation is automatically taken care of, because it is a composing constraint of @Min and @Max 2010-11-11 17:31:46 +01:00
Hardy Ferentschik ff47006731 HV-361 Adding test for @Range constraint 2010-11-11 17:31:46 +01:00
Hardy Ferentschik 0cb3e66eef HV-361 Adding test entity for @Range constraint 2010-11-11 17:31:46 +01:00
Hardy Ferentschik c07ee1a4c0 HV-361 Making sure that multiple column checks are properly added 2010-11-11 17:31:46 +01:00
Hardy Ferentschik c22a6be533 HV-361 Changing existing tests to use @RequiresDialect(DialectChecks.SupportColumnCheck) 2010-11-11 17:31:46 +01:00
Hardy Ferentschik d24a06ee8d HV-361 Formatting and adding/updating copyrights 2010-11-11 17:31:46 +01:00
Strong Liu 97f8ceac9b HHH-5727 Collection member declaration not handling optional AS in HQL. 2010-11-11 19:09:50 +08:00
Yoryos Valotasios ae271db9ba renamed the old SQLServerDialect unit tests to SQLServer2005DialectTestCase 2010-11-10 22:06:42 +02:00
Yoryos Valotasios e3ad6c881e SQLServer2005Dialect: supports sql server 2005 but not 2000 2010-11-10 22:05:23 +02:00
Yoryos Valotasios 2ec009440e SQLServerDialect fallback to the pre HHH-2655 one 2010-11-10 22:03:47 +02:00
Strong Liu 6e565102b5 HHH-5715 revert the change made in hibernate.properties, default is H2 2010-11-10 22:58:30 +08:00
Emmanuel Bernard 42261a61df HHH-5724 display the constraint failures on Bean Validation exception 2010-11-10 13:12:07 +01:00
Tomasz Blachowicz fb26f4c1a0 HHH-5709: New property of PersistentClass finally renamed to jpaEntityName 2010-11-09 09:53:02 +00:00
Yoryos Valotasios 69ed7a9b88 Make use of better method names 2010-11-06 15:39:44 +02:00
Yoryos Valotasios d390f85544 SQLServerDialect: Added comments and refactored some varibles 2010-11-06 15:34:35 +02:00
Yoryos Valotasios b9f84044e6 removed useless wrong assert statement 2010-11-06 15:33:45 +02:00
Yoryos Valotasios 74c9ec6bda Modified the SQLServerDialect in order to replace the distinct keyword with a groub by clause 2010-11-06 14:59:53 +02:00
Yoryos Valotasios 55c822c56e HHH-5715 test case 2010-11-05 11:23:08 +02: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
Strong Liu ba040a3378 HHH-5700 incorrect test logic of org.hibernate.test.readonly.ReadOnlyCriteriaQueryTest 2010-11-02 20:47:37 +08:00
Strong Liu 528b652d07 HHH-2655 ROW_NUMBER for Paging 2010-11-02 20:39:03 +08:00
Steve Ebersole 61060d13a9 HHH-5706 - Incorrect accounting for 1-based LOB offsets 2010-11-01 13:57:29 -05:00
Strong Liu a3a732b494 HHH-2655: make use of the ROW_NUMBER function 2010-11-01 12:20:03 +08:00
Yoryos Valotasios 9b32e9462a HHH-2655: bug fix: row_number() function is not zero and so we must increament the given limit and offset by one 2010-10-30 00:04:51 +03:00
Yoryos Valotasios 895e1bf716 HHH-2655: Modified the SQLServer2008Dialect to make use of the ROW_NUMBER function for queries with limit 2010-10-28 21:36:16 +03:00
Strong Liu ca009f5340 HHH-3873 DB2Dialect.getLimitString raise DB2 error message when called with limit=0 2010-10-28 16:22:05 +08:00
Strong Liu 98f41bd6a8 HHH-5168 DB2Dialect generates CROSS JOINs which aren't supported 2010-10-26 15:12:14 +08:00
Steve Ebersole 40cd2bcd02 HHH-5662 - Import the initial work 2010-10-15 15:35:30 -05:00
Steve Ebersole 6ea31ce779 HHH-5662 - Import the initial work 2010-10-15 13:56:33 -05:00
Steve Ebersole 960326510f HHH-5662 - Import the initial work 2010-10-14 16:37:14 -05:00
Steve Ebersole aec8d1a742 HHH-5658 - Better .gitignore 2010-10-14 09:33:20 -05:00
Gail Badner 8575247aaf HHH-5638 : move o.h.engine.jdbc.proxy to o.h.engine.jdbc.internal.proxy 2010-10-13 16:04:04 -07:00
Gail Badner 7f91fb73d5 HHH-5656 : Import ServicesRegistry bootstrap code and service tests 2010-10-13 15:04:05 -07:00
Gail Badner d4bf11d8ba HHH-5641 : Import JtaPlatform services 2010-10-13 13:16:25 -07:00
Gail Badner a23796c92d HHH-5618 : Support legacy connection providers 2010-10-12 15:20:46 -07:00
Gail Badner ee6bde2957 change h2 to 1.2.140; add DVCC=TRUE to TestingDatabaseInfo 2010-10-12 13:20:06 -07:00
Steve Ebersole 2443fede65 HHH-5616 - Switch to Gradle for builds .. incorrect .gitignore 2010-10-11 17:43:42 -05:00
Steve Ebersole b5f4f8aebc HHH-5616 - Switch to Gradle for builds 2010-10-11 16:42:44 -05:00
Steve Ebersole 248ef9771f HHH-5616 - Switch to Gradle for builds .. gradlew 2010-10-11 14:41:49 -05:00
Steve Ebersole 7ce80c9c2d HHH-5616 - Switch to Gradle for builds .. IntelliJ 2010-10-11 14:41:49 -05:00
Steve Ebersole 901513ed7c HHH-5616 - Switch to Gradle for builds .. uploads 2010-10-11 14:41:49 -05:00
Steve Ebersole 9134d89dc0 HHH-5616 - Switch to Gradle for builds 2010-10-11 14:41:48 -05:00
Steve Ebersole f476da02ee HHH-5616 - Switch to Gradle for builds 2010-10-11 14:41:48 -05:00
Steve Ebersole 5d12ea8287 HHH-5616 - Switch to Gradle for builds 2010-10-11 14:41:47 -05:00
Steve Ebersole 737ab3b672 HHH-5616 - Switch to Gradle for builds ... working hibernate-core 2010-10-11 14:41:47 -05:00
Steve Ebersole 93bc4272df HHH-5616 - Switch to Gradle for builds 2010-10-11 14:41:47 -05:00
Steve Ebersole 34c2839dcc HHH-5616 - Switch to Gradle for builds 2010-10-11 14:41:47 -05:00