This is briefly discussed at:

http://incubator.apache.org/openjpa/docs/latest/manual/ manual.html#jpa_overview_meta_gen

An example of how the annotation might look:

@javax.persistence.Entity
@kodo.persistence.DataStoreId(strategy = javax.persistence.GenerationType.SEQUENCE, generator = "system")
public class MyEntity {
    @javax.persistence.GeneratedValue(generator = "uuid-hex")
    @javax.persistence.Column(name = "MY_UUID_HEX_COLUMN")
    private String uuid;
}




On Mar 30, 2007, at 12:16 PM, paksegu wrote:

Hi,
Can anyone give me a tip or an example on using the uuid-hex identity? Thanks


Ransford Segu-Baffoe

[EMAIL PROTECTED]
[EMAIL PROTECTED]

http://www.noqturnalmediasystems.com/
http://www.noqturnalmediasystems.com/Serenade/
https://serenade.dev.java.net/

---------------------------------
The fish are biting.
 Get more visitors on your site using Yahoo! Search Marketing.

Reply via email to