Internal Website Search

101-150 of 200 results

Access ClassTransformer

Hello, As in our OSGI Environment, we do need to manually weave classes. To be able to do so, we'd need access to the ClassTransformer from ObjectDB. However, there's only the global enhancer api which is not of any help. There's the JEhancerAgent which seems to implement a ClassTransformer as

500Mb ObjectDb database opening issue

) for following code long time = System.currentTimeMillis(); m_EntityMgrFactory = Persistence ... all activations from the objectdb.conf file. With an OEM license your end users do not need activation codes , and you should avoid including activation codes in your distributed application. Maybe checking

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

portions of code from each and see whether ObjectDB support or your readers can figure ... optimizations I meant JIT Compiler optimizations and not Java compiler optimization, i.e. the byte code ... relevant byte code after enhancement. support Support  Have you tried build time enhancement

Problem with @Basic(fetch = FetchType.LAZY)

= FetchType.LAZY) private String description; @Basic(fetch = FetchType.LAZY) private String code ; public Sample() { } public Sample(String title, String description, String code ) { this.title = title; this.description = description; this. code = code ; } //getters and setters public static void main

Database size is much larger than expected (x2)

system, but more than 100% overhead is not reasonable. support Support OK, I finished the same code in ... Eclipse, the codes need a single javaw, while objectdb needs another one. So the memory problem cause ... ; gzdillon Lai Yang You should check your code , especially the conversion of images to byte[] - maybe

Problem on JPA Merge Entity.

;   support Support Hi, I think that it is an ObjectDb problem. The same code with Spring, JPA, Hibernate and MySQL works.   I try to isolate to isolate the code that doesn't work and to make ... ? On create I get: /testCreate /testUpdate /refresh /updateAllInDao 60 PrimitiveNounPhrase [ code = CODE

Activation Issue

, it was shutdown the laptop, and move to the office. The activation code isn't tied to IP addresses in any way ... most definitely had the activation code in objectdb.conf. Yet I was seeing that exception, no objectdb server ... code is per machine. Use your site license to generate multiple activation codes . You may also specify

Mismatch client-server protocol prefix

. Try also to consider any change in the migration of code that could cause it. More information ... at your code ), and provide more information? Is it different from what was used before migration? support Support No wed didn't change anything in our DAOs. This is the code which raises the Exception

Activated ObjectDB still throws "Too many persistable types"

that activation code is set in the server configuration file (not on the client side). Since you have a site license, you may try running activation again, to see that the code is correct ... Support Make sure that activation code is set in the server configuration file (not on the client

Updating Entities

thought it was a problem in my code for how I loaded the content into the table, but then I tried checking ... ). Though, I can assure you the code given is the minimal amount that you'd need to see as the other pieces are just validation checks and queries apart from UI function handlers. I also know that my code

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

that a database drives the code . With the little toying with ObjectDb, I can see that the code drives ... .ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax ... and without server process as seen uncommented--both were from working code from sample test.   Any

Embedded List

about the question. On #1 and #3 you provided code . Is it runnable? What is the exact issue? support Support So the code is runnable if you have the 2 files from the first comment, I am trying to get records that have part of the strSupPart field from the Embedded class in the ItemDB class, my code looks

Source not found error after downloading ObjectDB 2.3.7_04

Code snippet: Properties prop = new Properties(); prop.setProperty("javax.jdo ... am trying to debug code snippet mentioned above in Eclipse it asks me to provide source code at debug ... any PMF.java class.   For setup I downloaded the ObjectDB zip file. Placed it in source code

EntityManager getMetamodel() causes crash

to your example code in the tutorial (with class Point ) and it works as expected: : (995, 995) (996, 996) (997, 997) (998, 998) (999, 999) If I then add one line of code to your example code : : // Store 1000 ... also with a new empty database? support Support Working code .  Note I am using a persistence.xml

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

() { return "test.AbstractObject[ id=" + id + " ]"; } } This code throw exception: Person person ... the code  as it is written here  https://www.objectdb.com/java/jpa/tool/enhancer ... ; ...... other code ...... com.objectdb.Enhancer.enhance("test.*"); Person person = new Person(); person

Catching exceptions from online backup

of the backup process, then the backupThread finished its work even before our code would set ... is caught in the surrounding catch block in TOL:47 and its code does not generate next exception ... simple code , similar to the  code in #4 above, with step by step instructions? support Support

Unable to delete the .odb file programatically

code to delte the odb files     PersistenceManager pm = (PersistenceManager ... .close(); }   After executing the above code , when i am trying to delete the file using the followng code     File[] files = parentDir.listFiles();     

Does "error 522" (connect timed out) have something to do with restrictions despite license activation?

the license inside the server. By the way, I fetched the following message: Your activation code should be available at:Your activation code should be available at: http://www.objectdb.com/activate ... Lotti Solved, it was really because of the activation code I wasn't able to fetch from URL. Ieodaq

Saving custom list which implements java.util.List fails

Hibernate there are no problems. So I try again describing the problem. Note: I've posted the code as Stack Trace, because when tagged as Java Code the background-color doesn't get shown as marking but as html-text inside code . In db4o and in Hibernate Entities can have various list implementations, as

Fields in objects not populated in query result.

When I run the following Java code TypedQuery rootFolderQuery = this.entityManager.createQuery ... the Explorer gives the results as expected. Any ideas what I'm doing wrong? This code had worked ... code for managing folders] } @Entity @Getter @Setter public class Entry implements Comparable

Post-compilation enhancement vs Automatic Run-time enhancement

exactly the same code modifications. There may be a difference with the extent of enhanced code . Automatic ... if statement webel Dr Darren Kelly Enhancement in both modes is based on exactly the same code ... comparing enhanced code (using the objectdb. code .output system property) we will be able to see the difference. support Support

Measurement of the test coverage of enhanced classes

"coverage" of our tests? btc_es BTC EmbeddedSystems Enhancement adds code to persistent classes so it would affect test coverage measurements. Maybe measurement that is based on the source code (e.g. line coverage) rather than on the class file and JVM instructions may not be affected by code

Working with a cleared cache

footprint. The code snippet below is part of a Callable task that is run repeatedly with a given list of commands. When I run the code as written I start getting the stack traces that are listed.  ... Onstott I should note, that while this code is being executed within a Callable task, it's currently

Online backup problem

) and it doesn't seem to be related to the online backup. Please post the code that you are using to run the backup. support Support This is the code I used in my servlet : EntityManagerFactory emf = null;   ... database without any problems. The code runs, result is "OK", but no files are created in ObjectDB

zip file or JAR manifest missing

The codes is ok in MySQL, but not in ObjectDB. Before update a value, my threads will check ... Support I found this is a weird thing, the same codes run the different results in my office pc and home pc. I use svn to keep my codes . My ObjectDB path is the same. But, My home pc will get this message

Memory Leaks after COMMIT operation (checked on versions 2.6.5 & 2.6.6.b01)

what we did incorrectly or investigate how to fix it ASAP. Source code which causing memory leaks ... (); m_EntityManager.flush(); m_EntityManager.clear(); m_EntityManager.close(); } After executing code ... for mentioned code

Soft Reference Object Cache Recommendation

and StoreLifecycleListener to have my code called to manipulate the softReferenceData in my JdoBlob2 instances ... off my byte[] from being freed.  (Maybe something I am doing in my code with ObjectDB ... More information. I did a test to see if evict() would allow the RAM to be flushed.  (e.g., code

How to resolve 404 errors with Eclipse/Maven Spring MVC

thru the source code . Also, to remove the one syntax error that eclipse was giving me, I commented ... created from a directory that was created by eclipse and the source code files were created by ... -spring-mvc-annotated-tomcat6-from-scratch.zip I't is still kinda crazy for a half dozen source code

WebSphere Liberty Configuration

application does not run JNDI operations on java:comp/env names within static code blocks or in threads created by that application. Such code does not necessarily run on the thread of a server application ... on java:comp/env names within static code blocks or in threads created by that application. Such code does not

Finance data from SQL Server into ObjectDB daily

classes to store the data in ObjectDB."   I am doing this exactly. Here is the quick code I whipped ... ). Code is straight forward, and attached - it was written in about 3 minutes so please disregard the 'in line' nature. Customise as required!   EDIT: Code assumes that your PK is 'id' and is of type

Failed to read DB file while online backup is running

related anymore to running of online backups. Maybe some new bug was added to the code ... (JdoQuery.java:748)     jakab Gergely Jakab Build 2.6.2_05 changed only online backup code ... also paste my code for the online backuping which I launch automatically every few hours. I

can't get HashMap out of the database

. support Support Thanks for your response. The simple test is now working, however the actual code I ... embeddable objects. I've modified the test code  to be a bit closer to the actual code and I ... . However my actual code is still not working. I have cut out a piece of my actual project

Invalid/Missing licence when connecting, however correct licence is definitely present

licence for the server we are running our code on, and the previous version of the code uses the licence successfully without issue. I have upgraded the code and redeployed to the same server ... more information on the code upgrade that has been done. support Support

Object explorer cannot open odb file. ObjectDB many-to-many relationship

I created a data model to test many-to-many relationship with a link table as following (full code ... String code ;     @OneToMany(mappedBy = "user") @MapKey     private Map ... code ;         @OneToMany(mappedBy = "project") @MapKey   

Query Method NullPointerException on List iteration

;   group by s.supplierName Code : public int countCategory(String categoryName) { int ... in java code ? MaxBri Maximilian Brinkema It is unclear from the question where exactly ... to iterate over the product list: for (Product p : products) { // code .. }   All suppliers

Compatibility Problems Upgrading from 2.6.9_04 to 2.7.6

the code .  I have run into issues during testing such as failures to deserialize ... .6 first, followed by the code .  Is this a supported upgrade path? I have run into issues ... it looks like code that has a 2.6.9 ObjectDb.jar will talk to a 2.7.6 Database Server.  We are not

ObjectDB can't be activated

activation code , so there shouldn't be the problem. It maybe the issue of a 00-00-00-00-00-00 ... chmod +x server.sh ./server.sh start Then we executed following java code (using a ssh-tunel ... problem. Anyway, I see an activation now from a few minutes ago. The result activation code

com.objectdb.o._PersistenceException: Failed to locate set method for field property using reflection

. (DomainModel.java:67) This is otherwise working code . The error is intermittent. The database explorer ... appreciated. Code works fine when running with ObjectDB embedded, but throws the exception randomly when application accesses ObjectDB in  server mode. paul Paul Hudson Code works fine when running

Best practise loading big data

are needed: ArrayList is mentioned twice in your code but  StepBlock is not defined. Could you please repair the code ? You mentioned commit as a workaround. It is unclear if this operation includes ... for posting questionable code snippets. I have repaired it. In this scenario the data is only read

Error on commit

ID: BTree Name: BTree Page: Request code : ... Please post them. support Support I re-ran ... -04-20 11:56:07 #203 store] BTree Page: 402548 [2012-04-20 11:56:07 #204 store] Request code : 4 [2012-04-20 11:56:07 #205 store] Request Key: 6142 [2012-04-20 11:56:07 #206 store] Request Key Code : -11

Update query bug

Some code . Problem in UPDATE query. TypedQuery query = (TypedQuery ) em.createQuery("SELECT t FROM Person p JOIN p.transports t WHERE p.personalCode = : code "); query.setParameter(" code ... .transports = :list WHERE p.personalCode = : code ", Person.class); query2.setParameter("list", list); query2

Issue with DISTINCT Select

selection in our code (no changes else) and suddenly receive invalid identifiers in queries exceptions ... more issues in explorer because the generated code from criteriaquery is NOT valid JPQL) - you get the same ... ORDER BY UPPER($1.profile.lastName) But doesn't help us because we can't change our code .. and as

Errors after unexpected server shutdown

[2018-03-26 14:39:30 #1101 store] Request code : 4 [2018-03-26 14:39:30 #1102 store] Request Key: 2018-03-26 13:26:27 [2018-03-26 14:39:30 #1103 store] Request Key Code : -30 [2018-03-26 14:39:30 #1104 store] Request Real Key: 2018-03-26 13:26:27 [2018-03-26 14:39:30 #1105 store] Request Real Key Code

Indexes broken after schema update

#78 store] Request code : 4 [2012-08-19 19:42:25 #79 store] Request Key: 'chrisiona-decc' [2012-08-19 19:42:25 #80 store] Request Key Code : -25 [2012-08-19 19:42:25 #81 store] Request Real Key: 'chrisiona-decc' [2012-08-19 19:42:25 #82 store] Request Real Key Code : -25 [2012-08-19 19:42:25 #83 store

javax.jdo.identity.CharIdentity

from: SingleFieldIdentity Since: JDO 2.0 int hashCode () Return the cached hash code . Return: the cached hash code . Inherited from: SingleFieldIdentity Since: JDO 1.0 void readExternal (ObjectInput 

javax.jdo.identity.SingleFieldIdentity

: the target class name. Since: JDO 2.0 int hashCode () Return the cached hash code . Return: the cached hash code . Since: JDO 1.0 void readExternal (ObjectInput in) Read from the input stream. Creates a new

javax.jdo.identity.ShortIdentity

the cached hash code . Return: the cached hash code . Inherited from: SingleFieldIdentity Since: JDO 1.0

javax.jdo.identity.StringIdentity

() Return the cached hash code . Return: the cached hash code . Inherited from: SingleFieldIdentity

SingleFieldIdentity.hashCode() - JDO Method

JDO Method in javax.jdo.identity.SingleFieldIdentity int hashCode () Return the cached hash code . Return: the cached hash code . Since: JDO 1.0

javax.jdo.spi.PersistenceCapable

. The Reference Enhancer also adds code to implement the methods defined by PersistenceCapable