History of jbidwatcher/trunk/src/com/jbidwatcher/util/db/ActiveRecord.java

  • @645
    avatar 645

    Merge branch 'master' of git@github.com:cyberfox/jbidwatcher

    by mrs, 05 Oct, 2008 09:24 AM
  • @635
    avatar 635

    Strip caching entirely from the app; it's not strictly necessary, and it's confusing EVERYTHING.

    by mrs, 15 Sep, 2008 06:19 AM
  • @575
    avatar 575

    Don't shutdown database before all tables have done their own commit. Also rename count_by to a more Java-esque countBy.

    by mrs, 25 Jul, 2008 10:23 PM
  • @574
    avatar 574

    Ensure that all database statements, tables, and connections are committed and shut down at the close of the app.

    by mrs, 24 Jul, 2008 06:07 PM
  • @512
    avatar 512

    Remove all AuctionServerManager references to the entryList, so all auction references through it are done directly to the database! Not done yet, it's still a bit dangerous...

    by mrs, 20 Jun, 2008 06:31 AM
  • @511
    avatar 511

    A little more cleanup, and actually finishing off the prototype 'saveAssociations' method. It'd be nice if it worked... :)

    by mrs, 20 Jun, 2008 05:46 AM
  • @510
    avatar 510

    Move the caching functionality out into its own ActiveRecordCache class, so it doesn't complexify the ActiveRecord class unnecessarily.

    by mrs, 20 Jun, 2008 03:22 AM
  • @509
    avatar 509

    Move the caching functionality out into its own ActiveRecordCache class, so it doesn't complexify the ActiveRecord class unnecessarily.

    by mrs, 20 Jun, 2008 03:21 AM
  • @503
    avatar 503

    Pre-cache by both id and identifier for AuctionInfo objects, and add support for that to the ActiveRecord class.

    by mrs, 19 Jun, 2008 08:48 PM
  • @490
    avatar 490

    Sweeping changes to improve deletion speeds and intelligence.

    Also some minor performance improvements (actually clearing the dirty flag on save) which should speed up shutdown.

    Also, when we find an auction entry we can't load because the auction id is no longer present, remove the entry.

    by mrs, 12 Jun, 2008 09:37 AM
  • @481
    avatar 481

    Change the precache code for AuctionInfo to only pre-cache the ones which are associated with auction entries. This prevents a nasty problem for beta1 users who ended up with large amounts of unnecessary auction info rows in their database. Since they're not referenced, we shouldn't need to load them.

    [#54 tagged:committed state:resolved]

    by mrs, 02 May, 2008 01:56 AM
  • @455
    avatar 455

    A few simple changes to try and ensure that the entry and auction don't get out of synch with respect to the currency types.

    [#27 tagged:committed state:resolved ]

    by mrs, 27 Apr, 2008 08:18 AM
  • @447
    avatar 447

    Don't throw an NPE if a particular class doesn't have any cached entries to save on close.

    by mrs, 27 Apr, 2008 04:15 AM
  • @444
    avatar 444

    Snapshot a little further towards magic ActiveRecord tricks.

    by mrs, 26 Apr, 2008 08:01 AM
  • @421
    avatar 421

    First pass at making 'magic' active record, where it automatically saves associated objects.

    by mrs, 07 Apr, 2008 10:14 AM
  • @420
    avatar 420

    Handle currencies by default if there's a 'currency' column.

    by mrs, 07 Apr, 2008 09:49 AM
  • @419
    avatar 419

    More work towards fixing the incorrect currency on startup issue.

    Make all currency-related tables include a currency column.

    [#18 tag:committed status:open]

    by mrs, 07 Apr, 2008 08:16 AM
  • @349
    avatar 349

    Remove and clean up a few more tangles of code interdependencies, as indicated by Structure101.

    by mrs, 05 Mar, 2008 10:40 AM
  • @346
    avatar 346

    Sweeping refactorings to improve the overall design. Structure101 is an awesome program. Far out of my price range, but awesome.

    by mrs, 04 Mar, 2008 04:36 AM