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