Internal Website Search

51-60 of 145 resultsRefresh

Database size is much larger than expected (x2)

.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id ... public int hashCode() {   return sUrl.hashCode(); } @Id     @GeneratedValue

failure to enforce NOT NULL for java.lang.String

() { } @Id @GeneratedValue(strategy=GenerationType.IDENTITY) private Long id; @Unique ... ;   }         @Id @GeneratedValue(strategy

openejb jpa jaas module

principalName; @GeneratedValue(strategy = GenerationType.SEQUENCE , generator = "gen") @Id ... where ui.mailAddress = :mail") }) public class UserInfo implements Serializable { @GeneratedValue

@MappedSuperclass and @Transient not working as I expected

; import javax.persistence.EntityManagerFactory; import javax.persistence.GeneratedValue; import javax ... @GeneratedValue protected int id; @Version protected long version; @Transient protected EntityManagerFactory

find() delay

class MyEntity {         @Id @GeneratedValue long id;    ... (); } @Entity static class Node {   @Id @GeneratedValue(strategy=GenerationType.IDENTITY

multiple LEFT JOINs do not work as expected

Node {         @GeneratedValue @Id private long id;   ... { @GeneratedValue @Id private long id; Node parent; int depth; String nodeId

Query only works correctly when debug printing results

"> @Entity public class RequirementLevelEntity{ @Id @GeneratedValue private long id ... serialVersionUID = 5019171545896480392L; @Id @GeneratedValue private long id; @ManyToOne

can't get HashMap out of the database

Fields: @Id @GeneratedValue Long id; private String name; private Date signingDate ... public class GuestHolder { // Persistent Fields: @Id @GeneratedValue Long id

Inserted entities with strings as keys and indices needs more and more ram memory in comparing to primitive integers as keys and indices

for this (ordered from the most important): Automatic @GeneratedValue ... class="code">GeneratedValue primary keys are sequential. So when you persist multiple new

Attempt to execute a query using a closed EntityManager

is a long field in Client, so it should be there after Client is set. Id has @Id @GeneratedValue(strategy ... which is @Id @GeneratedValue(strategy = GenerationType.IDENTITY)? Shouldn't it be there after the object's