211 Commits

Author SHA1 Message Date
Emmanuel Bernard
6bf5ed7302 EJB-456 add more test and fix isId false on IdClass attributes
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17272 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-12 04:22:23 +00:00
Steve Ebersole
c34fac4096 copyright notice
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17269 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-11 20:54:53 +00:00
Steve Ebersole
85c0857b0c copyright notice
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17268 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-11 20:50:34 +00:00
Steve Ebersole
a1b6e3f243 copyright notice
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17267 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-11 20:30:32 +00:00
Steve Ebersole
ed6346174d EJB-447 : Implement JPA 2.0 criteria apis
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17264 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-11 19:16:08 +00:00
Steve Ebersole
8de99d279d EJB-447 : Implement JPA 2.0 criteria apis
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17262 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-11 15:37:23 +00:00
Emmanuel Bernard
558fcd635a fix NPE when identifier is not a property
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17260 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-11 00:53:08 +00:00
Emmanuel Bernard
0f8a36a269 make Metamodel and its dependencies serializable
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17259 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-11 00:26:13 +00:00
Steve Ebersole
9edbb4d239 EJB-447 : Implement JPA 2.0 criteria apis
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17258 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-10 22:13:04 +00:00
Emmanuel Bernard
174d09e34b EJB-456 start core of tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17255 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-10 03:59:59 +00:00
Emmanuel Bernard
0d14085ba6 EJB-456 have the implementation of Metamodel ready minus some concepts left behind. This has NOT been tested to don't be too excited ladies
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17254 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-09 18:04:35 +00:00
Steve Ebersole
a83a455fdd EJB-447 : Implement JPA 2.0 criteria apis (miscellaneous)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17252 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-07 18:38:07 +00:00
Steve Ebersole
3175437151 EJB-447 : Implement JPA 2.0 criteria apis (completed function support)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17251 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-07 12:12:20 +00:00
Steve Ebersole
f6665eccba EJB-447 : Implement JPA 2.0 criteria apis (revert to strict method sigs)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17250 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-06 18:39:33 +00:00
Steve Ebersole
8465009b4b EJB-447 : Implement JPA 2.0 criteria apis (completed aggregation function support)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17247 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-06 17:55:14 +00:00
Steve Ebersole
eb0396b1c6 EJB-447 : Implement JPA 2.0 criteria apis (support for casts, completed IN-predicate support & parameter creation)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17243 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-06 14:18:54 +00:00
Steve Ebersole
aceeb48968 EJB-447 : Implement JPA 2.0 criteria apis
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17236 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-05 19:28:58 +00:00
Steve Ebersole
bd4c85ce10 EJB-447 : Implement JPA 2.0 criteria apis
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17228 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-04 19:13:33 +00:00
Steve Ebersole
152dc5abf9 EJB-447 : Implement JPA 2.0 criteria apis
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17227 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-04 18:01:45 +00:00
Steve Ebersole
9fc25c8c8a EJB-455 : Implement EntityManager#getEntityManagerFactory;
EJB-447 : Implement JPA 2.0 criteria apis

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17222 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-31 17:53:18 +00:00
Emmanuel Bernard
c05509be7c EJB-454 implements the default PPR strategy
EJB-453 use resolver held by PPRH
fix issues with Hibernate's isLoaded

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17201 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-25 05:24:55 +00:00
Emmanuel Bernard
49e53e81e1 minor documentation typo
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17198 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-23 18:54:27 +00:00
Emmanuel Bernard
eeb136fa71 ANN-860 implement @OrderColumn
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17192 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-22 20:40:50 +00:00
Steve Ebersole
f2ec4c6970 EJB-447 - Implement JPA 2.0 criteria apis
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17182 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-21 13:46:43 +00:00
Steve Ebersole
b339e33121 HHH-4022 - Add an actual API contract for querying/managing cache regions (from app code)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17027 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-07 18:39:39 +00:00
Emmanuel Bernard
db35f58467 EJB-446 implements EMF.getCache() except contains
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17008 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-06 17:19:44 +00:00
Emmanuel Bernard
fa4e5c37b3 Minor fix on detach()
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17006 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-06 16:22:17 +00:00
Juraci Krohling
233ee8b84e EJB-444 - Changed mysql host from dev02.qa.atl.jboss.com to vmg08.mw.lab.eng.bos.redhat.com
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16973 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-30 09:14:43 +00:00
Steve Ebersole
f70fd82cb6 HHH-3979 - Upgrade to javassist 3.9.0
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16892 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-23 07:09:35 +00:00
Hardy Ferentschik
97a0919521 JBPAPP-1998 Added additional try/catch in AbstractEntityManagerImpl.wrapStaleStateException
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16594 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-19 09:55:46 +00:00
Emmanuel Bernard
11668ca67c HHH-3906 EJB-436 ANN-830 Move to JPA 2 API as a dependency
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16523 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-07 21:34:21 +00:00
Juraci Krohling
856a719b14 HHH-3886 - Fixed credentials for trunk - EM
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16493 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-01 09:51:40 +00:00
Juraci Krohling
5f5a434b34 HHH-3886 - Updated the credentials for QA Lab for trunk
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16472 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-29 08:18:36 +00:00
Juraci Krohling
062139460c EJB-433 - Added a call to getProperties, to make sure that create-drop is set.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16450 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-27 12:10:35 +00:00
Hardy Ferentschik
339ec18771 JBPAPP-1679
Aligned hibernate.properties with hibernate.properties in testsuite module.

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16421 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-23 11:53:54 +00:00
Juraci Krohling
0f9a6882b9 JBPAPP-1078 EJB-413 - Removed a dependency on sequences for XMLTests and added a specific package with sequences, to be used only on databases which supports it. For trunk
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16383 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-21 14:02:32 +00:00
Juraci Krohling
8b4b88200b EJB-403 - Removed alias from native update statement, as it is not supported in many databases. For trunk
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16380 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-21 13:39:04 +00:00
Juraci Krohling
4ff6065093 EJB-418 - Added tearDown method to EJB3TestCase, as the current behaviour was keeping some dirt in the database after the execution of the last test in the EJB3TestCase hierarquy. For trunk
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16377 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-21 13:15:48 +00:00
Emmanuel Bernard
70362709f6 EJB-428 move scanning facility under the Scanner interface and implement NativeScanner
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16358 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-18 14:35:58 +00:00
Scott Marlow
bffe7ec6e9 HHH-3832 Upgrade to cglib-2.2 (asm 3.1)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16253 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-02 16:29:06 +00:00
Juraci Krohling
5cbb8cc77f EJB-420 - Updated entitymanager/pom.xml file to use consistent profile names for the databases in QA Lab.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16237 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-31 10:32:53 +00:00
Emmanuel Bernard
38471d1b73 cleaner variable name
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16217 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-25 21:07:29 +00:00
Emmanuel Bernard
1c42279492 HCANN-5 Introdice the MetadataProvider and MetadataProviderInjector facility
ANN-810 Use the new MetadataProvider facility to implement EJB3 overriding

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16206 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-23 01:53:05 +00:00
Steve Ebersole
e34c0d7007 change versions from 3.4 to 3.5
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16050 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-28 04:45:24 +00:00
Juraci Krohling
d6e005a8b7 EJB-404 JBPAPP-1079 - Fixed the test case for PostgreSQL and DB2
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15778 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-14 13:06:17 +00:00
Juraci Krohling
4fa064b209 EJB-404 - Changing the order of the predicates in testIsNull. Now it pleases PostgreSQL as well
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15696 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-15 10:46:00 +00:00
Juraci Krohling
fb2eb9e870 EJB-406 - Makes a test to fail if there are unfinished transactions, and closes it to not affect other tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15686 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-12 13:10:10 +00:00
Juraci Krohling
8719e10c1c EJB-405 - Changed the column name for properties which are reserved keywords in some databases
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15677 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-10 12:05:04 +00:00
Juraci Krohling
468743d2a7 EJB-407 - Fixing the test cases, to close the EM and/or finish the active transaction
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15676 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-10 12:01:47 +00:00
Hardy Ferentschik
0e0717634f HHH-3580 set forkmode to perTest. This was also needed in the old ant structure. Unfortunately, this slows down the build. We need to identify why this is needed. One of the troublemaers is PersistTest. There are also other thest which seem dubious. All test needs a review.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15485 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-03 15:27:53 +00:00