Commit Graph

294 Commits

Author SHA1 Message Date
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
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 339faabb14 HHH-6052 - Make statistics a service 2011-03-28 12:41:30 -05:00