About SECOND

manual

JPA / JDO Class Enhancer

The Enhancer is a post compilation tool that improves performance by modifying the byte code of compiled classes after compilation.... for loading classes for enhancement can be specified as a second argument: com. objectdb . Enhancer . enhance ( ... it only works on Sun JDK 6 (and not on JRE 6 for example). Second, classes that are loaded into the JVM before accessing ObjectDB cannot ...

 
manual

Index Definition

Describes how to define indexes in JPA entity classes and explains how indexes are used in JPQL queries.... p . y BETWEEN 50 AND 80 For the second query above, the index order should be x first and y second. Indexes on collections are useful in JOIN queries: SELECT ...

 
forum_thread

Add class to objectdb ?

Hello , i've made blank db project and opened with explorer.jar How can i add class file then push objects manually by explorer.jar   It only gave me blank : http://img543.imageshack.us/img543/7463/screenshot20130203at001.png       ... Here is second screenshot: ...

 
forum_thread

Unique contraint with 2 members

I am trying to do the following: @javax.persistence.Entity public class Account { @Unique() private String name; @Unique(members={"SalesforceID","sport"}) private String SalesforceID; private String sport; ... } The first Unique contraint works. On commit, an exception is thrown if an Account already exists with the specified name. The second does not seem to work. I would expect an exception to be thrown if the combination of SalesforceID and sport is not unique. Am I doing this right? ... already exists with the specified name. The second does not seem to work. I would expect an exception to be thrown if the ...

 
forum_thread

Exceeding max connections and crashing

Hi, we have severe problems with ObjectDB crashing frequently. We can’t find the exact cause but we suspect several things. We use 2.5.3_03 version and we use it in production. The same setup in test environment hasn’t have these kind of problems First crash occurred when network went down and database lost connection with the JBOSS AS, several restarts got it up and running finally.  It seems when the database loses network connection it shutdowns but we cant be sure. Usualy database stops once a day with no apperent reason. ... database stops once a day with no apperent reason. Second cause we suspect is the number of network connections to the database, ...

 
forum_thread

package not found running ObjectDB under OSGi

Hi I have created in Eclipse a new plugin from existing jar file and than I tried to enhance my classes (using Ehancer from that new bundle), however I got an error :  [ObjectDB 2.2.8_02] Package datamodel.core.base is not found by the enhancer (error 108) The Enhancer was run in the following way :  ... So what is wrong ?? Do you really use that second parameter ?? Don't you have a bug ??   Thanks ...

 
forum_thread

explorer feature request: ability to auto refresh

Request for feature: Ability to auto-refresh an explorer view, say at regular intervals of a few seconds. (at a minimum one ought to be able to manually refresh, for example the list of persistent types). additionally, it would be useful to be able to view an embedded database (read only mode) via the explorer.   #1 2011-04-27 07:22 Request for feature: Ability to auto-refresh an explorer view, say at regular intervals of a few seconds. ...

 
api-jpa

lessThanOrEqualTo(x, y)

Create a predicate for testing whether the first argument is less than or equal to the second.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jdo

msg(messageKey, arg1, arg2, arg3)

Message formatter(Method of javax.jdo.spi.I18NHelper)

 
api-jdo

getConnectionFactory2Name()

Get the name for the second data store connection factory.(Method of javax.jdo.PersistenceManagerFactory)