About package

forum_thread

Enhancer problem

During development, I have used the enhancer API in a static block in the code that creates the EntityManagerFactory, ie. ... ) ; // .. more lines for each package   // connect to ObjectDB database emf = Persistence . ...

 
forum_thread

Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers

Hi,  Object are not being persisted when ObjectDB and another db is used in the same application (through spring) with different tx managers, please find an example of this below. Any help is greatly appreciate as we are currently evaluating ObjectDB to use in our new enterprise application and we need to decide if we are going to purchase it very soon. Many Thanks   Persistence.xml ... / > <context : component - scan base - package = "com.prohire" / >   <mvc : annotation - ...

 
release

2.5.0

... names (issue #186 ). Fixed accessing a package level JDO sequence using getSequence ( issue #186 ). ...

 
forum_thread

IN operator syntax

Hi, what is the correct syntax for IN operator when list of literals ia used instead of parameter, e.g. SELECT FROM Info i WHERE i.status IN (1,4) ? (Suppose status is int.) I always get this exception: SELECT FROM Info i WHERE i.status IN (1 ==> , <== 4) javax.persistence.PersistenceException Unexpected query token ',' (closing ')' is missing) (error 752)   Query with only one item in list works fine: ... Marta     package test ;   import java. util . *; import javax. ...

 
tutorial

Step 6: Set the Spring XML

Explains how to set XML in an Eclipse Spring MVC JPA web application project.... that file: Right click the WEB-INF node in the [Package Explorer] window, select  New > Other... > XML > XML File ... definitions --> <context:component-scan base-package = "guest" />   <!-- Use @Controller annotations for ...

 
forum_thread

OEM Enhancer causing Jenkins job to freeze

Hi all, We are using ODB enhancer in one of our jobs on jenkins, built via ant. Recently we started to encounter situation, where this job's execution gets stuck for ever on Jenkins. This is causing us a lot of problems with our CI. ... > <arg line = "-s ${dist.dir}/our/entities/package/" / > < / java> Is it possible to enable some ...

 
forum_thread

Finance data from SQL Server into ObjectDB daily

Hello -   I think ObjectDB might be just the solution for our current project but I would like some feedback from the community to see if I'm thinking about it right.   We have a finance data mart that is appended to daily via an SSIS package. I would like to pull the data from SQL, add it to a bean and store it in the ObjectDB. This would all happen in an automated fashion. Does this make sense? Is there a way to map the structure of the table directly into ObjectDB from SQL Server?   ... a finance data mart that is appended to daily via an SSIS package. I would like to pull the data from SQL, add it to a bean and store it ...

 
forum_thread

Weird behaviour with enhanced classes and embedded entities

Hi, I've found some weird behaviour in my project (www.tinymediamanager.org): Sometimes some entries of my ArrayLists with embedded entities are missing. I've hunted the problem down to an enhanced/proxied list in my entity which contains embedded entities and some .add(obj) are simply failing. Here is a small sscce which reproduces the issue: ... Here is a small sscce which reproduces the issue: package objectdbsscce ;   import java. util . ArrayList ; ...

 
forum_thread

Automatic schema evolution causes ArrayOutOfBoundsException

Hi, I did 2 modification to our schema. Our schema looks like this: class Entity     - List<String> permissions class ServiceProvider extends Entity     - String name class Airline extends Entity     - String name     - String iata #1 2016-09-23 08:14 Hi, I did 2 modification to our schema. Our schema looked like this: class Entity ...

 
forum_thread

Cannot sort descending, when ordering by caluculated float in a method

Hi, I have found an issue in ordering by a method. I have two entities : Invoice and InvoiceItem. public class InvoiceItem{ ..     private float price;     private float amount; .. }   public class Invoice{ ... you please change it to demonstrate the issue? package com. objectdb . forum ;   import java. util . *; ...