okay thanks i got confused on generatedValue from reading the documentation I 
was sort of thinking generatedString.

Marc Prud'hommeaux <[EMAIL PROTECTED]> wrote:  
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.




Ransford Segu-Baffoe

[EMAIL PROTECTED]
[EMAIL PROTECTED]

http://www.noqturnalmediasystems.com/
http://www.noqturnalmediasystems.com/Serenade/
https://serenade.dev.java.net/
 
---------------------------------
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.

Reply via email to