From hibernate-commits at lists.jboss.org Mon Dec 10 20:09:52 2007 Content-Type: multipart/mixed; boundary="===============9137992312298425584==" MIME-Version: 1.0 From: hibernate-commits at lists.jboss.org To: hibernate-commits at lists.jboss.org Subject: [hibernate-commits] Hibernate SVN: r14241 - shards/trunk/doc/reference/en/modules. Date: Mon, 10 Dec 2007 20:09:52 -0500 Message-ID: --===============9137992312298425584== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.ross Date: 2007-12-10 20:09:52 -0500 (Mon, 10 Dec 2007) New Revision: 14241 Modified: shards/trunk/doc/reference/en/modules/limitations.xml Log: HSHARDS-41 As of beta2 we now support objects with ids that are base types. This chan= ge removes this limitation from the docs. Modified: shards/trunk/doc/reference/en/modules/limitations.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- shards/trunk/doc/reference/en/modules/limitations.xml 2007-12-11 00:56:= 15 UTC (rev 14240) +++ shards/trunk/doc/reference/en/modules/limitations.xml 2007-12-11 01:09:= 52 UTC (rev 14241) @@ -132,55 +132,6 @@ Due to the basic nature of the problem we don't expect this to= change anytime soon. - - Objects With Ids That Are Base Types - - With Hibernate your model objects can use whatever they want a= s their ids so long as the id can be - represented by a Serializable (or autob= oxed into a - Serializable). With Hibernate Shards yo= u are slightly more constrained - because we don't support base types. - - - So this is no good: - - - - But this is just lovely: - - - - Do we have a good reason for this limitation? Not really. It's= the result of an implementation - choice that has leaked out and made everyone's lives a tiny bi= t worse. If you simply must - use Hibernate Shards and you simply must model your ids with b= ase types, don't call - Session.saveOrUpdate. We aim to address= this leak soon and let you get back - to modeling whatever way you like (although for the record, we= prefer object ids because - they make it easy to determine whether or not an object has ha= d an id assigned). - - Replicated Data --===============9137992312298425584==--