Internal Website Search

51-100 of 105 results

Problem upgrading

.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:418) ~[ spring -orm-4.2.3.RELEASE.jar ... (JpaExceptionTranslatorAspect.aj:37) ~[ spring -aspects-4.2.3.RELEASE.jar:4.2.3.RELEASE] at at.co.pjm.tracker.data.impl ... $1$2a73e96cproceed(AbstractTransactionAspect.aj:66) ~[ spring -aspects-4.2.3.RELEASE.jar:4.2.3.RELEASE

Query Method NullPointerException on List iteration

) ~[ spring -data-jpa-2.3.0.RELEASE.jar:2.3.0.RELEASE] at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:88) ~[ spring -data-jpa-2.3.0.RELEASE.jar:2.3.0.RELEASE ... ) ~[ spring -data-jpa-2.3.0.RELEASE.jar:2.3.0.RELEASE] at org.springframework.data.jpa.repository.query

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

Mismatch client-server protocol prefix

Hello! We migrated one of our legacy webservices to Spring Boot/ Spring MVC. Now i have a strange ... We also have a Spring Boot/Vaadin Webapp which works without any problems. What's going on here? Regards Ralph mosi0815 ... Tomcat. In addition we converted our Spring configuration from xml to configuration classes

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

Out of memory

.invokeJoinpointUsingReflection(AopUtils.java:319) ~[ spring -aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework ... ) ~[ spring -aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[ spring -aop-3.1.2.RELEASE.jar:3.1.2.RELEASE

Integration

Hi, Is there a way to integrate ObjectDB with Spring Framework to add the benefits of Transaction ... with the Spring MVC Framework by some users. Currently there is no tutorial for using ObjectDB with Spring , so try to follow a generic tutorial for using JPA with Spring . support Support Hi, I'm trying ObjectDB

Multi-tenant capability with hierarchies

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 ... the other means Spring Core gives for retrieving beans. Once you have several databases you need to manage

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 ... $DeferredQueryInvocationHandler.invoke(SharedEntityManagerCreator.java:310) ~[ spring -orm-3.0.5.RELEASE

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

Problem on JPA Merge Entity.

- 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 ... ; This a little webapp (using Spring / Spring MVC, ObjectDb, JPA) project under Eclipse. I upload

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

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

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

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 {  

createNamedQuery throws wrong exception

Hello I'm tying to use ObjecDB with spring -data for JPA and there is an issue where spring -data checks for existance of named query which does not exist yet. Based on JPA specification /**   ... which cause spring -data to not work properly. Is there any know workaround?   Thanks mzachar Matej

Activation Issue

mosi0815 Ralph Moser Hi again, I think I just found out why this happens. Spring Data is retrieving ... it doesn't matter because it dies before connecting. The project starts a Spring application context with one Spring Data JPA generated repository bean. There are 11 entity classes. The ObjectDB Enhancer

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

am using a spring context (org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean)? Any ... 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

Populating entity id before transaction commit

Hi, I have a question about populating auto generated id before transaction commit. We are using OBD with Spring and transactions are managed by Spring . The problem is, that we have custom annotation that wraps some of those functions to do additional work. But this annotation is executed before

can't get HashMap out of the database

;       new String[] { " spring -servlet.xml" });     ... ; new String[] { " spring -servlet.xml" });     guestDao = context.getBean

Custom Transaction Manager

. That should probably include Wildfly. It can also work with Spring and Spring boots

Eclipse - Maven - Dependencies not getting automatically reflected

I have installed Java 1.7 Eclipse Juno From Eclipse Market place have installed - Maven Integration for Eclipse WTP (a.k.a m2e-wtp), m2e-apt, Spring IDE, The Spring Tool Suite™ (STS) Have defined M2_HOME as directory where Maven is installed. PATH updated as %M2_HOME%/bin I am working on Windows

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

Exception on creation when running multithreaded

with the specific bits. The Acls part is an Objectdb(JPA) implementation for the spring security domain acls

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

Update entity without first opening a transaction

transactions for updating the content of a database. But if you use Java EE or Spring , the container may manage the transactions automatically. support Support

Beginners questions

cannot use Spring or similar, because the test-project works inside of GWT-context. caitanya Caitanya

Future JDO versions?

its use.  We consider it significant that Spring continues to support and update its JDO

Connect to objectdb database

I am experiencing a problem with connecting to existing database using IntelliJ and Spring Boot Jakarta. My persistance.xml file looks like this: xmlns = "https://jakarta.ee/xml/ns/persistence" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation = "https://jakarta.ee/xml/ns

Insert time increases as db grows.

after every commit , to avoid further performance loss over time. support Support Well, I'm using Spring Data JPA

IN expression in a Criteria Query

Hello, I am trying to migrate my Spring project from Hibernate to ObjectDB. On ObjectDB page, it is written that ObjectDB is 100% compatible with JPA. However, I have problem with this JPQL query: SELECT e FROM Employee e WHERE e.present = false AND NOT EXISTS (SELECT c FROM Computer c WHERE c

Web Framework Recommendation for leveraging JPA + ObjectDB

server (JBoss / GlassFish) with servers, JSPs, JSF and EJB. Spring MVC Framework

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

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

On ensuring ID available after persist

other than ObjectDB: forums.netbeans.org/topic13007.html Spring forum: Get id of JPA persisted object (forum

JPA Query language support in OBjectDB / Sub query or nested Query

Hi Wanted to check with you on the exact level of support of JPA QL within the ObjectDB world. I have given a sample typed query below which fails to work with ObjectDB and it runs very well with the Hibernate/MySQL JPA. We are using Spring Data here. It looks like a problem with Sub query or

Slow performance on Mac

- This code is tested on Windows and Mac. Windows is working great, Mac is very slow (read is 11 seconds on Mac, and 100 milliseconds on Windows). - Application is using Spring Boot console application (for JPA implementation) - MacOS Sierra 10.12.3, Core i7 CPU, 16GB RAM, SSD drive java version

Entity factory

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

Retrieving Metamodel without connection

Hello! I use Spring Data JPA. It uses the Metamodel to create repository beans. This triggers a connection to the ObjectDB server. It happens on every start of the Context. If it fails the application isn't available at all. I had the situations multiple times that my database server took

Foreign key constraint issue

;   List children; } I also have Spring repositories defined for the two classes. Now, in

Java 9 support

? com.objectdb. spring ? removing some dependencies, e.g. on java.desktop ? etc. support Support Use

Tutorial Typo

I was going through the Eclipse Spring tutorial as part of my training, and I noticed this.  On the page: http://www.objectdb.com/tutorial/jpa/eclipse/ spring /entity The tutorial first says: Enter META-INF as a new folder name and click Finish. Then, after the picture, it says: Right click

ObjectDB 2.9.2

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

Object DB Explorer fails to open database

Hello, I am trying to integrate Object DB into my tapestry project which will use spring -security. I have created an entity class named "Role" which implements springs "GrantedAuthority" interface. The code runs fine. i.e. Role objects are getting persisted in the database. But when I

ObjectDB 2.0.4

Added support for JTA and Java EE Containers ( issue #8 ). Fixed a bug in indexing entity objects. Fixed a bug in fixing broken references in ObjectDB Doctor. Fixed a bug in modifying enhanced detached embedded objects. Fixed a spring transformer (LoadTimeWeaver) problem. Fixed a class

ObjectDB 2.0.5

Fixed Java Agent / Java EE / Spring  enhancement bug. Fixed a bug in merging detached entity objects. Fixed unexpected  NullPointerException in client server mode. Fixed an exception in AVG query on non numeric values ( issue #107 ). Fixed a bug in handling JOIN queries with primary key fields.

Retrieving Metamodel without Connection

Hello! I use Spring Data JPA. It uses the Metamodel to create repository beans. This triggers a connection to the ObjectDB server. It happens on every start of the Context. If it fails the application isn't available at all. I had the situations multiple times that my database server took longer

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

ObjectDB 2.8.5

Fixed a bug in using AS in SELECT NEW (breaks some Spring Data JPA queries). Fixed a bug in tracking changes to new collections after flush ( issue #2640 ). Fixed a StackOverflowError on no access permission to objectdb.conf ( issue #2643 ). Fixed a bug in managing pessimistic locks after using

JPQL Update & Delete (JPA 1.0)

JPQL (Java Persistence Query Language) supports updating and deleting database objects by queries. Currently ObjectDB supports only JPQL SELECT (retrieval) queries. Delete queries are supported for JDOQL (JDO Query Language). support Support spring -data-jpa uses delete queries to implement