ObjectDB Database Search

1-36 of 36 results

Step 6: Set the Spring XML

To integrate the Spring Framework into a web application we have to add the definition of the Spring dispatcher servlet to the  web.xml configuration file and to configure that servlet using ... of the  web.xml file with the following new content: spring org.springframework.web.servlet

Step 6: Set the Spring XML

To integrate the Spring Framework into a web application we have to add the definition of the Spring dispatcher servlet to the web.xml configuration file and to configure that servlet using ... : spring org.springframework.web.servlet.DispatcherServlet 2 spring *.html 30 index.jsp The settings

Eclipse/JPA Spring MVC Web Tutorial

This is the Eclipse version of the  Spring MVC and JPA tutorial. It demonstrates how to create and run a full Java  Spring MVC (Model View Controller) web application in ... . Therefore, required JAR files (ObjectDB, Spring Framework) will be downloaded automatically during build

Spring MVC JPA Tutorial - IntelliJ Project

To open and run the  Spring MVC JPA tutorial project in Download and extract the project zip file: Spring MVC JPA - Maven Project (8KB) Open the project in IntelliJ IDEA: Select  File Open Project... . Select the  guestbook- spring directory and click  OK . Define

Spring MVC and JPA Tutorial

This tutorial demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application using Tomcat (or GlassFish), JPA, ObjectDB and Maven. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. All visitors

Step 7: Run the Spring Web App

/. This Spring web application can also run with GlassFish 3.0.1, with a small change in the 

Configure ObjectDB in spring context

I have a application that initializes with spring , now I'd like to change my data access tier ... is to configure entire ObjectDB (optionally objectdb.conf too) in springs context.xml file so that I'd ... You can see how to use ObjectDB with Spring Framework in this tutorial . support Support Yes I've seen

How to resolve 404 errors with Eclipse/Maven Spring MVC

I have created a project as guided by www.objectdb.com/tutorial/jpa/eclipse/ spring /run. When I abandon eclipse and use the maven command line to deploy this Spring MVC web app to jetty and point ... that doesn't work. support Support Please see http://www.heintze.com/temp/hello- spring -mvc-annotated

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

application (through spring ) with different tx managers, please find an example of this below. Any help ... .xml   com.objectdb.jpa.Provider              Spring xml ... , you should also amend the ObjectDB persistence unit definition in Spring configuration, and specify the name

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

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

Spring + Maven + persitence.xml

Spring + Maven + persitence.xml

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

Step 1: Create a Maven Web Project

Name (e.g. Guestbook ) and select Java EE 5. Enter Maven Group Id (e.g. com.objectdb.tutorial. spring ... under Project Files in the [Project] window: To add dependency on the Spring MVC Framework and ObjectDB ... .tutorial. spring Guestbook war 1.0 Guestbook http://maven.apache.org   UTF-8     

Step 1: Create a Maven Web Project

dependency on the Spring MVC Framework and ObjectDB and to automatically download all the required JAR ... . spring Guestbook war 1.0 Guestbook http://maven.apache.org UTF-8 objectdb ObjectDB Repository https://m2 ... .springframework spring -webmvc 3.0.5.RELEASE org.springframework spring -tx 3.0.5.RELEASE org

Step 4: Add a Controller Class

In this step we will add a Spring Controller to manage guestbook web requests: Open the [New Java ... the new Spring Controller class. Now replace the content of the new source file with the following code ... ); } } The GuestController class is defined as a Spring managed web controller using the @Controller annotation

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

Step 5: Add a JSP Page

name. The Folder should be WEB-INF (to prevent accessing the JSP directly not through Spring ). Click ... the controller in the previous step). The next step (and the last in this tutorial) is setting the Spring XML configuration .

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 License Error I got

I wanted to use objectdb on my spring boot app. Here is what i have tried :   package com ... ", // your Spring Data JPA repos entityManagerFactoryRef = "entityManagerFactory", transactionManagerRef ... ) - exceeds evaluation limit   And there is no tutorial how to use this on spring boot with license as

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

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 {  

Migration problem

://gauthier-cassany.com/posts/ spring -boot-hibernate-search-conditional-indexing @Basic(fetch = FetchType ... ?   kadirbasol Kadir BASOL These are not ObjectDB or JPA annotations, but Spring Framework annotations. You will have to check with  Spring Framework, which defines them, when they work and when they do not work. 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

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

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.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.