Quantcast
Channel: Spring Community Forums - Data
Browsing all 297 articles
Browse latest View live
↧

Overwrite Repository methods

Hi, I am using Spring Data with the RestRepository exporters. Now I have to modify the standard find and save methods, because access to the data is restricted by certain fields stored with the...

View Article


Spring and OFBiz Entity Engine

Does anyone have experience using the Apache OFBiz Entity Engine? Is it comparable to or better/worse than Hibernate? Has anyone used it with Spring? I've seen it is used by the Atlassian Jira product...

View Article


Question About Cineast Tutoiral

I am new to spring but am trying to use spring with neo4j integration. I have been reading over the cineast tutorial but my question is where in the code is the database itself being created?

View Article

Entity Manger not getting injected

Hi Team, I am using JPA and entiry manager is not getting set in my DAO class. Could you please help. in my below code 'em' is always coming as null. Here is the code and conifiguration. Not sure what...

View Article

Transaction doubt

Hello everyone, I would like to know if I could use transaction management in spring but without using AOP. Do you have any reference of this? So, I can perform tests and learn how it works. Thanks in...

View Article


Dynamic Datasources

Greetings, I am working on an application that will connect to DB2 on the iSeries (IS) via JT400 . I'm not too familiar with the IS jargon, so I'm a little lost on what exactly I need to do. The...

View Article

TypedQuery for View

How to write a TypedQuery for refering a database view without creating any domain? :confused: I have a query as below:- SELECT AMT_BATCH_DTL.BAD_PRD_ID, SUM(AMT_BATCH_DTL.BAD_REQ_BATCH_SIZE) AS...

View Article

not able to get Auto generated identity using Sysbase DB

Hi Friends, I am using simple jbdc insertion into sysbase Databasee and trying to retrieved autogenerated value, i am getting below error. Please find my below code and exception, help on this i m...

View Article


Viewing The Contents of a Node - Netbeans

I am using noe4j in a java web application and i am adding an array to a node. Is it possible to view the contents of the node using netbeans?

View Article


Error in TypedQuery: expecting OPEN, found '.'

public static Double FindBatchTakenForMonthAndProduct(String ProductID, String location , String status, String fromDate) { return entityManager().createQuery("Select SUM(a.BadReqBatchSize) as...

View Article

JDBC Communication error

Hi, I am getting following error while executing the SQL query(Cursor) org.springframework.batch.item.ItemStreamException : Failed to initialize the reader at...

View Article

Creating New Nodes As Information Is Added To Database

Im trying to store information into a neo4j database as users are added to my application. I am unsure how i would go about adding new users information and storing it in nodes as I do not know how...

View Article

SQL connections

Greetings, I'm wondering what the best way is to create and maintain a SQL connection using an Oracle database and groovy.sql.Sql. I'm going to be executing some scripts from the command line for now...

View Article


org.hibernate.cfg.Configuration access

Hi, i'm currently developing a web application using Spring Version 3.2.3.RELEASE and Hibernate Version 4.2.3.Final. I have to map some custom Types in my Entities and so I started in writing hibernate...

View Article

Using Spring Data MongoDB with J2EE and CDI

Hello, how can I use Spring Data MongoDB in my J2EE Application with CDI. I found that, but I have no Idea how it will work: http://static.springsource.org/sprin...di-integration So has anyone an...

View Article


Spring Data JPA: Custom Implementation Entity Not Managed

I have created a web application that uses Spring Data + Hibernate + JPA + Quartz. In one of my Quartz jobs I need to refresh an entity, because the entity may have been changed by a user through the...

View Article

Native memory leak, spring tomcat linux

I have a web java application, which serves rest-like json data to javascript client side. Server part is processing HPPT GET/POST requests only. Technology stack: JDK 1.6 Debian linux 6/7 tomacat...

View Article


How to return a page of results from a typed query ?

Hello, I have a custom repository with a TypedQuery that is supposed to return a Page of results and not a List of results. But I can't see how I can just extract a page from the results. Here is the...

View Article

connection-cache-properties and connection-properties in orcl:pooling-datasource

I have followed these instructions to set up my datasource connection pool. http://static.springsource.org/sprin....failover.html Everything works fine, but I have question about setting cache...

View Article

[VAADIN] Spring JPAContainer Integration

Hi, Is it possible to use the org.springframework.data.jpa.repository.JpaReposit ory as "JPAContainer" for Vaadin? Or instantiate a JPAContainer bean for every JpaRepository? A JPAContainer gets...

View Article
Browsing all 297 articles
Browse latest View live