ObjectDB ObjectDB

Internal Website Search

41-50 of 200 resultsRefresh
17

Tutorial issue

.PersistenceException Ambiguous entity name - Point (used by [point.Point,tutorial.Point]) (error 307 ... .java:29) Caused by: com.objectdb.o.UserException: Ambiguous entity name - Point (used by [point.Point,tutorial.Point]) at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.TYM.ar(TYM.java:845
17

Cascading persistence through an inverse field

( I make the assumption points can belong to multiple point collections). I removed transaction ... ={PERSIST, REFRESH, MERGE}) private Set<Point> points = new HashSet<>(); public void addPoint(Point p) { points.add(p); } ... } @Entity public class Point
14

TemporalType injection with Calendar using JPA

implements Serializable { private TimePeriod id; private List<Point> points; public Chart() { this.points = new ArrayList<Point>(); } @EmbeddedId public TimePeriod ... .FetchType.EAGER) public List<Point> getPoints() { return points; } public void
3

Best practise loading big data

objects have been loaded during the loop. I had a break point right after the loop. At this point ... contain up to 1,000,000 values? In that case at the end of the loop there is a point in ... up to that point is impossible anyway. You should probably avoid holding the entire tree of objects in
3

UPDATE statemen crash when i put the WHERE clause.

= emf.createEntityManager(); int lab_points; for(List<String> linie: linesAsList) if(linie.get(1).matches("[a-zA-Z- ]+") && linie.get(2).length()>=2) { lab_points = (Integer) em.createQuery("select n.lab_points from Record as n where n.student.nume=:nume and n.student.prenume
2

[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

{ private TimePeriod id; private List<Point> points; public Chart() { this.points = new ArrayList<Point>(); this.reverseOrder = Boolean.TRUE; } @EmbeddedId ... .persistence.FetchType.EAGER) public List<Point> getPoints() { return points
2

getStackTrace()

, this is the point at which this throwable was created and thrown. The last element of the array
2

javax.persistence.TransactionRequiredException

the sequence. Typically, this is the point at which this throwable was created and thrown. The last
2

javax.persistence.EntityExistsException

, which is the last method invocation in the sequence. Typically, this is the point at which this throwable
0

javax.jdo.JDOObjectNotFoundException

, which is the last method invocation in the sequence. Typically, this is the point at which this throwable

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