Home » Search

About point

81-90 of 200Refresh
Forum
2

Is there any faster select method?

SELECT: TypedQuery<Point> query = em.createQuery(     "SELECT p FROM Point p WHERE p.id = " + element.getId(), Point.class); List<Point> points = query.getResultList(); WRITE: em.persist(p); ** the Point class is of the tutorial. I found the above select method is ten times slower
Forum
2

Problem with distinct select, order by and equivalent alias/attribute path

.createEntityManagerFactory("$objectdb/db/points.odb");         EntityManager em = emf.createEntityManager ... invalid from your point of view? Thanks and regards Benjamin Klink JPQL restricts ORDER BY expressions ... project but pointing from there to the (client-server-based) database that is used by the "real
Forum
2

PersistenceException UserException: Failed to validate persistence.xml

/points.odb", properties); //exception! } But everytime it fires this exception:  javax.persistence.PersistenceException: Explicit persistence provider error(s) occurred for "$objectdb/db/points ... provider error(s) occurred for "$objectdb/db/points.odb" after trying the following discovered
Issue
2

query.getResultList() throws ClassCastException

I modified the example code to include an index on the Point class like so:     @Index(members={"x","y"}) Then when I run the following query:     TypedQuery<Point> query = em.createQuery("SELECT p FROM Point p where p.x <= :x and p.y >= :y",         Point.class); I get the exception at the end.  I
Forum
1

BIRT plugin: Trouble with Client/Server connection

I am having trouble setting up the birt points.odb sample with a client/server connection. I can connect to points.odb with the explorer.  I added a "Data Source" that works fine with local file ... :     connection URL: objectdb://localhost:6136/points.odb;user=admin;password=admin     using objectdb
Forum
1

How to define database structure and insert some initial objects from scratch

.createEntityManagerFactory("$objectdb/db/points.odb");         EntityManager em = emf.createEntityManager();         // Store 1000 Point objects in the database:         em.getTransaction().begin();         for (int i = 0; i < 1000; i++) {             Point p = new Point(i, i);             em
Forum
1

Pre-detach loading: retrieval by navigation not working in if statement

application (as I will demonstrate below), so there is no point making that available (yet). I have been unable to find the point of difference. So I will try first just showing selected portions of code ... test app). I have tried in vain to find any point of difference between the real web app
Forum
1

Saving custom list which implements java.util.List fails

) and encountered the following problem:   I took the Point-example from the tutorial and added a list ... shown below. @Entity public class Point implements Serializable {     ...     private List list ... "); } @Entity public class Point implements Serializable { ... private List<Point> friends = new
Forum
1

Should I be able to persist a JFrame (or gui components in general)?

Contact, and modeled after your Point class from your tutorial. This whole process worked and end ... iterators with no concept of current record--but I digress--I got them working anyway). 4. The point ... at this point. I have some more experimenting to do. Last update...promise. I discovered that (as I
Forum
1

TimeSeries and ObjectDB

Hi, I am using ObjectDB for storing TimeSeries (large ones) - when I get new points to add ... , then add the new points, and then commit the whole timeserie again. I looked at Update queries ... TimeSerie point - in a different entity? The reason is because the parent entity (i.e. TimeSerie