I wrestled with JPA again today, and came away with some hard earned knowledge, so I want to put this one up on the interwebs.
I am working with a Database that was created by, effectively, another product. It has a relationship of Contact -<> ContactItem where contact item has a PK of [ContactID, TypeID]. What I really wanted was for Contact to have a map on it of ContactItems index by the Integer typeID.
First off, Composite keys are a PITA in JPA anyway, and doing this with a Map collection type is even worse. So lets go over the important parts:
Well, the app that I submitted didn't win, but it really was a shell of the app I wanted to submit - which didn't make it to fruition based on a host of factors (including being in the middle of writing a book). Maybe it will be done for ADC II . . . . maybe. The one I did submit, WeatherReporter, can be downloaded (for anyone interested) via the Unlocking Android source code link (along with a bunch of other useful examples actually, and the source is completely free).

I bought an Alpine CDA-9884 from Best Buys the other day for around $200. When I was looking at receivers I asked the salesperson what was the better makes they had. He immediately said Alpine, and proceeded to tell me of the new feature they had called Imprint which he explained contained a parametric equalizer. He proceeded to demonstrate the feature and I was able to see him adjust multiple band-pass points in 100 Hz increments. I recall thinking that this would be a nice feature as it would allow a degree of application of Fletcher-Munson correction for lower listening levels.
Unison is a file-synchronization tool for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other.
If you are a developer you need C and C++ Compiler for your development work on your ubuntu system this tutorial will explain howto install C and C++ Compilers in Ubuntu with program examples.In ubuntu you can install the build-essential for C and C++ compilers.
Chatter
5 hours 27 min ago
6 hours 40 min ago
13 hours 18 min ago
1 day 5 hours ago
1 day 8 hours ago
1 day 11 hours ago
2 days 10 hours ago
5 days 13 hours ago
5 days 16 hours ago
5 days 21 hours ago