Closed GoogleCodeExporter closed 9 years ago
Apparently, the trouble starts with this line in
java.util.TreeMap.put(TreeMap.java:531)
compare(key, key); // type (and possibly null) check
com.vercer.engine.persist.util.SimpleProperty.compareTo is not prepared to
compare a blob with itself. Maybe, the method should start with
if(this == o)
return 0;
Original comment by alex.rho...@temet.ch
on 16 Mar 2013 at 6:15
or, as everything thinkable is in the equals() method
if(equals(o))
return 0;
The method in twig 2.0 RC should also work, as value==o.getValue() should be
true if this==o
How can I get 2.0 with maven?
Original comment by alex.rho...@temet.ch
on 16 Mar 2013 at 6:32
Ah yes this bug was fixed in the repo. Have you tried the latest download?
You can build the jaar yourself using these instructions
https://code.google.com/p/twig-persist/wiki/Integration2_0
Original comment by jdpatterson
on 17 Mar 2013 at 9:59
The ObjectDatastore.store(object, parent) method is now
ObjectDatastore.store().instance(object).parent(parent).now()?
Can I replace @Key directly with @Id?
Original comment by alex.rho...@temet.ch
on 17 Mar 2013 at 9:29
Yes, it is now @Id in 2.0 because the long value is only one part of the full
Key. Eventually @Key will probably be used for what is now @GaeKey
Original comment by jdpatterson
on 17 Mar 2013 at 9:35
Original issue reported on code.google.com by
alex.rho...@temet.ch
on 16 Mar 2013 at 6:02