About identity

171-180 of 200Refresh
Forum
1

Is there a function of "drop table" or "delete from table"?

. "$auto" is the name of the automatic global sequence. The name of an identity sequence (specific per entity class) is entityName + "$identity". User defined generators (sequence and table
Forum
1

mappedBy problem

.IDENTITY) public Long id; public String name; @OneToMany(targetEntity=Address.class ... { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) public Long id; public String line
Forum
1

Multi selection and distinct in a criteria query

. But does it make sense? Results with identical 2nd element will not be filtered anyway if the first element is different. Only results in which all the elements are identical are filtered.   aaahh.. okay
Forum
1

Need help to make this test work and define proper annotations for entities Lists

apiName;             public ApiIDDat(String apiNam,String ident){                           apiName = apiNam;                 identifier = ident;             }             public long getId
Forum
1

Query to search for common elements in two separate collections.

I'm trying to work out the most efficient way to build a query that can compare two collections for identical members. Something like: SELECT o FROM Object o WHERE o.someCollection CONTAINS MEMBER ... is to use some sort of hash function for the collections and to retrieve candidate collections by identical
Forum
1

Replication error on slave restart

through /$replication path on slave) [IDENTICAL] 6) restart ODB server on slave [NO EXEPTIONS] 7) While application ... . [NOT IDENTICAL] 9) Stoped slave ODB server, because it continues to send me exeptions 10) sent
Forum
1

On ensuring ID available after persist

and IDENTITY, the SEQUENCE strategy generates an automatic value as soon as a new entity object ... JPA implementation uses its own default strategy. IDENTITY - implementation depends on the database
Forum
1

"Unsupported auto value type java.lang.String" when persisting new instance

. My annotations for primary key: @Id @GeneratedValue(strategy=GenerationType.IDENTITY) private String ID
Forum
1

@SequenceGenerator and single id in whole database

attributes of the @GeneratedValue annotation. By using the IDENTITY strategy without specifying
Forum
1

ArrayIndexOutOfBoundsException

on all the clients are identical. Here is the output from the Doctor: ObjectDB Doctor [version 2.3.4