ObjectDB ObjectDB

Internal Website Search

171-180 of 200 resultsRefresh
13

Find the error...JPA ENTITY HIBERNATE

.Id; import javax.persistence.JoinColumn; import javax.persistence.JoinTable; import javax ... { private static final long serialVersionUID = 1L; // @GeneratedValue @Id @Column(name = "id") @GeneratedValue(strategy = GenerationType.IDENTITY) private int id; @Column(name = "username") private
13

Database size is much larger than expected (x2)

I store images into objectdb. The schema is : <URI>::=(<sUrl>, <cMark>, <iSize>, <baBody>, <id>) <sUrl>::=String <cMark>::=char <iSize>::=int <baBody>::=byte[] <id>::=@ID So simple a class will fail after 155,648 insertions with -Xmx1432m, ... NO = 151552 @ 8042217472 id = 0 @ 7703244276
2

javax.persistence.PrimaryKeyJoinColumns

") @PrimaryKeyJoinColumns({ @PrimaryKeyJoinColumn(name="CUST_ID", referencedColumnName="ID"), @PrimaryKeyJoinColumn(name="CUST_TYPE", referencedColumnName
2

getIdType()

Method javax.persistence.metamodel.IdentifiableType Type<?> getIdType() Return the type that represents the type of the id. Returns: type of id Since: JPA 2.0
2

javax.persistence.JoinColumn

@JoinColumn(name="ADDR_ID") public Address getAddress() { return address; } Example ... @JoinColumn(name="CUST_ID") // join column is in table for Order public Set
2

javax.persistence.SecondaryTable

=@PrimaryKeyJoinColumn(name="CUST_ID")) public class Customer { ... } Example 2: Single secondary table ... ="CUST_DETAIL", pkJoinColumns={ @PrimaryKeyJoinColumn(name="CUST_ID
2

javax.persistence.MapKeyColumn

relationship field or property; "_"; "KEY". Example: @Entity public class Item { @Id int id
2

javax.persistence.SecondaryTables

_DETAIL", pkJoinColumns=@PrimaryKeyJoinColumn(name="EMPL_ID")), @SecondaryTable(name="EMP_HIST", pkJoinColumns=@PrimaryKeyJoinColumn(name="EMPLOYEE_ID")) }) public class
0

equals(obj)

Method javax.jdo.identity.LongIdentity boolean equals( Object obj ) Determine if the other object represents the same object id. Parameters: obj - the other object Returns: true if both objects represent the same object id Since: JDO 1.0
0

getServerTimeZoneID()

Method javax.jdo.PersistenceManagerFactory String getServerTimeZoneID() Gets the TimeZone ID of the server associated with this PersistenceManagerFactory. If not set, assume that the server has the same TimeZone ID as the client. Returns: the TimeZone of the server Since: JDO 2.1 See Also: setServerTimeZoneID(String)

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support