James Ahlborn
1ff24f80a1
tighten up readonly handling for external channels; minor test code refactor
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1368 f203690c-595d-4dc9-a70b-905162fa7fd2
2 years ago
James Ahlborn
3ff4ae6d67
Add basic support for access 2019+ dbs.
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1364 f203690c-595d-4dc9-a70b-905162fa7fd2
2 years ago
James Ahlborn
e358751fe0
make some useful things public; add auto module name to manifest
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/modules@1348 f203690c-595d-4dc9-a70b-905162fa7fd2
3 years ago
James Ahlborn
450ef90a1c
change the default DateTimeType to LOCAL_DATE_TIME
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1325 f203690c-595d-4dc9-a70b-905162fa7fd2
4 years ago
James Ahlborn
42c8f108f9
enable expression evaluation by default
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1324 f203690c-595d-4dc9-a70b-905162fa7fd2
4 years ago
James Ahlborn
bd9509e682
use default remove impl
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1320 f203690c-595d-4dc9-a70b-905162fa7fd2
4 years ago
James Ahlborn
5329ce1529
add separate method for reading root db page
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/a97_indexes@1306 f203690c-595d-4dc9-a70b-905162fa7fd2
4 years ago
James Ahlborn
1fb85bd37a
Add Database.newTableMetaDataIterable() which enables iterating through table names without loading the entire collection into memory at once
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1295 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
55531bcd05
fix channel open options for new files
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1257 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
0f568a4620
add system prop for date/time type; rework how date/times are written based on date/time type
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1253 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
9c638f35bf
overrides everywhere
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1246 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
112cb827e9
Ignore column validators for read-only dbs. This will avoid irrelevant failures when reading databases which have invalid column properties. Fixes #150
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1240 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
21fe1417bb
use interface to pass zone info into date/time conversion methods
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1239 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
843a44dfe0
switch expression engine to LocalDateTime
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1238 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
abf32c90b1
initial support for LocalDateTime and Temporal types
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1235 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
6626d6b28f
add support for Path
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1233 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
f6315def9c
switch to commons lang3
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1230 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
443c9fef2b
rework public expression api with better locale handling; support parsing of number strings with grouping separators
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1203 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
1a8771e555
plug expr evaluation into columns/tables; create Identifier for tracking expression ids; support single quoting in expressions; tweak string to number coercion; implement topo sorter for calc col eval
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1148 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
5a39a80966
start enforcing the required and no-zero len column properties
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1147 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
b8f3fcca02
move rnd logic to RandomContext
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1144 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
4fb8409266
Add full support for access 2016 databases including the new 'Large Number' (aka Bigint) data type. Fixes feature #37
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1130 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
16fa12b67a
Add option to specify relationship name, fixes pull request #4
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1103 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
ae032248c9
Add CustomLinkResolver which facilitates loading linked tables from files which are not access databases. fixes feature request #36
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1095 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
54972c4de5
Cover the GENERIC_JET4 format in unit tests, thanks to Gord Thompson
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1093 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
5ae4421b4c
ditch extra import
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1066 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
e4c2cde994
better fix for switching read-only file formats to read-only mode, wrap with read-only FileChannel. fixes feature #34
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1057 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
7b8f4c32d5
automatically switch to read-only mode when opening a file format which does not support writing, fixes feature #34
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1055 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
7ae65eeb68
impl expr tokenization
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1037 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
545c026985
more update tests; fix minor bug with allocating new usage maps
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1032 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
4de28cb4f6
update javadocs, minor cleanups
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/mutateops@1030 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
c41e88f465
ensure unique rel name and limit total length
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/mutateops@1027 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
399e865d29
sort out setting owner and sids for new objects
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/mutateops@1020 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
fceec0358a
add some validation for integrity enforced relationships
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/mutateops@1013 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
8d88e1737d
implement fkref writing; more error context; make relationship name unique
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/mutateops@1012 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
832fb5e6a6
add row rel row to sys catalog as well
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/mutateops@1011 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
c0f012de1f
some fixups to get rel insert functional
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/mutateops@1007 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
05c3c85cc9
implement method for writing new relationship to db
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/mutateops@1005 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
060172ce30
reorg to prep for RelationshipBuilder; move remaining table creation logic from TableBuilder to TableCreator
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/mutateops@1002 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
4e5fe7ec04
Add Database.getTableMetaData method to enable getting basic info about a Table (by name) without actually loading it. fixes feature request #33
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@979 f203690c-595d-4dc9-a70b-905162fa7fd2
8 years ago
James Ahlborn
6deaa095c7
Add FileFormat.GENERIC_JET4 in order to support getting the file format for jet4 databases with no AccessVersion property (e.g. those created programmatically using ADOX). fixes issue #129
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@970 f203690c-595d-4dc9-a70b-905162fa7fd2
8 years ago
James Ahlborn
b7fd6e39bb
Add some utility methods for handling Dates in an Access compatible manner. fixes issue #128
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@966 f203690c-595d-4dc9-a70b-905162fa7fd2
8 years ago
James Ahlborn
c114faa659
throw better exception when attempting to create file which does not support creation
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@963 f203690c-595d-4dc9-a70b-905162fa7fd2
8 years ago
James Ahlborn
d70251c8fb
tweak some docs
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@942 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
e8616e6476
Allow optional direct insert/update of autonumber values. This is disabled by default, but can be selectively enabled per-jvm (using system property), per-database, and per-table. fixes feature #32
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@941 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
0521456553
more user friendly exception message
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@936 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
James Ahlborn
09c42b87bb
Load linked table info from system table when reading databases with unsupported sort orders. Fixes issue #123
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@935 f203690c-595d-4dc9-a70b-905162fa7fd2
9 years ago
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
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
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