Internal Website Search

51-100 of 168 results

Possible issue with Spring JPA and Embedded

Hello, I'm having some fun with Spring and embedded objects. I have need to embed some small ... that the annotations I have used are ok. However it will not work from spring . I'm not certain whether this is due to something spring wants or whether there is an issue with objectdb. I'm not really sure

Spring LTW Problem

Hello! I use ObjectDB with Spring . Today i tried to swich from AspectJ compile time weaving ... .xml and to my spring configuration. Now Spring oviously tries to weave every class that get's loaded ... the ClassNotFound Exception and emmit an error message instead. So spring can continue to the AspectJ weaver

multi EntityManager with Spring Boot, but 'Too many persistable types (>10)

I'm trying to use two EntityManager with Spring Boot, but no luck with 'Too many persistable types ... model entity. same class name but different package). Single application with Spring -Boot 2.1.8 ... searches for the configuration file. Is it a specific issue with using ObjectDB Spring Boot

can not use spring-data-jpa repository with NamedQuery

in spring -data-jpa named queries are used to implement repository interface methods, see http://static.springsource.org/ spring -data/data-jpa/docs/current/reference/html/#jpa.query-methods.named ... findByBar(String bar); } to match the method parameter to the query parameter, spring have to check

Spring Data JPA - PersistenceException thrown

In a Spring -managed application that has 2 EntityManagerFactories (one Hibernate and one ObjectDB), I see the 2 EMFs created successfully on startup, but then subsequently when the application is initializing Spring JPA repositories with Hibernate EntityManagers, the application throws

Spring Data JPA

Hello! When i configure Spring Data JPA to use ObjectDB 2.4.0_03 i get an exception when the context starts. org.springframework.beans.factory.BeanCreationException: Error creating bean with name ... ) ... 1 more If i understand the exception right Spring Data JPA calls getMetamodel on the entity

Puzzler: Not getting cascades on read from Spring context

I've determined that the database is correctly initialized, looking at it from the Object Explorer, I can run the code that loads the database in a Junit test and it's initializing the children objects correctly, but in the application running in Jetty with Spring , fetching is not cascading

Spring and packagesToScan

Hi i am trying to configure ObjectDB using Spring JavaConfig but packageToScan is not working. I am getting Type XXX is not found   LocalContainerEntityManagerFactoryBean factory = new LocalContainerEntityManagerFactoryBean(); factory.setPackagesToScan("com.myentities"); factory

Query in Spring Data error Like for Integer records

Query in Spring Data error Like for Integer records

Out of memory

) ~[ spring -aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop. framework ... . framework .ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[ spring -aop-3.1.2 ... ) ~[ spring -aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop. framework .JdkDynamicAopProxy

Multi-tenant capability with hierarchies

a transaction manager, see:  https://docs. spring .io/ spring /docs/current/ spring - framework ... what would be the best way to implement this with objectDB? We are using spring boot, is there an example ... from one application? The most up to date example of using ObjectDB with Spring Boot is posted

Distinct Error

.invokeJoinpointUsingReflection(AopUtils.java:309) ~[ spring -aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.aop. framework .JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) ~[ spring -aop-3.0.5.RELEASE ... :309) ~[ spring -aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.aop. framework

Problem on JPA Merge Entity.

; This a little webapp (using Spring / Spring MVC , ObjectDb, JPA) project under Eclipse. I upload ... - is it an ObjectDB merge issue or Spring / JPA transaction management issue? Maybe it is a missing ... ;   support Support Hi, I think that it is an ObjectDb problem. The same code with Spring , JPA

c.o.jpa.type.EntityTypeImpl.getIdType() returns null

.xml and spring context xml is pretty much the same as in the spring mvc jpa example. i'm i doing ... with spring -data-jpa (M2), but i'm not able to use the automatic repository feature because the following ... ) m_typeManager TYM  (id=144) m_typeUpdateCount -1 i stepped throw springs

Exception on creation when running multithreaded

.invokeJoinpointUsingReflection(AopUtils.java:309) at org.springframework.aop. framework .ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop. framework ... . framework .ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework

Failed to write the value of field using reflection (error 363) on LAZY fetch

setting Spring Framework transactions in a way that JPA managed entities will not be detached on exiting a method, please check  Spring Framework documentation and their Forum. support Support ... am using a spring context (org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean)? Any

problem with lazy loading - unittest project attached

hi, i'm still testing objectdb together with spring -data-jpa. i made a test which should simulate ... transactional, but the spring repository methods are. anyway, the expected result is in the database ... which is defined in my m2 settings.xml please add the spring milestone repo in the POM   spring -maven

What are the steps of creating small web app?

really need Hibernate for this project, Do I really need Spring MVC for this project. - What is best

Missing atificat for ObjectDB?

Hello! I am testing the Spring MVC and JPA tutorial, and always got an error in the POM file: com.objectdb objectdb      2.0.4   There is a red flag on this dependency and says missing aritificat com.objectdb.objectdb.jar. After I remove this section, the POM file is ok. I

Metamodel Attribute NOT EQUALS to same Attribute in a different EntityManager

Attribute from Metamodel initialized on @PostConstruct event IS NOT EQUALS of the same Attribute from Metamodel of a differente EntityManager initialized on a @Controller @RequestMapping event. I am testing one application over Spring Web MVC and I can not post one Simple Test Case. The problem

Custom Transaction Manager

Hi, I am trying integrate ObjectDB and Quarkus Framework . Quarkus use Narayana/Arjuna transaction manager. ObjectDB doesn't allow me to configure custom JNDI name or Transaction Manager class ... . That should probably include Wildfly. It can also work with Spring and Spring boots

Is it possible to using JDO and distributed transaction?

I'am new to study JDO. Can and How I use JDO an distributed transaction?(multiple database)。 Is ObjectDB also provided JCA util just like DataNucleus? Reference:     Spring Framework Reference Documentation       JCA, JTA, and JDO Transactions - Using

Auto Date for Creation and Update

after here works fine BUT I'm using JpaRepository and that's from the Spring Framework and that is a point

Entity factory

Only standard Java EE / Spring Framework injection is supported. If it may help, you can obtain

Glassfish 3.1.2.1 and ObjectDB 2.4.3

Framework 1.9.46 started in: 33ms - bound to [0.0.0.0:8080] INFO: Grizzly Framework 1.9.46 started in: 17ms - bound to [0.0.0.0:8181] INFO: Grizzly Framework 1.9.46 started in: 4ms - bound to [0.0.0.0:3700] INFO: Grizzly Framework 1.9.46 started in: 12ms - bound to [0.0.0.0:4848] INFO: Grizzly

EntityManager JPA or JDO impl and different behavior

.Provider Now in our project we use spring to start everything. If I do: System.out.println("EntityManager ... a basic test project, NO spring involved. Same persistance xml in my META-INF, startup using: emf ... the persistance.xml or is something in the spring is doing something I don't understand? Or have I missed

Unexpected NoSuchFieldError exception

_all_entities(ObjectDbDatabase.groovy:69) at app. framework .Database$delete_all_entities$0 ... .database.ObjectDbDatabase.transact(ObjectDbDatabase.groovy:82) at app. framework .Database$transact ... . framework .Database$delete_all_entities$0.call(Unknown Source) at org.codehaus.groovy.runtime

Felix, rollback exception, error 613

can begin, persist and commit once, but not twice; even after framework restart. I need to delete ... get objectdb working under my osgi framework . I have absolutely not any error under non-osgi environment ... .objectdb.o.JPE:d#91 org.osgi. framework .BundleException: Activator start error in bundle FelixProject [1

Error 363 - Failed to read value of inverse relationship

.java:23) at junit. framework .TestCase.runBare(TestCase.java:132) at junit. framework .TestResult$1.protect(TestResult.java:110) at junit. framework .TestResult.runProtected(TestResult.java:128) at junit. framework .TestResult.run(TestResult.java:113) at junit. framework .TestCase.run(TestCase.java:124

StaticMetamodel throws NPE with Spring-Data in PathImpl.get()

Spring -Data i got a NullPointerException in com.objectdb.jpa.criteria.PathImpl

ObjectDB 2.9.2

application servers. Added support of using ObjectDB in Spring Framework ( MVC ) 6.x and Spring Boot

objectdb:2.8.4 - Error occurred during initialization of boot layer

\ spring .jar;D:\Projects\Anritsu\Perforce\ws_alexander.golyshkin_ALL\DEV\RTD_7_6_0_JAVA_UPDATE_JDK9 ... .golyshkin_ALL\DEV\RTD_7_6_0_JAVA_UPDATE_JDK9\JavaApps\CommonThirdParty\ThirdPartyLibs\ spring -core.jar ... \ThirdPartyLibs\ spring -beans.jar;D:\Projects\Anritsu\Perforce\ws_alexander.golyshkin_ALL\DEV\RTD_7_6

Activation Issue

. framework .ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop. framework .ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org ... :110) at org.springframework.aop. framework .ReflectiveMethodInvocation.proceed

JRebel integration feature

.lang.ClassLoader.defineClass(ClassLoader.java:615) at org.apache.felix. framework .ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1907) at org.apache.felix. framework .ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:727) at org.apache.felix. framework .ModuleImpl.access$400(ModuleImpl

Online backup in embedded mode fails

. framework .ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop. framework .ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org ... ) at org.springframework.aop. framework .ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation

Unexpected exception (Error 990)

) at org.springframework.aop. framework .ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop. framework .ReflectiveMethodInvocation.proceed ... .invoke(TransactionInterceptor.java:110) at org.springframework.aop. framework .ReflectiveMethodInvocation

Changes in detach behaviour?

have a Spring DAO. It does the following: I call for example getUserByName("blub). Spring creates an em and starts a transaction. I get the desired user. I return the user. Spring closes ... the posting instructions ? You can simulate the effect of Spring transactions by closing and reopening

Will ObjectDB support .Net and EntityFramework?

Hi, I'm porting an application POC from Java to C# with Entity Framework for data access. I ... . Are there some ObjectDB's version or support for C# and Entity Framework ? Thanks!   Cthulhu Cthulhu Juan ... when there will be support for .Net Entity Framework ? Thanks in advance! Cthulhu Juan Perez

Dependency from enhanced classes to the objectDB library

.ClassLoader.loadClass(Unknown Source) at org.eclipse.osgi.internal. framework .ContextFinder.loadClass ... .internal. framework .ContextFinder) (error 222) at com.objectdb.jpa.Provider ... ' is not found (by org.eclipse.osgi.internal. framework .ContextFinder) at com.objectdb.o.MSG.d(MSG

Java 8 Enhancer Problem

Hello! I am currently migrating my project to Java 8. I'm using Spring and AspectJ load time weaving. Unluckily the LTW option of Spring is global. If it's enabled it also tries to find other class ... an exception which causes Spring to stop weaving.  Caused by: com.objectdb.o.InternalException

Error with org.springframework.data.jpa.domain.AbstractPersistable

I am working on a Spring Boot application. I want to integrate ObjectDB with Spring Data JPA. I refer to the http://www.objectdb.com/database/forum/860 to do the configuration. When I start ... . without Spring Boot): import java.io.*; import javax.persistence.*; public final class T1545 {  

error 990 ?

.java:191) at org.springframework.aop. framework .Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:692) at org.springframework.aop. framework .ReflectiveMethodInvocation.proceed ... .TransactionInterceptor.invoke(TransactionInterceptor.java:108) at org.springframework.aop. framework

NullPointer when accessing persistent field

(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit. framework .TestCase.runTest(TestCase.java:164) at junit. framework .TestCase.runBare(TestCase.java:130) at com.aqera.domains.one.tests.InitializationTest.runBare(InitializationTest.java:31) at junit. framework .TestResult$1

ObjectDB 2.5.2

Added automatic creation of the log directory if it does not exist. Added support of old Spring Framework versions (with JPA 1.0). Fixed "InternalException: InterruptedException" due to application interrupts in embedded mode. Fixed a class loading conflict with Log4j. Fixed very slow processing

Blocked by find

) rbccm.felix. framework .service.ServiceRunner.run(ServiceRunner.java:259) java.lang.Thread.run(Thread ... (WorkflowService.java:75) rbccm.felix. framework .service.ServiceRunner.run(ServiceRunner.java:259) java.lang.Thread ... Source) rbccm.felix. framework .service.ServiceRunner.run(Unknown Source) java.lang.Thread.run(Thread.java

ArrayIndexOutOfBoundsException on flush

: rbccm.felix. framework .ApplicationException: Error flushing graph container at rbccm.felix.objectdb ... ) at rbccm.felix.gridservice.workflow.WorkflowService.process(Unknown Source) at rbccm.felix. framework ... .WorkflowService.process(Unknown Source) at rbccm.felix. framework .service.ServiceRunner.run(Unknown

Unexpected exception (Error 990) on find

) at org.springframework.aop. framework .ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop. framework .ReflectiveMethodInvocation.proceed ... .invoke(TransactionInterceptor.java:110) at org.springframework.aop. framework .ReflectiveMethodInvocation

UnexpectedException on query

.springframework.aop. framework .ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop. framework .ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java ... (TransactionInterceptor.java:110) at org.springframework.aop. framework .ReflectiveMethodInvocation.proceed

NullPointer on query

. framework .ApplicationException: Error taking message from ObjectDB queue at rbccm.felix.objectdb ... .take(Unknown Source) at rbccm.felix. framework .service.ServiceRunner.run(Unknown Source) at java.lang ... .ObjectDbMessagePipe.take(Unknown Source) at rbccm.felix. framework .service.ServiceRunner.run(Unknown Source

javax.jdo.annotations.Order

JDO Annotation Order Target: ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation for the ordering component of an ordered container member, such as Java Collections Framework Array and List types and Java native array types. Corresponds to the xml element "order