James Ahlborn
17908417ae
relicense with Apache License
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@930 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
99fa877f0f
remove unused loggers
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@929 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
e4e4ba42f6
need to compare primitive short
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@928 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
f97595dea9
cleanup some ColumnBuilder stuff around copying existing columns, remove useless warning; fixes #120
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@923 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
535fc3dac5
better index setup call
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@922 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
fad035e0b9
Implement support for indexes on BINARY fields
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@921 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
b60366623e
missed a few more error context usages
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@920 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
957d85b4f1
lower log level for certain system table warnings; add contextual info to many errors/warnings: feature #29
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@919 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
babfdb1947
add some convenience methods for new TableIterableBuilder; add change notes for linked table updates
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@918 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
4ffcf30a2a
fix linked table test; add unit tests for new table iteration methods
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@917 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
54713bcd6c
add more flexible table iteration, feature #28
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@916 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
339c27868e
add method to simplify testing whether or not a Table is linked to a Database, feature #28
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@914 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
8189b45196
handle input String boolean values
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@911 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
95d0db424e
Make ColumnBuilder.setMaxLength do the right thing regardless of column type. Add setMaxScale and setMaxPrecision helpers. Make default length for TEXT columns the max length
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@910 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
0349005335
minor cleanup in toInternalValue
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@909 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
6b74a49d9b
make SimpleColumnMatcher handle a wider range of input data types by coercing them to the appropriate internal value typefg
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@908 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
d327ceb55e
Better validation of identifier names (disallow invalid characters according to access naming rules)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@902 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
e6e0208c97
Don't double quote already quoted identifiers. fixes patch 18
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@901 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
2e461c270a
Fix table name quoting for append and make table queries. fixes patch #17
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@900 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
bae32bb3b1
Add newer sql type to access type mappings if the jvm supports them. fixes #113
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@899 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
45d9cf846b
make money columns report accurate scale/precision, fixes #112
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@894 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
a0c7c8dc68
rework unicode compression support, fixes issue 111
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@892 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
f8ba282d71
more unit test perf tweaks
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@890 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
f17433f2de
fix regression where empty memo values are returned as null (issue 110)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@884 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
364584d16a
only need to generate index row values once per lookup iteration
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@883 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
8249b36e98
add unit test for iteration early exit fix
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@882 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
94148f092f
IndexCursor can early exit when searching based on indexed values, fixes 109
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@881 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
a960782626
fix creation of calculated fields
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@876 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
2e8ed25916
Add the ability to create tables with calculated fields
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@873 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
84089cb137
add tests for builder property setters
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@872 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
7d4abaafe2
add some unit test for property type inference
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@871 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
d608f41a7a
add ability to set properties in the various Bulders
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@870 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
b9dcd48b43
some minor cleanups for reading and writing calculated columns (issue #105)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@869 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
40842f747e
initial support for reading and writing calculated columns (issue #105)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@868 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
111f269f83
refactor ColumnImpl into multiple type specific sub-classes
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@865 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
7049764860
Add Cursor.findRow(RowId) for moving to a specific Table row using only the RowId
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@864 f203690c-595d-4dc9-a70b-905162fa7fd2
10 years ago
James Ahlborn
6f5cf0bdb1
add getBlob convenience method
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@861 f203690c-595d-4dc9-a70b-905162fa7fd2
10 years ago
James Ahlborn
903e35369a
enhance javadocs
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@860 f203690c-595d-4dc9-a70b-905162fa7fd2
10 years ago
James Ahlborn
840ccbde0f
add convenience methods to Row for getting values cast to specific types
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@859 f203690c-595d-4dc9-a70b-905162fa7fd2
10 years ago
James Ahlborn
7fdfea1510
fix javadoc reference
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@858 f203690c-595d-4dc9-a70b-905162fa7fd2
10 years ago
James Ahlborn
6058071abd
fix log message
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@856 f203690c-595d-4dc9-a70b-905162fa7fd2
10 years ago
James Ahlborn
393f14089d
add column validator unit tests, work out some wrinkles
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@851 f203690c-595d-4dc9-a70b-905162fa7fd2
10 years ago
James Ahlborn
23b2a93764
add some convenience methods for working with primary keys
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@850 f203690c-595d-4dc9-a70b-905162fa7fd2
10 years ago
James Ahlborn
f73e6c33c7
add initial ColumnValidator support
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@849 f203690c-595d-4dc9-a70b-905162fa7fd2
10 years ago
James Ahlborn
a478c716e0
Fix NullPointerException in RowImpl.toString when value is null.
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@844 f203690c-595d-4dc9-a70b-905162fa7fd2
10 years ago
James Ahlborn
a3c4f6214b
attempt to restore autonumbers on some add row failures
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@838 f203690c-595d-4dc9-a70b-905162fa7fd2
10 years ago
James Ahlborn
aa1c80cbff
Rework row add/update so that constraint violations do not leave behind partially written rows, fixes issue 99
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@837 f203690c-595d-4dc9-a70b-905162fa7fd2
10 years ago
James Ahlborn
1b850aa21f
Add ConstraintViolationException to distinguish exceptions due to violating database constraints from other random errors.
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@835 f203690c-595d-4dc9-a70b-905162fa7fd2
10 years ago
James Ahlborn
0f766b14c3
remove unnecessary methods
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@834 f203690c-595d-4dc9-a70b-905162fa7fd2
10 years ago
James Ahlborn
8a2d7bd1e7
minor cleanups/formatting
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@832 f203690c-595d-4dc9-a70b-905162fa7fd2
10 years ago