aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/data/util/sqlcontainer
Commit message (Collapse)AuthorAgeFilesLines
* Migrate vaadin-server build to mavenTeemu Suo-Anttila2016-03-1437-6679/+0
| | | | Change-Id: I5c740f4e9cb28103bab199f9a552153d82277e7e
* Include correct type and parameter info in exception (#19064)Artur Signell2016-01-041-2/+2
| | | | Change-Id: Ic08bfa69bc0c4cb42ecbb1d53ab712e75075ee10
* Fix spellingSteven Spungin2015-06-191-1/+1
| | | | Change-Id: I7fb13c520c8ff402971214022d44be0db2b9c3ea
* Return 0 instead of throwing exception if count query returns nothing (#18043)Steven Spungin2015-06-081-4/+14
| | | Change-Id: If01c0653021efc85a26d9d5896a4da9d155cf777
* Do not leave transaction open if remove fails (#17858)Artur Signell2015-05-181-2/+8
| | | | Change-Id: Iae9243bd0dc90e130e2866adef472a4d09c4a16f
* Make TableQuery only release connections reserved through its pool (#12370)Artur Signell2015-05-181-4/+4
| | | | | | | Updated all SQLContainer tests to track that connection are correctly reserved and released Change-Id: I3f12527683a19d44a2db265491b6ba9331c0980b
* Reformat project using Eclipse Luna SR1Artur Signell2014-12-291-1/+1
| | | | Change-Id: I58748499c87d470e70304d882d3227cda5803481
* Throw IllegalArgumentException on non-existent version column. (#15290)Sauli Tähkäpää2014-12-151-0/+6
| | | | Change-Id: I68fdea1144253feba906acd882b573d469f39a30
* Make SQLContainer.removeAllItems() work properly with paging (#12882)Ilya Ermakov2014-12-121-1/+0
| | | | | | | With this patch removeAllItems() works properly when items need to be fetched from database. Change-Id: Ic008ae7c67610cbdde7d71fa071494508678ac8f
* SQLContainer removeItem Error when isModified (#8802)Ilya Ermakov2014-12-051-12/+14
| | | | | | This patch makes commit() work properly if an item was modified and later deleted. Change-Id: I5a00024112e7b6bb7ab3750c292a872937f03af9
* Optimizing and avoiding NPE in RowId and ReadOnlyRowId toString(#10410).Denis Anisimov2014-11-193-35/+24
| | | | Change-Id: I6f16b9c55f661f5f75628ff627a01f8ec35e714e
* Handle byte[] type in StatementHelper and correct SQLException (#13305).Denis Anisimov2014-08-201-25/+29
| | | | Change-Id: I235ebe6250b9c03bbea393df7e8eb8823d119a2c
* Update copyright year to 2014Artur Signell2014-04-1637-41/+41
| | | | Change-Id: Ic77338304dc7e58e49f27dcdaf0bab2e00f5bba6
* Class AbstractTransactionalQuery should be public (#12285)Edoardo Vacchi2014-03-121-1/+1
| | | | | | | | | | | | | | | AbstractTransactionalQuery was not visible outside its package (default visibility). Added `public`. Making this class public avoids lots of boilerplate code when making alternate implementations of a QueryDelegate. A standard TableQuery does a lot of introspection on the DB schema. If the schema is known beforehand, alternate implementations may specify this information explicitly, and inherit from AbstractTransactionalQuery to reuse part of the implementation. Change-Id: I7d6b399ed7c755941ee9be7931a2ba80e812b5ab
* Fix SQLContainer paging and caching issue (#11199)Teemu Suo-Anttila2014-02-251-79/+101
| | | | Change-Id: I884c0f0a27a124a49698b141ac63c93950df428d
* NullPointerException in TableQuery.fetchMetadata() (#11403)Edoardo Vacchi2013-09-131-1/+3
| | | | | | | Trivial patch. The finally block lacks a check for null before attempting to invoke table.close() Change-Id: Ib32f1d75fef4bd442652ca60a2b7df6aa45d7fa7
* Use varargs instead of array where appropriate (#4513)Artur Signell2013-06-262-2/+2
| | | | Change-Id: Ide9349b6afa7e56ae04b7727134971ebf81c0b03
* Merge changes from origin/7.0Leif Åstrand2013-05-171-3/+5
|\ | | | | | | | | | | | | | | | | | | | | | | 1a6200e Merge #6880 test from 6.8; fix itself is not needed in Vaadin 7 67696f3 SQLContainer.indexOfId() also searches backwards (#11849, #10376) 611e5f9 Test for #11267 adapted from 6.8. 609acd1 Fixed table height rendering in Android 2.3 #11331 63dd611 Centers VOverlays in visual viewport on iOS, Android, fixes #11614 5a33d7d Test for #11775 0c8edf1 Avoid marking AbstractField dirty in primitive getters (#11201) Change-Id: I7437e0b249c1a95372d6f349e9d6336fb85f08a4
| * SQLContainer.indexOfId() also searches backwards (#11849, #10376)Henri Sara2013-05-141-3/+5
| | | | | | | | Change-Id: Iea3f832cd50314f747b82b774c3be57797f9ac1d
* | Support schemas and catalogs in TableQuery (#7827)Henri Sara2013-04-251-33/+167
| | | | | | | | Change-Id: Ib8282dc77e3d06d49ce8815a3f4b036541d9acea
* | Replaced Filterable.hasContainerFilters with getContainerFilters (#11234)Artur Signell2013-04-241-3/+16
| | | | | | | | Change-Id: Ie0b05e55c1d8fc8d10d073c508b112da740c3333
* | Re-added Property.toString warning messages (#10916)Artur Signell2013-04-241-15/+22
| | | | | | | | | | | | * Made it possible to toggle the toString() behavior using the "legacyPropertyToString" init parameter. The default value is "warning" which enables the legacy Property.toString implementation and logs a warning message when it is used. Other supported values are "true" which enables the legacy mode and "false" which disables it. Change-Id: Ife19352b86590464c8e441b7f82f4fec3b1f3235
* | Added Container.hasContainerFilters() API #11234John Ahlroos2013-03-221-1/+8
|/ | | | Change-Id: I223dbc7a8419a5c4b58321b708e8bd7c8bb8134b
* Eliminate connection/statement/result set leaks in TableQuery (#10582)Leif Åstrand2013-03-133-230/+292
| | | | | | | | | | | | | | | | | Includes some refactoring to extract common parts of FreeformQuery and TableQuery to AbstractTransactionalQuery. svn changeset:25541/svn branch:6.8 Added missing Serializable for AbstractTransactionalQuery (#10582). svn changeset:25559/svn branch:6.8 Conflicts: server/src/com/vaadin/data/util/sqlcontainer/query/FreeformQuery.java server/src/com/vaadin/data/util/sqlcontainer/query/TableQuery.java Change-Id: I3d055e0f071739ac4536fddb0f49b8d6b8e6d07b
* (#10563) Logging now uses parameters.Mikael Grankvist2013-02-282-7/+10
| | | | Change-Id: Icc807cc2eb391fb0118800383fc93d1e23b04570
* Merge of (#10878) to Vaadin 7.Anna Koskinen2013-02-051-1/+3
| | | | | | | Ensure unique ordering when using TableQuery with multiple primary key columns. Change-Id: I9145717d1658393b19a2bca27ac211cad075fc27
* Merge of (#10563) to Vaadin 7.Anna Koskinen2013-02-052-14/+15
| | | | | | | Use template strings and log level checks to improve performance when logging is disabled. Change-Id: I48d370f523c6361ce8704afc7a0903412b31b2a0
* Merge "Merge of (#10582) to Vaadin 7." into 7.0Johannes Dahlström2013-02-051-46/+114
|\
| * Merge of (#10582) to Vaadin 7.Anna Koskinen2013-02-011-46/+114
| | | | | | | | | | | | Ensure SQL connections etc. of FreeformQuery are closed. Change-Id: I5488510ef7d752e8e743408e0f60acf483e45fc1
* | Merge of (#10437) to Vaadin 7.Anna Koskinen2013-02-011-1/+1
|/ | | | | | Log message fix. Change-Id: I172b73cba8b5a56a5e2b9d8028c8d98f80baffef
* Merge of (#10032) to Vaadin 7.Anna Koskinen2013-01-091-1/+1
| | | | | | SQLContainer and DB2 not handling empty result set metadata correctly. Change-Id: I20ad1e3d528f92826e3f9049403c6a953a6a07c8
* Updated copyright notices and added missing license headersArtur Signell2013-01-0436-36/+36
| | | | Change-Id: I419ce4581d1a8b84d4236a85a1333d23f3423b2e
* Merge of (#9529) to Vaadin 7.Anna Koskinen2012-12-211-4/+19
| | | | | | Limit unnecessary database queries. Change-Id: Iae2ed72dd2d044f02abe775f2289126c5f5dbe1d
* getPrevItemId should return null if id not found (#10124)Artur Signell2012-11-281-1/+6
| | | | Change-Id: I9c0a07610e942bf8fac5832341a4fb31bfd6342a
* Unified deprecation messagesArtur Signell2012-11-226-17/+18
| | | | Change-Id: If3fc2c2d9b251cbc6f2a9da2ede23ff17f7362ef
* Changed Property.setValue(Object) to setValue(T) (#8791)Artur Signell2012-10-232-2/+2
| | | | Change-Id: I9f0e6bd62102c5adc461884b1f3b2cbe69f19259
* Avoid throwing exceptions from toString, log message instead (#9804)Artur Signell2012-10-011-2/+16
| | | | Change-Id: Ia2f8504a0fe75ab3a7c4746d533e5fd012e2a69c
* Reformat projectLeif Åstrand2012-09-052-0/+4
|
* Fix SQLContainer indexed access and related tests (#9472)Henri Sara2012-09-041-3/+11
|
* inner Event classes converted to static nested classes (#5855)Pekka Hyvönen2012-09-041-1/+1
|
* Add Container.Indexed.getItemIds(int, int) for a range of items (#8028)Henri Sara2012-08-311-2/+12
| | | | | | | | | This permits optimization of data fetches from various containers where getting single items by index in a loop might be costly. Also add a helper method in ContainerHelpers to make it easier to implement the new method where performance of fetching an id by index is not an issue. SQLContainer still uses this helper instead of an optimized implementation.
* refak listeners com.vaadin.data.util.sqlcontainer.queryPetri Heinonen2012-08-302-2/+36
|
* refak listeners com.vaadin.data.util.sqlcontainerPetri Heinonen2012-08-301-4/+42
|
* Merge remote-tracking branch 'origin/6.8'Artur Signell2012-08-271-3/+1
| | | | | Conflicts: server/src/com/vaadin/ui/Select.java
* Removed API deprecated in Vaadin 6 (#9071)Artur Signell2012-08-221-2/+4
|
* Merged 6.8 branchJohn Ahlroos2012-08-203-19/+146
|
* Replaced license place holder with actual license (#8955)Artur Signell2012-08-1636-36/+468
|
* Moved server files to a server src folder (#9299)Artur Signell2012-08-1336-0/+5652