David E. Jones
|
f64294339b
|
Implemented a new feature to do a check on data files with no changes to the database instead of loading the data; this includes some refactoring of other classes that do this and a few improvements as well based on some testing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564565 13f79535-47bb-0310-9956-ffa450edef68
|
2007-08-10 11:47:37 +00:00 |
|
David E. Jones
|
af72dec55c
|
Changed to not warn about transaction timeout if not timeout is passed to this object
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@560155 13f79535-47bb-0310-9956-ffa450edef68
|
2007-07-27 08:56:17 +00:00 |
|
David E. Jones
|
a2b303b281
|
Added ext-demo data loader, plus improved comments about them
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550881 13f79535-47bb-0310-9956-ffa450edef68
|
2007-06-26 17:54:57 +00:00 |
|
David E. Jones
|
eae64b0e30
|
Added ext-test data reader for ext data files that are used for testing only and not for production; the main reason for using this instead of demo is that it is often necessary for custom installations to make sure the tests will run without the demo data which is not generally used in production; so, production gets extseed (seed, ext) and pre-production testing gets exttest (seed, ext, ext-test)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550848 13f79535-47bb-0310-9956-ffa450edef68
|
2007-06-26 16:43:56 +00:00 |
|
Jacopo Cappellato
|
bf3fb8206c
|
Fixed bug reported by Anil Patel in the mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550384 13f79535-47bb-0310-9956-ffa450edef68
|
2007-06-25 06:49:13 +00:00 |
|
Jacopo Cappellato
|
f9ccd14670
|
Applied patch from Stefan Huehner OFBIZ-730 to fix some very bad conditions that could cause NPE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550233 13f79535-47bb-0310-9956-ffa450edef68
|
2007-06-24 14:17:31 +00:00 |
|
Jacopo Cappellato
|
48d3898de7
|
Fixed wrong field name.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@546833 13f79535-47bb-0310-9956-ffa450edef68
|
2007-06-13 12:04:25 +00:00 |
|
David E. Jones
|
42c83d59a0
|
Change to adjust for Derby bug with null values in a unique index; this setting just turns off the unique part of maually declared indices when set, as it is now by default for Derby; now the seed data loading and other things will work though WARNING: unique indices will not work with Derby; we don't use these much but we need to watch for it in testing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@544640 13f79535-47bb-0310-9956-ffa450edef68
|
2007-06-05 21:24:21 +00:00 |
|
David E. Jones
|
c0b1dfc8f0
|
Changed default for alias-view-columns from true to false
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@542665 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-29 21:52:22 +00:00 |
|
David E. Jones
|
07b48643c5
|
As noted needing to be done by Jacques Le Roux did a search/replace on source=1.4 and changed to 1.5
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541997 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-27 15:55:18 +00:00 |
|
David E. Jones
|
4f6984e880
|
Fixed NPE reported by Michael Imhof, based on patch in Jira #OFBIZ-742
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539790 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-19 19:13:40 +00:00 |
|
Hans Bakker
|
7b47d7de44
|
If a entity to extend does not exist: NPE replaced with exception and message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539691 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-19 06:00:09 +00:00 |
|
Si Chen
|
bdd3ed9f4b
|
fix last commit of oracle alias-view-column
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539645 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-19 00:06:37 +00:00 |
|
David E. Jones
|
856a924ee3
|
Reversed a couple of changes that appear to have been committed by accident
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539643 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-19 00:04:03 +00:00 |
|
Si Chen
|
f47068f164
|
alias-view-columns must be turned off for oracle to work properly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539588 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-18 20:15:52 +00:00 |
|
David E. Jones
|
7d70c41c12
|
Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-18 15:47:14 +00:00 |
|
Andrew Zeneski
|
8be8579f95
|
synced up changed to connection pool
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@537062 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-11 01:09:44 +00:00 |
|
Andrew Zeneski
|
8cf7c6b157
|
fixed, to make sure the real transaction is used to get status; previous to this commit the new thread wasn't associated with a transaction
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@537059 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-11 01:05:28 +00:00 |
|
Andrew Zeneski
|
7c364ac81a
|
added tracer to internal XAResource to notify when transactions timeout
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536705 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-09 22:57:40 +00:00 |
|
Andrew Zeneski
|
1db9cdd4f7
|
appears GeronimoTXM throws IllegalStateExceptions under certain conditions in transactions; this will cause the transaction to hang since it is never caught; now catching this
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536689 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-09 22:14:30 +00:00 |
|
David E. Jones
|
20b0c6c7b3
|
Changed default connection pool size to 250; our default http listener size in ofbiz-containers.xml is 200 and the default service engine pool size is 15, plus leaving a few extras
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536644 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-09 20:05:58 +00:00 |
|
Andrew Zeneski
|
f17843d7c0
|
fixed NPE in collector thread
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536431 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-09 05:57:06 +00:00 |
|
Andrew Zeneski
|
31b1cee987
|
updated minerva; added new debugging; fixed problem with RuntimeException hanging transactions; fixed problems with pool not clearing old/stale connections
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536400 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-09 03:38:36 +00:00 |
|
Andrew Zeneski
|
6d85009c37
|
updated minerva with a way to get information on the pool of connections
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536383 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-09 00:14:46 +00:00 |
|
Andrew Zeneski
|
f65471ea73
|
added updated version of minerva much better logging/tracing; added spy option to record queries as they are sent to the JDBC driver; now uses Java 1.5 concurent classes instead of oswego; removed old jar
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@535965 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-07 19:52:34 +00:00 |
|
Andrew Zeneski
|
71c5f8ffb9
|
added more tracing to the minerva build
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534962 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-03 19:00:37 +00:00 |
|
Andrew Zeneski
|
59766984cd
|
changed some logging in minerva from info to debug
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534935 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-03 17:09:56 +00:00 |
|
David E. Jones
|
14400b9398
|
Fixed missing calls to eli.close, was leaving the EntityListIterator open for limit-view and limit-range
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534636 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-02 22:23:12 +00:00 |
|
Jacopo Cappellato
|
389737ca72
|
Upgrade to javolution 4.2.8 (latest stable release).
Note that now java 1.5+ is required.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534005 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-01 11:04:15 +00:00 |
|
Jacopo Cappellato
|
3b4765893c
|
Upgraded Derby jar to the latest stable release 10.2.2.0 (that is a bug fix release).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@533605 13f79535-47bb-0310-9956-ffa450edef68
|
2007-04-30 06:48:23 +00:00 |
|
David E. Jones
|
0f3eb33a58
|
Based on testing done by Anil Patel, setting alias-view-columns=false for MS SQL
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530183 13f79535-47bb-0310-9956-ffa450edef68
|
2007-04-18 22:11:49 +00:00 |
|
David E. Jones
|
dd8b617c04
|
Changed alias-view-columns from true to false for advantage based on report of it not working right for Advantage
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530160 13f79535-47bb-0310-9956-ffa450edef68
|
2007-04-18 21:16:15 +00:00 |
|
David E. Jones
|
56479fcd03
|
Fixed bug in GenericEntity.setString based on patch from Michael Imhof; not a commonly used piece of code, but good to fix anyway; Jira #OFBIZ-894
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529473 13f79535-47bb-0310-9956-ffa450edef68
|
2007-04-17 02:57:58 +00:00 |
|
David E. Jones
|
50b7606b26
|
Changed alias-view-columns setting for MySQL, now that this setting is being honored it seems that the new version of MySQL has a problem with the old setting; thanks to various for reporting it, including in OFBIZ-895
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529354 13f79535-47bb-0310-9956-ffa450edef68
|
2007-04-16 18:48:09 +00:00 |
|
David E. Jones
|
b5c39c9c24
|
Changed postgres config to not alias columns in views
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528862 13f79535-47bb-0310-9956-ffa450edef68
|
2007-04-14 19:25:35 +00:00 |
|
David E. Jones
|
93076873b6
|
A fairly dramatic change required because the DatasourceInfo stuff was being mostly ignored for most of the sql generation code, especially in the view entity stuff; fixing this resulted in a problem with derby requiring adding the alias-view-columns=false attribute to the datasource element in the entityengine.xml file; in any case, the somewhat tricky and funny but useful option of using a view-entity in a sub-select is now working properly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528801 13f79535-47bb-0310-9956-ffa450edef68
|
2007-04-14 13:01:51 +00:00 |
|
David E. Jones
|
b51f2ec479
|
Added a EntityConditionValue implementation that does a sub-select on another entity; initial example in the ProductSearch class
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528790 13f79535-47bb-0310-9956-ffa450edef68
|
2007-04-14 10:18:05 +00:00 |
|
David E. Jones
|
092778a889
|
Jacopo was talking about removing these, and the (mostly silent...) consensus seems to be that there is no big problem with removing these; anyone that wants to use them would probably prefer downloading the latest version of the tools anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@525679 13f79535-47bb-0310-9956-ffa450edef68
|
2007-04-05 01:48:56 +00:00 |
|
Jacopo Cappellato
|
53a3552a70
|
Added derby revision number as a suffix for the derby jar file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523970 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-30 07:08:29 +00:00 |
|
Andrew Zeneski
|
5cf149b79f
|
fixed so loading data for just a specific component works without having to specify readers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523181 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-28 05:27:10 +00:00 |
|
David E. Jones
|
428ab6b0d3
|
Added a bit of code to put FALSE in an SQL where clause instead of an empty IN set when that is detected; not sure if this is the best way to go, but it should be close to what we want and avoid a database error as happens now; chose FALSE because even though a value in the db could either always or never match an empty set, the never match seems to make more sense because if you would normally select various values and select none, you would be excluding all, unless you consider selecting none to mean that you want to include everything...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522000 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-24 10:00:57 +00:00 |
|
Si Chen
|
a7d812f630
|
Fix entity engine's upper function to allow searches for names with an apostrophe in them. From Leon Torres. OFBIZ-837
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521954 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-24 00:37:50 +00:00 |
|
Andrew Zeneski
|
ec22d58cac
|
implemented new data loading arguement -component to limit data loading to a single component (by name)
example:
java -jar ofbiz.jar -install -component=mycomponent -readers=seed,ext,demo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520902 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-21 14:48:21 +00:00 |
|
Jacopo Cappellato
|
a3d44a07db
|
Applied slightly (different patch) from Stefan Huehner to fix wrong npe check. OFBIZ-776
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519589 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-18 10:52:21 +00:00 |
|
David E. Jones
|
679f708b29
|
Uncommented test-suite that I commented to make things faster to test
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516272 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-09 02:52:31 +00:00 |
|
David E. Jones
|
b5a7493883
|
Cleanup of LocalDispatcher creation through the GenericDispatcher object; consolidates a bunch of code and hopefully simplifies a things; should also more permanently fix the weird problem we were having with the testing services a bit ago
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516271 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-09 02:45:55 +00:00 |
|
David E. Jones
|
4516bbe6dd
|
Added simple-method-test to call a simple-method as a service, without a service definition; also includes some various fixes including one from Joe in Jira OFBIZ-791
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516253 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-09 01:28:43 +00:00 |
|
David E. Jones
|
bf807aa5a0
|
Applied patch from Joe Eckard which implements the entity-xml-assert type of test and adds a small example test file for it that just validates against seed data; small change to reorganize, but mostly as-is
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515340 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-06 22:57:38 +00:00 |
|
David E. Jones
|
ed67ae0bd7
|
Changed EntityDataAssert to throw exceptions so that calling method has more control over it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515285 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-06 20:27:36 +00:00 |
|
David E. Jones
|
ff924a279a
|
Changed a number of places to use File.toURI().toURL() instead of just File.toURL(); thanks to Andras Robert for his research and comments on this; looking at the Java API docs it looks like this basically just escaped the characters in the eventual URL
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505358 13f79535-47bb-0310-9956-ffa450edef68
|
2007-02-09 16:37:05 +00:00 |
|