36 Commits

Author SHA1 Message Date
Ben Alex
1119b665f8 Make createOrUpdate(E) delegate to Manager methods, not to the DAO method of the same name. 2005-09-09 03:58:04 +00:00
Ben Alex
3794c608ad Remove setId(Long). This means access="field" needs to be used with Hibernate. 2005-09-09 03:56:58 +00:00
Ben Alex
61df8e9f7b Support multiple SessionFactory instances (not just one). 2005-09-04 23:08:02 +00:00
Ben Alex
fc1fe03871 Automatically introspect generic to determine supports(Class) instead of relying on IoC container or Java code to specify it. 2005-08-21 10:36:26 +00:00
Ben Alex
ebb99abc78 Ensure that classes implementing the BindBeforeValidation interface have the method called *before* validation, as Validator implementations will sometimes check the properties modified by BindBeforeValidation implementations. 2005-08-21 10:34:50 +00:00
Ben Alex
c5e060dc09 Fix generics. 2005-08-21 10:31:41 +00:00
Ben Alex
975de1e043 Add .cvsignore files so that empty directories are created in CVS. Remove package.html files that do not belong to a particular package and were simply directory markers. 2005-08-21 08:19:02 +00:00
Scott McCrory
6018ef22a8 Replaced .cvsignore placeholders for package.html files (which also serve some doccumentary purpose). 2005-07-25 22:55:00 +00:00
Scott McCrory
9fc7717d20 Added .cvsignore as a placeholder so that CVS retains these directories upon checkout. 2005-07-24 23:16:34 +00:00
Ben Alex
2e51880608 Remove annotations after discussion with Matthew Porter. 2005-05-26 01:47:29 +00:00
Ben Alex
ee3a14ab1b Improve logging. 2005-05-17 01:05:13 +00:00
Ben Alex
14e384051b Improve logging. 2005-05-17 00:06:15 +00:00
Ben Alex
0b6d0a5798 Remove finals - conflicts with CGLIB generated classes. 2005-05-17 00:06:09 +00:00
Ben Alex
c1d156e363 Handle multiple Validators.support()ing a given class. 2005-05-14 05:04:07 +00:00
Ben Alex
307cd35b9c More fetching/initialization related fine-tuning. 2005-05-14 01:35:13 +00:00
Ben Alex
4f2f6a5004 Improve logging to detect mismatched Validator:Class combinations. 2005-05-14 01:34:33 +00:00
Ben Alex
32646b5581 More eager/lazy fetching optimisations. 2005-05-13 07:14:32 +00:00
Ben Alex
c9fc2684ad Some initial fetching strategy comments. 2005-05-12 06:29:31 +00:00
Ben Alex
37983a0689 Refactor toString() so it doesn't break with lazy loaded associations. 2005-05-12 06:06:57 +00:00
Ben Alex
5dcbb416ec Add initialization support. 2005-05-12 06:06:20 +00:00
Ben Alex
0425724b4f Add services layer generics to Domain subproject. 2005-05-10 03:21:36 +00:00
Ben Alex
5f1cb77e40 Domain subproject Java 1.5 compatibility. 2005-05-09 03:35:57 +00:00
Ben Alex
28a960cfab Handle null domain ojbect (useful if a search didn't find a match). 2005-04-20 12:06:47 +00:00
Ben Alex
cea4bf11d1 Add scrollWithSubclasses() method. 2005-04-20 12:06:23 +00:00
Ben Alex
958a45af69 Refactor to use an inner class, as per the standard Java SDK Iterator implementations. 2005-04-20 12:05:54 +00:00
Ben Alex
5fdcbe1ec4 Refactor to use the application context as the source of Validators. This is appropriate as manual control over Validator instance creation and wiring is often necessary (not autowiring). This is particularly the case when dealing with DefaultAdvisorAutoProxyCreator, which excludes collaborating beans from being advice candidates. 2005-04-19 01:04:47 +00:00
Ben Alex
018f625e85 Prevent infinite loops, and add logging. 2005-04-19 01:01:58 +00:00
Matthew Porter
9723ac61c6 Add createOrUpdate to methods (by default). 2005-04-10 21:10:34 +00:00
Matthew Porter
625efa4782 Check to ensure the child object returned is not null before adding to list of child objects to validate. 2005-04-10 21:10:03 +00:00
Matthew Porter
8fb3a8bf88 Change sequence to native for more db cross platform. 2005-04-09 01:28:23 +00:00
Ben Alex
3f6c5f7cb1 Bug fixes. 2005-04-06 08:28:13 +00:00
Ben Alex
a2d68e4fc5 Hibernate 3 refactorings. 2005-04-06 06:40:08 +00:00
Ben Alex
9b90df1812 Refactor to allow IntrospectionManagers to query a shared Validator map. 2005-04-06 06:37:42 +00:00
Matthew Porter
2f2c6bc3d8 Change createOrUpdate() to use Hibernate session.saveOrUpdate(). 2005-03-31 02:52:05 +00:00
Matthew Porter
1e896c14d6 Change clone() method to throw CloneNotSupportedException. 2005-03-31 02:51:04 +00:00
Ben Alex
cf241fb9ae Initial commit. 2005-03-30 13:41:27 +00:00