James Ahlborn
c06862149b
add support for writing large table definitions; move table definition code into Table (out of Database)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@159 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
a05f660f7b
add flush method to Database; add unit test for new usage map functionality
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@157 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
a97ce25f57
rework inline usage map handling to handle out-of-range cases better and with more clarity
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@156 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
0e545e6c73
only write the row for the usage map table when updating
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@155 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
a1a8b571b7
make pageiterators work even as usagemap bits are shifted around
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@154 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
dce6d6569a
initial implementation of support for promoting nline to reference usage map
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@153 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
c10d010cde
move usagemap implementations into UsageMap in prep for future changes; clean up initial setup of new table
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@152 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
57e9dc1f1c
use TempPageHolder in reference usage map
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@151 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
931b696348
switch from Integer list to BitSet in UsageMap
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@150 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
aa2834f4ef
add Index.getName
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@149 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
b0bc33f822
handle reading/writing numeric values which thing that they are fixed length fields (fix #1672071)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@148 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
5de2b053b8
include format in validation
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@147 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
98e48307a5
do not use hard coded unit size
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@146 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
c21b6dc939
tweak input row handling at beginning of createRow
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@145 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
1890ff2fe0
fill in offsets for trailing deleted var len columns
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@144 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
ed6ff8410b
when writing table definition, set things up so long variable length columns are written after normal variable length columns. this makes it more likely that all the data can be written sucessfully because long var columns can be written in separate data pages (fix bug [1675522]); tweak row writing to account for deleted columns
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@143 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
369bac8704
add autosync option
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@141 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
c1f7c9fdc1
add unit test for new copyTable behavior
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@136 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
aca6f8632e
better import/copy column setup; added ability for users to further customize import/copy behavior through ImportFilter (fix #1593465)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@135 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
13c39138cf
better import/copy column setup; added ability for users to further customize import/copy behavior through ImportFilter (fix #1593465)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@134 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
8e21d64746
better import/copy column setup; added ability for users to further customize import/copy behavior through ImportFilter (fix #1593465)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@133 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
eda39fe8e6
remove invalid character
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@132 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
b9378914c8
implement multi-page long value writing
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@127 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
584802a0b8
read index entries on demand
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@126 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
0346306296
fail more gracefully if writing large index
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@125 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
0fbd0d45ec
support reading 'compressed' indexes (fix 1563654)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@124 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
c68aa36c48
add support for get/put int of different byteorder
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@123 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
439d158a97
add offset for next leaf page number
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@122 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
71e5528cb0
save set of lookup columns
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@121 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
23423a0a36
fix ordering of byte code comparator
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@120 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
78c26cb7fe
create method for interpreting boolean values
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@119 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
aa7e5d1985
further refactor or row parsing logic
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@116 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
7e61560f9a
change numeric negate flag
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@115 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
ae862b628d
clean up index reading/writing of text columns, add support for more characters
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@114 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
bf29d93ef7
remove debug printlns
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@113 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
8a086d64b7
honor endianness when reading currency values
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@112 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
251d74f03f
add dump to file utility method
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@111 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
2cc11038b9
do not ask me why, but numeric columns are considered variable length, even though they are always the same size
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@110 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
fb03eb44f4
rework current row page tracking with RowState
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@109 f203690c-595d-4dc9-a70b-905162fa7fd2
17 years ago
James Ahlborn
21f83e85b4
implement overflow row reading
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@108 f203690c-595d-4dc9-a70b-905162fa7fd2
18 years ago
James Ahlborn
4aab96f721
refactor index entries to allow for fixing textual entries (not finished yet)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@107 f203690c-595d-4dc9-a70b-905162fa7fd2
18 years ago
James Ahlborn
fa601c1c2f
fix row usage and free space calculations
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@106 f203690c-595d-4dc9-a70b-905162fa7fd2
18 years ago
James Ahlborn
abd574dd1a
clean up lots of cruft around datatypes; add more sanity checking on table creation; fix free space calculations
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@105 f203690c-595d-4dc9-a70b-905162fa7fd2
18 years ago
James Ahlborn
d89f63cae7
added some more debug info
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@104 f203690c-595d-4dc9-a70b-905162fa7fd2
18 years ago
James Ahlborn
2af41c1457
make read-only logic slightly cleaner
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@102 f203690c-595d-4dc9-a70b-905162fa7fd2
18 years ago
James Ahlborn
144550dd0d
add support for opening files read-only (#1545857)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@101 f203690c-595d-4dc9-a70b-905162fa7fd2
18 years ago
James Ahlborn
b49706433d
more tweaks to index reading/writing
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@100 f203690c-595d-4dc9-a70b-905162fa7fd2
18 years ago
James Ahlborn
9607492825
further cleanup on row reading; fix recent issue of reading var len data twice
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@99 f203690c-595d-4dc9-a70b-905162fa7fd2
18 years ago
James Ahlborn
8d3f85d572
allow reading multi-page memos
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@98 f203690c-595d-4dc9-a70b-905162fa7fd2
18 years ago
James Ahlborn
e14758ca3e
use uppercase names when adding text columns to indexes, which fixes long standing problem with table names starting with lowercase characters (and other situations where tables could not be opened in access)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@94 f203690c-595d-4dc9-a70b-905162fa7fd2
18 years ago