Hans Bakker
9d4f24a0d3
improved implementation of rev 616995 as suggested by david.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@617966 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 09:14:56 +00:00
Hans Bakker
67a5ebe862
Entity sync did not work for deletes because the timestamps of the deleted record where also checked to be the same as the original record, this however was never true, even not after the copy of the complete database. Now the deleted record is only checked for the primary key.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616995 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 03:59:59 +00:00
David E. Jones
75c26763e5
Fairly significant update to correct a long-standing problem; reverted ByteWrapper back for backward compatibility, and then replaced all use of ByteWrapper with java.nio.ByteBuffer; the main point is to both store only the byte[] data in the database and not a serialized object containing the byte[], and at the same time be able to read the old ByteWrapper objects, and there is a service to read and update all old data to be plan bytes instead of wrapped in a serialized object; this includes changing the java-type for blob fields to be java.sql.Blob to greater compatibility and flexibility, ie you can either set a plain byte[] or you can pass in a Blob object to be persisted, you can also get both as get returns java.sql.Blob, but getBytes always returns the byte[], converting as needed; this is tested a fair amount, but obviously needs to be watched as it is new code
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587433 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 09:52:49 +00:00
Adam Heath
c69096e93a
Switch as much as possible from StringBuffer to StringBuilder.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585805 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 02:56:02 +00:00
Adam Heath
2ff7a8a575
Make use of the single-arg variants of makePK/makeValue, removeAll,
...
and clearCacheLine
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585803 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 02:46:57 +00:00
Adam Heath
2a86a44888
Allow multiple files to be installed on the command line, by splitting
...
on comma. Closes https://issues.apache.org/jira/browse/OFBIZ-1284
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585645 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 19:46:52 +00:00
David E. Jones
2e96095d1c
A few extensions to the watchEntity service
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570297 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 03:23:23 +00:00
David E. Jones
e20fb4bd36
Added set element for Entity ECA rules, and a simple service to be run as an EECA for watching entire entities or single fields on entities
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570282 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 00:47:58 +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
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
800cb93c3c
updated data loader new command line -help to show all valid arguments
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523400 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 16:31:35 +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
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
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
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
Jacques Le Roux
dad67935f7
A (large) patch from Scott Gray "Update ASL header" ( https://issues.apache.org/jira/browse/OFBIZ-637 ).
...
I put also some svn:ignore for shark build and lib diretories and assetmaint/build
I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.
I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Jacques Le Roux
a5632fa086
This is hte change of ASL2 headers in java files only.
...
Seems correct (35827 lines to review ;o).
I just wonder if we should keep the copyright comment in Classpath.java (about MortBay)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496982 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 10:22:33 +00:00
Andrew Zeneski
ad6e81d0e5
existing service group files migrated to new format
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493120 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 18:27:44 +00:00
Jacques Le Roux
bd428bde64
A patch from Stefan Huehner "Code-Cleanup: new Boolean(true) -> Boolean.TRUE" ( https://issues.apache.org/jira/browse/OFBIZ-530 ).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484976 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 12:19:28 +00:00
Jacques Le Roux
f855cb3f2b
A patch from Stefan Huehner "Code-Cleanup: remove superflous new String and .toString() calls" ( https://issues.apache.org/jira/browse/OFBIZ-533 ).
...
This files was missing because I had to revert them to resolve previous conflict
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484974 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 12:15:39 +00:00
Jacques Le Roux
084ff1b883
A patch from Stefan Huehner "Code-Cleanup: remove unncessary return at end of void function" ( https://issues.apache.org/jira/browse/OFBIZ-536 ).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484972 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 11:52:56 +00:00
Jacques Le Roux
9b3b889c7b
A patch from Stefan Huehner "Remove unused variables" ( https://issues.apache.org/jira/browse/OFBIZ-525 ).
...
Issue is not closed : more patches to come
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@483405 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 10:21:27 +00:00
Jacques Le Roux
eb82782d03
A patch from Stefan Huehner "Remove unused variables" ( https://issues.apache.org/jira/browse/OFBIZ-525 ).
...
Issue is not closed : more patches to come
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@483235 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 21:18:30 +00:00
David E. Jones
fc96cf5ab7
Changed all build files to add NOTICE and LICENSE files to the META-INF directory in each jar file that is created in OFBiz
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472422 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 08:23:23 +00:00
Jacopo Cappellato
aa106bb4b4
converted deprecated minilang operations to the set operation.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@466421 13f79535-47bb-0310-9956-ffa450edef68
2006-10-21 16:20:54 +00:00
Jacopo Cappellato
bf32f1f46d
Applied patch from Marco Risaliti to removed some $id tags.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454293 13f79535-47bb-0310-9956-ffa450edef68
2006-10-09 06:02:40 +00:00
Jacopo Cappellato
a2a9b0618d
Removed author information from all the files of the "entityext", "example" components: keeping this information in source files is discouraged by the ASF (clearer information about the contributors of a file can be derived from the commit logs).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454125 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 10:44:53 +00:00
David E. Jones
d3f94c5aef
Replaced all old references to [Copyright * The Open For Business Project] which should take care of all of the legal loose ends
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@446798 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 00:35:48 +00:00
David E. Jones
d350333ebd
Some fixes for the distributed cache clear services, and the default OpenJMS configuration; contributed by Peter Goron, old Undersun Jira #OFBIZ-876
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@442704 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 21:03:10 +00:00
David E. Jones
bea65ea45b
Addressed some issues with i18n stuff and comparisons, type conversions; for numbers spaces are removed before parsing; for comparing with constants the en locale is assumed, ie the right value or value2 is mean to be a constant (we might have to do something with expanded strings here, but there string expansion should also generally expand numbers in the system or en locale; may still be an issue there, but the FlexibleStringExpander does a toString to this should be fine); this should fix Apahce Jira OFBIZ-133 and OFBIZ-136
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429249 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 06:11:08 +00:00
Jacopo Cappellato
c2eb35ac38
License change from MIT to ASL2.0 for the files of entity and entityext components not modified by Adam Heath.
...
Thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@423883 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 10:57:51 +00:00
David E. Jones
94fe6d1cda
Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00