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

Autowired beans are null in CustomRepositoryImpl

Hey all, I'm just starting out with spring data and I'm trying to add a custom method to my repositories which requires another bean (which is preferably only created once (i.e. singleton)) The bean is...

View Article


Spring Transactional Annotation issue

I am using annotation based Spring IOC & Transaction in my web application with Hibernate ORM. During the development I came across a situation where two separate DAO methods perform database...

View Article


Spring Data Jpa 1.3.1.RELEASE breaks audit config

Hi, today I recognize that the actual release of spring data jpa (1.3.1) breaks the under 1.3.0 functional audit config. Has it silently changed since 1.3.0 ?

View Article

spring data neo4j - how do I use more than one neo4j database service in my app?

In my spring data neo4j application I have 2 neo4j databases. How do I relate a repository of a specific database services? for example I have.. MyRepository1 extends GraphRepository MyRepository2...

View Article

Spring/Hibernate issue with Oracle Sequence

Hi, I very much hope you will be able to help! I have successfully used a Spring/Hibernate web-based application to insert records into an Oracle database. The Oracle database table that I am writing...

View Article


Snapshots/milestones available to get QueryDSL 3.x?

I depend on https://jira.springsource.org/browse/DATACMNS-301 right now, and wondered if there were a snapshot/milestone repo that I can use to get a version of Spring Data JPA & Spring Data...

View Article

JPA 2 Criteria API Order by grouping function of OneToMany association

I have the following entity relationship: @Entity public class TableA{ private int aid; private Collection<TableB> bs; ... } @Entity public class TableB{ private int bid; private Date date1;...

View Article

Spring data jpa and problem with @LastModifiedDate annotation

Hi, i created a very small test application to get involved in the spring data package. I create a very small app with Spring,JPA and hibernate. I used the spring JpaRepository for the database...

View Article


Premier League games through VPN (Fox Soccer 2 Go and others)

Has anyone tried doing this? Looking to get rid of Virgin's Sky Sports and movie packages. Not that many games for my club to justify the price and obviously no 3pm kick-offs. My Mrs is quite keen to...

View Article


3D and SuperHD content not available via SmartDNS... Annoying!

Hi all, Just found out that 3D and SuperHD content on Netflix US is not available via Overplay's StartDNS service, yet it is available on Unblock-US and UnoDNS... this is bloody annoying, and the only...

View Article

Spring / Hibernate JPA with multiple datasources

Hello All, I have following code and I am trying to inject a DAO specific EntityManager with code below in DAO. Persistence XML and context XML are as follows. If I have single datasource everthing...

View Article

Trailers featuring lines that don't make it to the movie.

Seeing as how when we see a film we've probably seen the trailer and heard some lines a good few times before, has anyone noticed trailers that show different content to the actual film? (i know it's...

View Article

A Late Quartet - Walken is Awesome!

Anyone else been to see this yet? It's about the members of a string quartet (yes, doesn't sound promising but bear with), one of whom is diagnosed with Parkinson's Disease. An absolutely top-quality...

View Article


OpenEntityManagerInViewFilter and Single Session

Can anyone advise why the OpenEntityManagerInViewFilter does not allow for a session per transaction (singleSession = false) as for the OpenSessionInViewFilter? As far as I can see there is also no...

View Article

Problem with Spring 3.0 + Hibernate 3.3: QuerySyntaxException: Class is not...

Hello everybody. I'm starting a new project using Spring 3.0 and Hibernate 3.3, on MyEclipse 10. I built the skeleton web application and deployed on JBoss 6.1, and it works. I bult a sample...

View Article


JPA + Spring + WebSphere NullPointerExcetion >...

I have an application that can run as either a stand-alone application (bundled as an executable JAR) or within a web container using Spring MVC (bundled as a WAR). On the back end I'm using the same...

View Article

Why public Admin findByLoginAndPassword(String login, String password) has...

Hello, I have a query defined by its method signature in an interface: public Admin findByLoginAndPassword(String login, String password) It gives the following sql statement: select admin0_.id as...

View Article


What happen in SimpleLoadTimeWeaver class?(Spring + EclipseLink)

I encounter a problem, the problem had happend by annother person, i don't understand what reason result in exception. If i rewrite SimpleLoadTimeWeaver, problem will resolved. excep Code: [EL Config]:...

View Article

SpringData + Protobuf + Mongodb magic @ID handler

Hi, I was testing storage of a Google Protobuf document into mongodb and decided for simplicity to use "." dot notation for the "_id" field in the database. So the "_id" entry would be made from 3...

View Article

Avoiding data related code spilling out into the service layer

Hi, I'm trying to have all data related code reside in the repository layer and not spill out into the service layer. I have a service method using only primitive types: Code: public List<Admin>...

View Article
Browsing all 297 articles
Browse latest View live