Could you try grabbing the source of Cayenne and running the test suite in Java 8? I don't know what any of the developers has tried that yet. There have certainly been inconsistencies in the past in the JDBC libraries between different versions of Java.
https://cayenne.apache.org/building-cayenne.html I see that JSR-310 [1] is finally scheduled to land in Java 8. I wonder if that is related to your problem? Ari [1] https://github.com/ThreeTen/threeten On 26/11/12 8:35pm, do...@xsinet.co.za wrote:
Over the weekend I tried running my app with jdk1.8 ea and found that some of the methods (in the auto package classes) that return a sql.Date then throw a class cast exception complaining that it can't cast util.Date to sql.Date !? However the app works fine in jdk1.7 ? It appears that the different java versions are returning a different object for readProperty: jdk1.7 returns sql.Date jdk1.8 returns util.Date Has anybody experienced something like this ? Thanks.
-- --------------------------> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A