Internal Website Search

51-100 of 200 results

Annotations not supported in -source1.3 (use -source 5 or higher ..)

to build the points example from Maven, but on opening it in Netbeans 6.9.1 I got an error in Points .java ... is different from that I ran Netbeans to load the built points project, but I can't see that this could explain the error) I could not figure out how to fix this in the points project in Netbeans, I

PersistenceException UserException: Failed to validate persistence.xml

= Persistence.createEntityManagerFactory("$objectdb/db/ points .odb", properties); //exception ... provider error(s) occurred for "$objectdb/db/ points .odb" after trying the following discovered ... : Explicit persistence provider error(s) occurred for "$objectdb/db/ points .odb" after trying the following

Is there any faster select method?

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

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 ... (same as before) - there is no overhead of having each TimeSerie point - in a different entity

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 ... Server 2.5.6_04 Configurations:     connection URL: objectdb://localhost:6136/ points .odb

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

called Contact, and modeled after your Point class from your tutorial. This whole process worked ... . The point is, it has been a goal of mine for some time now, to find a way of programming basic "editor ... to anything interesting. Perhaps no need to reply at this point . I have some more experimenting to do. milesdyson214 David

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

the smaller web 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 ... have tried in vain to find any point of difference between the real web app and the mini test app, I am now

Missing Data on Retrieval (0, null values)

correctly but the Enity-Keys do not match. I can't get the point - what am i doing wrong?   emf ... ). support Support Many thanks - that's the point . That are my first steps in Java - so all is a little bit ... database and of JPA is using standard (POJO) classes to persist data. support Support That is the Point

Great product - needs better marketing - more popularity

;are clear selling points . (JPA and JDO APIs versus an elegant proprietary API is a negative sales point to me.) I would see long term viability as being the hardest marketing problem ... point for customers that are concerned about their long term software development investment. Any

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

, but that should be allowed anyway, because that's the point of using them as strings ... Explorer, without having any problem. That's the main point . That's a real pain. In the first app I ... Chirac I found the solution. So, let me state again the 3 bug scenarios, then I'll point

Gradle-Kotlin Code Contributions

It’s taking me an embarrassing amount of time and effort to create the JPA ( Point ) Tutorial ... below seems to be the minimal build.gradle.kts able to produce the executable JPA ( Point ) Tutorial. However, it is incomplete ... ( Point ) Tutorial with Gradle-Kotlin. IntelliJ Idea (free Community Edition) is the compelling IDE

Saving custom list which implements java.util.List fails

) and encountered the following problem:   I took the Point -example from the tutorial and added ... as shown below. @Entity public class Point implements Serializable {     ...   ... EntityWithList { private List words = Arrays.asList("not", "ArrayList"); } @Entity public class Point

Replication error - parsing objectdb config

to the logfile. When I started a client pointed at the 6136 server (expecting it to fail ... Point and Line objects (as per the tutorial) to the master database and then attempts to count the number of Points using a connection to the slave database. Should this work? I've tried the slave

Difference performance in ObjectDB Explorer and in java project

query :  SELECT p FROM Point p WHERE p.x=0 I am using Point entity class from tutorial, but with Indexed "x" field and database contains 999,999 points with random coordinates. Am i missing

Dependency from enhanced classes to the objectDB library

files. If you are interested, please create a feature request and try to define from your point ... . We will probably make a feature request but we need some time to define from our point of view how exactly ... your point of view something about this solution? btc_es BTC EmbeddedSystems Currently

Java 6/7 Performance Comparison

.createEntityManagerFactory("$objectdb/db/ points .odb"); EntityManager em = emf.createEntityManager(); long end ... JPADemo_lib/objectdb.jar Factory build in 30393 ms Total Points : 3000 Average X: 499.5 Factory ... JPADemo_lib/objectdb.jar Factory build in 314 ms Total Points : 4000 Average X: 499.5 Factory closed

Different behavior with persist() and queried instances?

Hi, We have a simple class that by itself contains (among others) a property pointing ... we can see that the metaAttributes points to a proxy class now. Anyway, long text short question ... eventhough it is filled Btw the list's type in debugger correctly points to objectdb.java.util.ArrayList

Object as parameter results in exception

my path expressions to point to basic java types (path expression pointing to id):     ... since it highlights an important point and introduces the idea of replacing literals with parameters automatically

Filename.odb$ Persisting Issue

dependencies at this point since I use FXML files for all my UI. The problem I'm describing ... when the application is terminated. At no point do I use System.exit() nor do I use hard termination from my Eclipse

Optimistic locking: prevent version increment on entity collection attribute

. Also, each of my calls to the server is made in a transaction (the entry point in the servlet ... don't have the cached Document and then find the Document by Id. - At that point the Document

Incremental online backup

the possibility to choose a restoration point ? For example, I have a database that is backed ... among a few restoration points from a backup. GuillaumeAD Guillaume Aouizerate The Replayer can also be run

Data portability

Hi, I've never used an OODB, I'm looking for a starting point but a recurrent concern is the Data Portability one. More clear: what options / strategies do I have to export / move my data to another  tool, if there is a need to? One key point of Ojectdb (as far as I had read) is Code

Cast exception?

under the extension folder loads properly, so I put the ObjectDB points tutorial (exported) jar into my current web app, and I created a Point object successfully in code. So I think objectdb.jar

Broken @ManyToOne reference

); // false tsichevski Vladimir Tsichevski Point 2 is indeed a bug. Build 2.4.7_09 fixes it. Regarding point 1, this is not valid in JPA and may be a Hibernate extension. You should use an  ID

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

Auto Date for Creation and Update

program, following the format in the  posting instructions . support Support We are on a point ... after here works fine BUT I'm using JpaRepository and that's from the Spring Framework and that is a point

How to enhance the JPA/Spring/MVC to implement RESTfull for CURL client?

/user/siegfried zmirc Mircea Chirac I had tried that previously and failed set a break point and failed ... (again) and noticed I do hit my break point ! Hurray!  I think the problem is that it does not know

Error 990... and then new version?

Chambers Oh, so close!  I have gotten to the point where I think everything is configured correctly ... (RemoteTestRunner.java:209) joshua Joshua Chambers And it works!  I'm to the point of getting

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

11:49:08 - 2013-05-08 11:49:27] - 10 (0, 0) (1, 1) (2, 2) (3, 3) (4, 4) (5, 5) (6, 6) Total Points ... :49:08 - 2013-05-08 11:49:29] - 11 (0, 0) (1, 1) (2, 2) (3, 3) (4, 4) (5, 5) (6, 6) Total Points

Should I use ObjectDB and JDO?

) a niche-only market?  Should I have concerns that development will deteriorate and at some point in ... ) a niche-only market?  Should I have concerns that development will deteriorate and at some point

How to do multithreading with embedded ObjectDB

;     Point p = new Point (0, 0);         em

find repeated records by JPQL

You do not get the point . I ask a way to subquery in #1. You suggest splitting it into two query in #2. I ... get the point since in #3 there is no GROUP BY / HAVING. support Support

hard limits, best practises

of following points )? - create entity files - run enhancer - set indexes  Thanks for evaluating ... . also what is the best way to design a db (what order of following points )? Please be more specific and use

Method Invocation On All Entities

should do some operations before it gets deleted, and at some point we want to delete ... deleted, and at some point we want to delete all those entities. It could be usefull if we could invoke

A bidirectional OneToOne association with a shared primary key

, and if so, could you provide or point me to a concrete code example that at least details ... that I can be sure to obtain the performance advantage you mentioned, can you provide or point

Where Does ObjectDB Block/Lock?

up to the point where transaction.commit() is called? CBE CBE  Does this mean that all other activity/calls to PersistenceManager from many threads are all happening concurrently up to the point

Extra uninitialised entities spawned on merge()

() operation will attempt to update the managed entity to point to managed versions of the entities ... copy to point to the non-persistent object, whereas others might thown an exception immediately

JPA example is failing

.encoding=UTF-8 -classpath /home/svcid/projects/ points -console/target/classes:/home/svcid/.m2 ... /1.1/jta-1.1.jar point .Main Exception in thread "main" [ObjectDB 2.8.1] Unexpected exception (Error

NULL prefered in ORDER BY?

three Test Entities whereas first one points to Hint{name=A}, second one to Hint{name=B

Removing objects where ManyToMany relationships exist

where an entry points to an to-be-removed OtherEntity, to remove it from the Set manually? Hope not

Replaying recorded requests...

a PersistenceManagerFactory? Dave dmoshal David Moshal Couple of additional points : 1. the database

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

List points ; public Chart() { this. points = new ArrayList (); this.reverseOrder = Boolean.TRUE ... ) public List getPoints() { return points ; } public void setPoints(List points ) { this. points = points

Best practise loading big data

have been loaded during the loop. I had a break point right after the loop. At this point we had an open DB ... 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

query.getResultList() throws ClassCastException

I modified the example code to include an index on the Point class like so:     ... .createQuery("SELECT p FROM Point p where p.x = :y",         Point ... .getResultList(JpaQuery.java:665) at point .Main.main(Main.java:52) ryan.gustafson Ryan Gustafson

ObjectDB needs "insert ignore"

could do it with a few memory. I agree the point in the following post, but I cannot reply it. So I ... pointed this "Find is very efficient in retrieving a single entity object but less efficient ... .objectdb.com/forum/359 gzdillon Lai Yang You'd pointed this "Find is very efficient in retrieving

ArrayIndexOutOfBoundsException on flush

at this point is performing a delete query for all entity objects that the database contains: EntityManager em ... at which point data sizes increased substantially. felixobjectdb Richard Szurgot Recording

Why does ObjectDB duplicate classes from javax.jdo:jdo-api?

a Maven plugin to detect duplicate classes and resources, it points out that both ObjectDB and the JDO API ... the objectdb.jar file. When ObjectDB 2.0 was released many years ago, one appealing point

log entry and massive performance issues

...   another point : - our application/objectdb can be killed doing the following ... more details? The last point regarding killing an application by using embedded-server mode, is it related

Internal error

to be releasing a trial version of this product in a few weeks, at which point we will be wanting to buy ... does not use ObjectDB at the point at which it crashes.  Since they, I have had internal errors

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

just point out something screamingly obvious. Your own JavaEE example has a single entity class ... be managed (that it is a provider variation point ). - the one line of code your approach that I need