Andrew Zeneski
4202c6ecac
refactored entity engine factory and transaction factories to allow full configuration of managed connections through entityengine.xml. changed all connection factories to be instance objects (singleton pattern) implementing the new ConnectionFactoryInterface interface.
...
Two working connection factories are included now, Minerva and DBCP.
Minerva is still default until more testing can be done on DBCP; to change this use the DBCPConnectionFactory instead of MinervaConnection factory (see entityengine.xml)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@575396 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 18:32:31 +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
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
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
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
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
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
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
Andrew Zeneski
41b3456807
removed entity group org.ofbiz.odbc; can be replaced with the shipext package (available soon)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496784 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 17:26:20 +00:00
Jacques Le Roux
4c9c8bd33c
A patch from Cameron Smith : Entity Engine: entityengine.xml: Default MSSQL JDBC settings incorrect ( http://issues.apache.org/jira/browse/OFBIZ-332 )
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451294 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 13:53:14 +00:00
David E. Jones
328b9943ba
Whoops, set default to postgres in last commit; have changed back to derby where it should be out of svn
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431162 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 11:22:10 +00:00
David E. Jones
b9c603e662
Added option to use binary type for blobs, configurable on the datasource element in entityengine.xml; this is mainly for Postgres and is necessary to use the BYTEA type for blob; I have tested this and it appears to be working fine; this should fix Undersun Jira #OFBIZ-334
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431161 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 11:19:12 +00:00
David E. Jones
30d676aa67
Removed read-data elements from localderbyodbc datasource as they don't really apply to it
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424170 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 04:31:18 +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