Michael Bayne
1d826d903f
Beans/frank.
...
I should probably add a test for this. Ha!
2014-06-26 11:50:45 -07:00
Michael Bayne
0583572f34
More docs link fixes.
2014-06-25 16:19:20 -07:00
Michael Bayne
201a720982
Docs link fixes.
2014-06-25 16:18:20 -07:00
Michael Bayne
38dee2e948
Need the .md suffixes.
2014-06-25 16:16:33 -07:00
Michael Bayne
634651fa5a
Moved wiki docs into main project.
...
Why have them separate? Github allows reading docs right in the main tree.
2014-06-25 16:15:18 -07:00
Michael Bayne
3db7b4445b
Fixed wiki links. Added API docs link
2014-06-25 16:12:37 -07:00
Michael Bayne
44091660ea
Migrated to Github.
2014-06-25 15:39:13 -07:00
Michael Bayne
712fe35283
[maven-release-plugin] prepare for next development iteration
2014-06-25 21:54:35 +00:00
Michael Bayne
ad864e3498
[maven-release-plugin] prepare release depot-1.6.4
2014-06-25 21:54:27 +00:00
Michael Bayne
e12e0bf15c
Update Maven compiler plugin.
2014-06-25 21:49:12 +00:00
Michael Bayne
c60d8e2dde
A bunch of Javadoc fixes.
2014-06-25 21:49:09 +00:00
Michael Bayne
a961f5e4c2
Version updates! Mostly plugins, samskivert 1.8.2.
...
Also added maven-dependency-plugin so that hopefully I can release without
freakoutery.
2014-06-25 21:48:53 +00:00
Michael Bayne
97b404c236
Provide a modicum of thread safety for marshaller init.
...
The _marshallers table must be guarded as computed marshallers can be created
at any time, and marshaller initialization itself must be guarded for the same
reason.
Thanks to Ray for pointing this out.
2014-06-25 21:48:50 +00:00
Ray Greenwell
c02625f0d7
Preparing for 1.7-SNAPSHOT development.
2014-05-20 18:37:46 +00:00
Ray Greenwell
832f934faf
Preparing for depot-1.6.3 release.
2014-05-20 18:34:06 +00:00
Ray Greenwell
d45af7c98c
Depend on samskivert 1.7.4..
2014-05-20 18:33:19 +00:00
Michael Bayne
3906c69a88
Liaison now handles exceptioning for us.
2014-05-02 20:46:36 +00:00
Michael Bayne
f2be63ec19
Choke usefully if we can't obtain last inserted id.
2014-05-02 20:14:43 +00:00
Ray Greenwell
800add9667
Clean up imports.
2014-05-02 18:28:50 +00:00
Michael Bayne
9ebd2c677c
Use new smarter DatabaseLiaison.lastInsertedId.
2014-05-02 18:19:51 +00:00
Ray Greenwell
2cf224dd18
Whoops! My last edit didn't actually work, it ended up falling back.
...
This works, but mdb is going to move the special caseyness inside the Liaison.
2014-05-02 18:12:46 +00:00
Ray Greenwell
1a9fc404ba
Ok, this works on both mysql and postgres.
...
On mysql the column name ends up being "GENERATED_KEY".
2014-05-02 01:31:58 +00:00
Ray Greenwell
e2a9702c46
This getGeneratedKeys business doesn't seem to work for us on mysql.
...
Trying a catch/fallback. This should at least provide a workaround for now...
2014-05-01 23:01:55 +00:00
Michael Bayne
e08911369e
Only use RETURN_GENERATED_KEYS on inserts.
...
This works around "unsophisticated" Postgres JDBC drivers which blindly tack
"RETURNING *" onto a query if RETURN_GENERATED_KEYS is supplied.
2013-11-20 19:45:24 +00:00
Michael Bayne
ca4ec1f4d3
Reverse order in addAll(List,Cons).
...
This causes the elements of the list to match the original order they were
added to the cons list (which stores elements "backwards").
This order matters for joins, as Ray discovered.
2013-10-10 22:06:34 +00:00
Michael Bayne
1547c7d44c
[maven-release-plugin] prepare for next development iteration
2013-09-17 19:11:08 +00:00
Michael Bayne
7e1f8d4230
[maven-release-plugin] prepare release depot-1.6.2
2013-09-17 19:11:04 +00:00
Michael Bayne
99a4d7a18e
Only rewrite record file if it changed.
2013-09-17 19:07:19 +00:00
Michael Bayne
bc8a18dec5
Factor the logic of genrecord from the Ant harness.
2013-09-17 19:07:16 +00:00
Michael Bayne
58ede042a6
Fixed some use of wrong log helper.
2013-05-24 18:45:26 +00:00
Michael Bayne
8a74276caf
Various tidyings.
2013-05-24 18:30:57 +00:00
Michael Bayne
952d01c55b
Info -> debug for initial version record message.
...
It's not that important. We already log a message indicating that we created
the table for the first time, which will always follow this message.
2013-05-24 18:30:53 +00:00
Michael Bayne
1bee1d0351
Revamp identity value generator to use Statement getGeneratedKeys.
...
Most JDBC drivers have supported this for ages. No longer do we need the
hackery of turning around and doing another query to obtain generated key
values.
2013-05-16 18:42:16 +00:00
Michael Bayne
81c24f56bf
Fix rawtypes.
2013-05-16 18:42:13 +00:00
Michael Bayne
0b5369fd11
Do this cast in a way that Java 7 doesn't complain about.
2013-05-16 18:42:09 +00:00
Michael Bayne
0c26a26ce0
Bump HSQLDB to 2.9, fix test that assumed count(*) returned int.
2013-05-16 18:42:05 +00:00
Michael Bayne
e468e2937a
Add nexus-staging-maven-plugin; makes releases easier.
2013-05-08 23:33:03 +00:00
Michael Bayne
f3b7af452d
[maven-release-plugin] prepare for next development iteration
2013-05-07 19:54:03 +00:00
Michael Bayne
1f0a64b8e3
[maven-release-plugin] prepare release depot-1.6.1
2013-05-07 19:53:59 +00:00
Michael Bayne
8803b2de12
Use latest guava and samskivert.
2013-05-07 19:51:36 +00:00
Michael Bayne
c340e7062d
Use normal Guava.
2013-05-07 19:39:37 +00:00
Ray Greenwell
4af2b7c95d
More inline comments explaining why we don't just drop the DKE.
2013-05-07 00:41:17 +00:00
Ray Greenwell
ce3a340199
Bugfix: store() should never throw a DuplicateKeyException.
...
It would be extremely rare, but if two nodes were trying to simultaneously
store() the same record with the same Key, one could fail with a DKE.
Attempt a second 'update' if the insert fails.
2013-05-07 00:03:05 +00:00
Michael Bayne
c63ce0c10e
Out with arrays, in with collections.
2013-05-06 18:19:31 +00:00
Michael Bayne
a625c831ae
Updates to work with HSQLDB 2.2.4.
...
We need the HsqldbLiaison fixes from samskivert 1.8-SNAPSHOT and we have to nix
some hardcoded bogosity in our own tests.
2013-05-06 17:38:16 +00:00
Michael Bayne
959dbacb53
[maven-release-plugin] prepare for next development iteration
2012-10-09 19:15:33 +00:00
Michael Bayne
e6072acae9
[maven-release-plugin] prepare release depot-1.6
2012-10-09 19:15:26 +00:00
Ray Greenwell
5afad5b6b3
Move to samskivert 1.7 and guava-jdk5 13.0
2012-10-03 00:24:17 +00:00
Ray Greenwell
9614fc02b9
This note has been obsolete since r376. Removed.
2012-08-13 17:56:37 +00:00
Michael Bayne
2a81514ae7
Use the right classpath in genrecord.
2012-07-25 16:38:46 +00:00