Commit Graph

  • 94727744b3 Framework for allowing ranges in query strings to be specified as parameters (not needed for JPQL, but for others). Also consolidated some internal query framework APIs. A. Abram White 2006-08-30 03:43:16 +0000
  • 163cc2a22c Framework for allowing ranges in query strings to be specified as parameters (not needed for JPQL, but for others). Also consolidated some internal query framework APIs. A. Abram White 2006-08-30 03:43:16 +0000
  • 02a24562b1 handle non-OpenJPA EMs more gracefully. This will help for containers that proxy the OpenJPA EM. Patrick Linskey 2006-08-29 23:49:48 +0000
  • 47ead9315d handle non-OpenJPA EMs more gracefully. This will help for containers that proxy the OpenJPA EM. Patrick Linskey 2006-08-29 23:49:48 +0000
  • c367538088 Changed due to property prefix from "kodo." to "openjpa." Pinaki Poddar 2006-08-29 18:34:34 +0000
  • 2148098841 Changed due to property prefix from "kodo." to "openjpa." Pinaki Poddar 2006-08-29 18:34:34 +0000
  • b52a78ac2d Moved build number generation into openjpa-lib, since having it in the top-level pom causes the plugin to be executed multiple times in each module (bug reported at MNG-2221) Marc Prud'hommeaux 2006-08-29 09:53:48 +0000
  • cd9c6c1986 Moved build number generation into openjpa-lib, since having it in the top-level pom causes the plugin to be executed multiple times in each module (bug reported at MNG-2221) Marc Prud'hommeaux 2006-08-29 09:53:48 +0000
  • c24f34e748 Expanded default doubleTypeName to be NUMERIC so it can properly fit a double. Marc Prud'hommeaux 2006-08-29 06:23:13 +0000
  • de9352568f Expanded default doubleTypeName to be NUMERIC so it can properly fit a double. Marc Prud'hommeaux 2006-08-29 06:23:13 +0000
  • 8d3a836f38 Removed check for Long.MIN_VALUE, since recent version of HSQL do not have the storage limitation. Marc Prud'hommeaux 2006-08-29 06:14:59 +0000
  • 5ff49b37b9 Removed check for Long.MIN_VALUE, since recent version of HSQL do not have the storage limitation. Marc Prud'hommeaux 2006-08-29 06:14:59 +0000
  • a8338df7f3 OPENJPA-30 Changed version to 0.9.0-incubating-SNAPSHOT in accordance with Apache incubator guidelines Marc Prud'hommeaux 2006-08-26 18:59:34 +0000
  • dc1f0bf204 OPENJPA-30 Changed version to 0.9.0-incubating-SNAPSHOT in accordance with Apache incubator guidelines Marc Prud'hommeaux 2006-08-26 18:59:34 +0000
  • 1a9e118e4e Fixed to use equals() instead of == for testing the type of the current Locale. Marc Prud'hommeaux 2006-08-25 21:35:13 +0000
  • f37d9f8d61 Fixed to use equals() instead of == for testing the type of the current Locale. Marc Prud'hommeaux 2006-08-25 21:35:13 +0000
  • f67555ad89 moved POM to use ant task instead of java invocation; changed service invocations to use the classloader of the class being looked up to avoid issues with cyclic-static blocks; improved debug info Patrick Linskey 2006-08-25 21:00:19 +0000
  • 96e534a165 moved POM to use ant task instead of java invocation; changed service invocations to use the classloader of the class being looked up to avoid issues with cyclic-static blocks; improved debug info Patrick Linskey 2006-08-25 21:00:19 +0000
  • b9d060b631 Fixed assumption by test case that the default locale would not be GERMANY, which was special-cased in the test. Marc Prud'hommeaux 2006-08-25 20:57:46 +0000
  • 45c89bd455 Fixed assumption by test case that the default locale would not be GERMANY, which was special-cased in the test. Marc Prud'hommeaux 2006-08-25 20:57:46 +0000
  • 446177a1a7 Fixed assumption by test case that the default locale would not be GERMANY, which was special-cased in the test. Marc Prud'hommeaux 2006-08-25 20:53:28 +0000
  • 8adfc84d9c Fixed assumption by test case that the default locale would not be GERMANY, which was special-cased in the test. Marc Prud'hommeaux 2006-08-25 20:53:28 +0000
  • 555f48dd85 Prefixed pom names with 'OpenJPA' to make them more friendly when their public names are displayed Marc Prud'hommeaux 2006-08-25 19:16:23 +0000
  • caffb77405 Prefixed pom names with 'OpenJPA' to make them more friendly when their public names are displayed Marc Prud'hommeaux 2006-08-25 19:16:23 +0000
  • 85a6bc2d0e OPENJPA-14. Use the class's classloader in environments when service lookups should be looking in the OpenJPA distribution. This imposes the restriction that OpenJPA will only find services in the same classloader as the OpenJPA jars themselves, which is a much better restriction than requiring that the classes be in the thread's context classloader. Patrick Linskey 2006-08-25 07:33:50 +0000
  • dcb47f0fe4 OPENJPA-14. Use the class's classloader in environments when service lookups should be looking in the OpenJPA distribution. This imposes the restriction that OpenJPA will only find services in the same classloader as the OpenJPA jars themselves, which is a much better restriction than requiring that the classes be in the thread's context classloader. Patrick Linskey 2006-08-25 07:33:50 +0000
  • 25369b9e61 Removed custom serp repository, since it is now available via ibiblio. Marc Prud'hommeaux 2006-08-24 22:29:35 +0000
  • 323fce145e Removed custom serp repository, since it is now available via ibiblio. Marc Prud'hommeaux 2006-08-24 22:29:35 +0000
  • 30d214af42 Formatted our documentation XML files. A. Abram White 2006-08-24 20:41:12 +0000
  • fe71475a59 Formatted our documentation XML files. A. Abram White 2006-08-24 20:41:12 +0000
  • 5f822cc23d Slightly cleaner and in some cases more efficient exclusion of persistence-aware types from mapping tool actions. A. Abram White 2006-08-24 19:05:51 +0000
  • 746ebdfdc9 Slightly cleaner and in some cases more efficient exclusion of persistence-aware types from mapping tool actions. A. Abram White 2006-08-24 19:05:51 +0000
  • 757e24e710 Output build artifacts to the target/assembly/ directory. Marc Prud'hommeaux 2006-08-24 17:24:17 +0000
  • 8fbfa8aecc Output build artifacts to the target/assembly/ directory. Marc Prud'hommeaux 2006-08-24 17:24:17 +0000
  • 6d910f1599 resolved JIRA-32: unnecessary servlet dependency in openjpa-lib pom Patrick Linskey 2006-08-24 07:35:16 +0000
  • 0e41d092c9 resolved JIRA-32: unnecessary servlet dependency in openjpa-lib pom Patrick Linskey 2006-08-24 07:35:16 +0000
  • 40a565ba2a Modified to ignore p-aware classes. Pinaki Poddar 2006-08-24 05:13:20 +0000
  • d0f15b881a Modified to ignore p-aware classes. Pinaki Poddar 2006-08-24 05:13:20 +0000
  • d214898164 MappingTool modified to ignore persistence-aware classes Pinaki Poddar 2006-08-23 23:45:42 +0000
  • 6e262960ae MappingTool modified to ignore persistence-aware classes Pinaki Poddar 2006-08-23 23:45:42 +0000
  • 7c3a179ee6 Add ability to include one fetch group in another to FetchGroup annotation. A. Abram White 2006-08-23 21:50:02 +0000
  • 3aaa66ee7f Add ability to include one fetch group in another to FetchGroup annotation. A. Abram White 2006-08-23 21:50:02 +0000
  • 6c480199ef Changed version to be a SNAPSHOT so we can use the snapshotRepository Marc Prud'hommeaux 2006-08-23 21:37:05 +0000
  • bad3cba9b6 Changed version to be a SNAPSHOT so we can use the snapshotRepository Marc Prud'hommeaux 2006-08-23 21:37:05 +0000
  • c13c701d35 Changed packaging to "pom", since we aren't building a jar for this module. Marc Prud'hommeaux 2006-08-23 18:23:19 +0000
  • 086ecd6507 Changed packaging to "pom", since we aren't building a jar for this module. Marc Prud'hommeaux 2006-08-23 18:23:19 +0000
  • 30b390cb41 Escaped the "{user.home}" string with a "'" so that MessageFormat does not try to interpret it as a token (and then fail). Marc Prud'hommeaux 2006-08-23 03:10:33 +0000
  • 4436a3d90f Escaped the "{user.home}" string with a "'" so that MessageFormat does not try to interpret it as a token (and then fail). Marc Prud'hommeaux 2006-08-23 03:10:33 +0000
  • 2162924479 Added generation of a /META-INF/revision.properties file that will hold the current subversion revision that was used when creating the jars; also made org.apache.openjpa.conf.OpenJPAVersion output this information when it is found Marc Prud'hommeaux 2006-08-23 02:43:02 +0000
  • 9af2df4d09 Added generation of a /META-INF/revision.properties file that will hold the current subversion revision that was used when creating the jars; also made org.apache.openjpa.conf.OpenJPAVersion output this information when it is found Marc Prud'hommeaux 2006-08-23 02:43:02 +0000
  • 64efc1e42a A message for PersistenceAware class being added as PersistenceCapable also. Pinaki Poddar 2006-08-23 00:39:00 +0000
  • 9246ee92bc A message for PersistenceAware class being added as PersistenceCapable also. Pinaki Poddar 2006-08-23 00:39:00 +0000
  • f66e2f815c Added support for PersistenceAwareClass -- wraps java.lang.Class thinly with SourceTracker. Modified MetaDataRepository to add a container for PersistenceAwareClasses. Pinaki Poddar 2006-08-23 00:11:29 +0000
  • 1aec5d3dde Added support for PersistenceAwareClass -- wraps java.lang.Class thinly with SourceTracker. Modified MetaDataRepository to add a container for PersistenceAwareClasses. Pinaki Poddar 2006-08-23 00:11:29 +0000
  • 3b905b7ab4 Split up the documentation into multiple chunks for easier management. Marc Prud'hommeaux 2006-08-22 21:28:53 +0000
  • ac98ba5c80 Split up the documentation into multiple chunks for easier management. Marc Prud'hommeaux 2006-08-22 21:28:53 +0000
  • 6583d06ef5 Updated the SVN properties to ignore the target directories at each of the OpenJPA sub-project levels (openjpa-jdbc, openjpa-jdbc-5, etc). Some of the sub-projects already had the svn:ignore property for the target directory, but not all of them. I also updated the properties to ignore any "dot files" at the top most OpenJPA (ie. trunk) level. This will help with ignoring the metadata files associated with IDE's such as Eclipse (.classpath and .project) and NetBeans (.netbeans). Kevin W. Sutter 2006-08-22 15:14:46 +0000
  • d13c9fa4f6 Updated the SVN properties to ignore the target directories at each of the OpenJPA sub-project levels (openjpa-jdbc, openjpa-jdbc-5, etc). Some of the sub-projects already had the svn:ignore property for the target directory, but not all of them. I also updated the properties to ignore any "dot files" at the top most OpenJPA (ie. trunk) level. This will help with ignoring the metadata files associated with IDE's such as Eclipse (.classpath and .project) and NetBeans (.netbeans). Kevin W. Sutter 2006-08-22 15:14:46 +0000
  • be1ca8f63e Added expression-level support for Map.get in queries Marc Prud'hommeaux 2006-08-22 01:50:43 +0000
  • 6f0a7f67da Added expression-level support for Map.get in queries Marc Prud'hommeaux 2006-08-22 01:50:43 +0000
  • 88b63b5a99 No need for parser to populate separate QueryExpressions.aggregate member now that we can visit the projection values to see if they're aggregates. A. Abram White 2006-08-21 23:53:49 +0000
  • d5bb522c34 No need for parser to populate separate QueryExpressions.aggregate member now that we can visit the projection values to see if they're aggregates. A. Abram White 2006-08-21 23:53:49 +0000
  • 09ff3fadb7 Add some query validations on compilation. A. Abram White 2006-08-21 22:29:47 +0000
  • 9de5395486 Add some query validations on compilation. A. Abram White 2006-08-21 22:29:47 +0000
  • 3bc1c4bf4c JIRA: OPENJPA-14 Applied patch (with some minor corrections). A. Abram White 2006-08-21 16:53:51 +0000
  • 978bc40091 JIRA: OPENJPA-14 Applied patch (with some minor corrections). A. Abram White 2006-08-21 16:53:51 +0000
  • 9185e28301 Add visitor pattern to query expression trees, and redo a couple of our existing tree interrogation methods to use it. This will allow us to add more validations at query compilation time (we're missing some that are required for JDO 2, for example) without having to expand the API of every query expression/value implementation, in addition to just being more flexible overall. A. Abram White 2006-08-19 01:03:35 +0000
  • 037a45d7e4 Add visitor pattern to query expression trees, and redo a couple of our existing tree interrogation methods to use it. This will allow us to add more validations at query compilation time (we're missing some that are required for JDO 2, for example) without having to expand the API of every query expression/value implementation, in addition to just being more flexible overall. A. Abram White 2006-08-19 01:03:35 +0000
  • 3670eae60f Method visibility fix. A. Abram White 2006-08-18 00:21:04 +0000
  • eb2b5e6551 Method visibility fix. A. Abram White 2006-08-18 00:21:04 +0000
  • 0ec0aebdf7 When a query projects and groups on a relation field, make sure to group on the same columns we select. Added Select.groupBy(ClassMapping, ...) API. Implemented by temporarily putting target Select into "group mode" -- in which all select() calls are instead routed to groupBy() calls -- and invoking the same JDBCStoreManager.select() logic we use for the Select.select(ClassMapping...) call. Having the Select "fake out" its callers by translating select() calls into groupBy() calls isn't necessarily pretty, but it allows us to re-use all our existing select logic (not just in JDBCStoreManager, but in all the class, field, discriminator, version, etc mapping strategies) rather than creating duplicate logic in parallel groupBy() methods in all these components. A. Abram White 2006-08-18 00:17:30 +0000
  • 69b83ac3ff When a query projects and groups on a relation field, make sure to group on the same columns we select. Added Select.groupBy(ClassMapping, ...) API. Implemented by temporarily putting target Select into "group mode" -- in which all select() calls are instead routed to groupBy() calls -- and invoking the same JDBCStoreManager.select() logic we use for the Select.select(ClassMapping...) call. Having the Select "fake out" its callers by translating select() calls into groupBy() calls isn't necessarily pretty, but it allows us to re-use all our existing select logic (not just in JDBCStoreManager, but in all the class, field, discriminator, version, etc mapping strategies) rather than creating duplicate logic in parallel groupBy() methods in all these components. A. Abram White 2006-08-18 00:17:30 +0000
  • cb4deb1700 When a relation mapping uses the expected class of the related type as part of its join criteria (in addition to the standard foreign key join), make sure discriminator conditions are appended to the WHERE SQL not only when loading the relation, but also when traversing it in queries. A. Abram White 2006-08-16 23:27:04 +0000
  • 2ccc242679 When a relation mapping uses the expected class of the related type as part of its join criteria (in addition to the standard foreign key join), make sure discriminator conditions are appended to the WHERE SQL not only when loading the relation, but also when traversing it in queries. A. Abram White 2006-08-16 23:27:04 +0000
  • 053ec6186e Removed unneeded field. Patrick Linskey 2006-08-15 18:46:59 +0000
  • c8af68ac7d Removed unneeded field. Patrick Linskey 2006-08-15 18:46:59 +0000
  • 63b3c731b1 Marc correctly pointed out that FileInputStream.read() isn't guaranteed to read all available data into the given buffer in one call. A. Abram White 2006-08-15 16:16:57 +0000
  • daf1f35793 Marc correctly pointed out that FileInputStream.read() isn't guaranteed to read all available data into the given buffer in one call. A. Abram White 2006-08-15 16:16:57 +0000
  • 671e644c75 Work around JVMs that don't return a valid value for File.length(). We've discovered at least one that doesn't. A. Abram White 2006-08-15 15:57:14 +0000
  • 0821efea40 Work around JVMs that don't return a valid value for File.length(). We've discovered at least one that doesn't. A. Abram White 2006-08-15 15:57:14 +0000
  • 1e18d8d98c Anchor token fix. A. Abram White 2006-08-13 01:49:01 +0000
  • 26ae2fa31c Anchor token fix. A. Abram White 2006-08-13 01:49:01 +0000
  • 8a20edf2d1 Use configuration's class loader. A. Abram White 2006-08-12 01:01:55 +0000
  • 132602e3d2 Use configuration's class loader. A. Abram White 2006-08-12 01:01:55 +0000
  • cb1a366272 Don't use ant classloader to find configuration providers? A. Abram White 2006-08-11 22:53:58 +0000
  • 174bbd211f Don't use ant classloader to find configuration providers? A. Abram White 2006-08-11 22:53:58 +0000
  • 489cdcb2cd Allow our JPA ConfigurationProviderImpl to find a default persistence unit in persistence.xml when no explicit configuration is given to dev tools. Do this in a backwards-compatible way that won't break previous behavior or other facade behavior (JDO). This means you should no longer have to pass "-p persistence.xml" to tools like the enhancer, nor should you have to specify a properties argument to the PCEnhancerAgent in the premain for runtime enhancement. A. Abram White 2006-08-11 21:07:58 +0000
  • aba057d644 Allow our JPA ConfigurationProviderImpl to find a default persistence unit in persistence.xml when no explicit configuration is given to dev tools. Do this in a backwards-compatible way that won't break previous behavior or other facade behavior (JDO). This means you should no longer have to pass "-p persistence.xml" to tools like the enhancer, nor should you have to specify a properties argument to the PCEnhancerAgent in the premain for runtime enhancement. A. Abram White 2006-08-11 21:07:58 +0000
  • 6ecd7fb411 Clean up detach on serialize and ensure declared constructors are properly public for externalize Stephen Kim 2006-08-10 08:14:18 +0000
  • 07a13ab908 Clean up detach on serialize and ensure declared constructors are properly public for externalize Stephen Kim 2006-08-10 08:14:18 +0000
  • 0a9084f103 Fix invalid property warning logic. A. Abram White 2006-08-09 23:39:58 +0000
  • 3e758faf25 Fix invalid property warning logic. A. Abram White 2006-08-09 23:39:58 +0000
  • 79873c7117 Give better error when run on bad .class file. A. Abram White 2006-08-09 22:39:24 +0000
  • fd74642a17 Give better error when run on bad .class file. A. Abram White 2006-08-09 22:39:24 +0000
  • 8c2698ee2f Make Localizer.Message a static class. Fix implicit type of query path traversal terminating in byte[], char[] fields. A. Abram White 2006-08-09 20:59:45 +0000
  • 5bef32e516 Make Localizer.Message a static class. Fix implicit type of query path traversal terminating in byte[], char[] fields. A. Abram White 2006-08-09 20:59:45 +0000
  • 513b0991cd Include unpinAll/pinAll by class methods Stephen Kim 2006-08-08 20:23:35 +0000
  • a120874a44 Include unpinAll/pinAll by class methods Stephen Kim 2006-08-08 20:23:35 +0000
  • 6d4c8c9596 Changed logging infrastructure to be aware of localization; changed localization to return log-ready Message instances instead of strings. Changed tons of code to use the new logging and localization calls. Patrick Linskey 2006-08-08 01:42:34 +0000
  • 6234f8d3da Changed logging infrastructure to be aware of localization; changed localization to return log-ready Message instances instead of strings. Changed tons of code to use the new logging and localization calls. Patrick Linskey 2006-08-08 01:42:34 +0000