Commit Graph

609 Commits

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