aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/data/util
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Ensure StringToIntegerConverter rejects values outside range of int (#12230)Johannes Dahlström2013-08-011-1/+16
| | | | Change-Id: I150bee64144045355bfa75ac10ede663d3feb5ce
* Fix NPE in Like.java (#10167)Patrik Lindström2013-06-281-0/+5
| | | | Change-Id: I041fbc5c3cda08d3cf3453cefc5f044c63dbe9bb
* Use varargs instead of array where appropriate (#4513)Artur Signell2013-06-263-3/+3
| | | | Change-Id: Ide9349b6afa7e56ae04b7727134971ebf81c0b03
* Fix NPE when converting null values (#11895)Artur Signell2013-06-121-20/+39
| | | | Change-Id: Ia2f7f3b0063f3966a816f8afbed11df22d595fc8
* Added type parameter to converter methods (#11895)Artur Signell2013-06-1112-50/+124
| | | | Change-Id: I6562c537d9e5a0745eb67bc613123a265578ae00
* Log stack trace using fine when logging toString warningsArtur Signell2013-06-051-0/+5
| | | | Change-Id: I4dbb5e84df78bad25fa90fc802309e433d516fd6
* Do not log legacy warnings in JUnit tests (#11963)Artur Signell2013-05-311-5/+5
| | | | Change-Id: I5549a524d7fae32b1ef201073ab48cadcc4e8212
* Add missing license headerArtur Signell2013-05-281-1/+1
| | | | Change-Id: Iadf8831b01a292d5e29fea26c877541ab4dc5919
* Added Serializable where missing and ignore classes which do not need ↵Artur Signell2013-05-281-1/+2
| | | | | | Serializable Change-Id: I197b2d62282ee957458e05d9cac357df47f05e85
* Added Java Date to Sql Date converter to better support sql dates (#11224)Artur Signell2013-05-242-0/+61
| | | | Change-Id: I83d8c96a6877ea33b270a1a4a2c6f360a8147518
* Modified the logic in setPropertyDatasource which determines if a new ↵Artur Signell2013-05-221-4/+46
| | | | | | | | | | converter is needed (#11863) The previous logic had two flaws * It allowed converter model type to be a sub type of the model type but not vice versa. Similarly for presentation type. * If the user has set a converter it should be used and not be replaced unless it is absolutely sure that it cannot in any possible way handle conversion (e.g. converter from integer to double cannot handle string to list conversion). If there is a slight chance that it can handle conversion, let it be and let the user set another converter when needed. Change-Id: I2e1c0b3aac90be63ddbc780195f8428398e28ada
* Fixed order of parameters in javadoc (#11158)Artur Signell2013-05-221-3/+3
| | | | Change-Id: I523140051e1034b5fab501517e70209f29b6b869
* Extracted common code for number conveters to abstract super class (#11900)Artur Signell2013-05-225-229/+148
| | | | Change-Id: I53e413f8e9c8754915d80c30d3dca97eb1881c74
* 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-244-6/+58
| | | | | | | | Change-Id: Ie0b05e55c1d8fc8d10d073c508b112da740c3333
* | Re-added Property.toString warning messages (#10916)Artur Signell2013-04-244-49/+165
| | | | | | | | | | | | * 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-224-1/+27
|/ | | | 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
* Corrected javadoc regarding nested property support (#8210)Artur Signell2013-03-062-4/+2
| | | | Change-Id: Idad9a5f4f747487eb2a2f1cda96e14d17b86ed24
* (#10563) Logging now uses parameters.Mikael Grankvist2013-02-284-17/+22
| | | | Change-Id: Icc807cc2eb391fb0118800383fc93d1e23b04570
* Merge "Do not throw NPE when asking for a null propertyId (#10445)"Henri Sara2013-02-081-1/+2
|\
| * Do not throw NPE when asking for a null propertyId (#10445)Artur Signell2013-01-301-1/+2
| | | | | | | | Change-Id: If788d84c66d640368989e443394505600ad12439
* | 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
* (#10716 ) Created tests for validators and converters. Fixed StringToBoolean ↵Mikael Grankvist2013-01-171-1/+1
| | | | | | so that it accepts empty string. Change-Id: I6f0507c1387fd2b1cf637f96cae05df4e6865456
* 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-0484-95/+95
| | | | Change-Id: I419ce4581d1a8b84d4236a85a1333d23f3423b2e
* Merge of (#9529) to Vaadin 7.Anna Koskinen2012-12-211-4/+19
| | | | | | Limit unnecessary database queries. Change-Id: Iae2ed72dd2d044f02abe775f2289126c5f5dbe1d
* Merge of (#9788) to Vaadin 7.Anna Koskinen2012-12-191-96/+131
| | | | | | HierarchicalContainer sometimes left content change events disabled. Change-Id: I77bbee1987f324246a6253f91a6edc23b153d4b1
* Support float fields with FieldGroup (#10553)Artur Signell2012-12-172-0/+124
| | | | Change-Id: Ib7f6fff09e9372576aadfc44c82f7bb9ce9525cf
* Return null as non-existing property for IndexedContainer (#10445)Henri Sara2012-11-301-1/+3
| | | | Change-Id: I9829173dda84d5f496114b7d08204648bf86fc77
* getPrevItemId should return null if id not found (#10124)Artur Signell2012-11-281-1/+6
| | | | Change-Id: I9c0a07610e942bf8fac5832341a4fb31bfd6342a
* Fixed NPE when converting ""Artur Signell2012-11-261-0/+5
| | | | Change-Id: I0cdde2ae9a1c40ebe41a2d1f91f972fe803d455f
* Unified deprecation messagesArtur Signell2012-11-2216-52/+55
| | | | Change-Id: If3fc2c2d9b251cbc6f2a9da2ede23ff17f7362ef
* Use compare for Comparable when determining equals for filtering (#10310)Artur Signell2012-11-221-3/+26
| | | | Change-Id: Ie6e12b1d606d6ed06ae94527427049621b515eed
* Renamed VaadinServiceSession to VaadinSession (#10223)Artur Signell2012-11-162-6/+6
| | | | Change-Id: Id7f367300c000aa47edc12084f4e9500502466c3
* Modified FieldGroup so that fields configured with read only propertiestapio2012-11-081-0/+14
| | | | | will also be made read only (#9076). Change-Id: I183ae263f4952a51513623d38dc9e04ce1482f45
* Merged com.vaadin.service into com.vaadin.util (#10146)Artur Signell2012-11-061-1/+1
| | | | Change-Id: I313ba80073b89a90da8ebe8c26f35c4fcc51f431
* Changed Property.setValue(Object) to setValue(T) (#8791)Artur Signell2012-10-2314-46/+24
| | | | Change-Id: I9f0e6bd62102c5adc461884b1f3b2cbe69f19259
* Avoid throwing exceptions from toString, log message instead (#9804)Artur Signell2012-10-013-7/+47
| | | | Change-Id: Ia2f8504a0fe75ab3a7c4746d533e5fd012e2a69c
* Rename VaadinSession -> VaadinServiceSession (#9733)Leif Åstrand2012-09-282-6/+6
| | | | Change-Id: I4472cebf2f9f4cf3e0dea31a0dda8dc892323c5c
* Return short list instead of exception if less items available (#8028)Henri Sara2012-09-071-6/+1
| | | | Container.Indexed.getItemIds(int, int) does not throw an exception if too few items are available in the container.
* Remove some references to Application in API and docs (#9402)Leif Åstrand2012-09-061-8/+8
|
* Reformat projectLeif Åstrand2012-09-057-0/+22
|