Dynamic « JPA « Spring Q&A





1. Spring + Hibernate Dynamic Mapping    stackoverflow.com

Apologies if this is a repost, I could not find the search terms to locate a similar question. The application that I work on has support for plugins that can be loaded ...

2. Ability to switch Persistence Unit dynamically within the application (JPA)    stackoverflow.com

My application data access layer is built using Spring and EclipseLink and I am currently trying to implement the following feature - Ability to switch the current/active persistence unit dynamically for ...

3. Dynamic Table creation in Hibernate Template    stackoverflow.com

I am importing stock quotes data using HibernateTemplate + SpringFramework Format of the data

AAPL,09-Jun-2010 09:00,251.47,251.47,251.39,251.39,640
AAPL,09-Jun-2010 09:01,251.4,251.4,251.05,251.26,6844
INTC,09-Jun-2010 09:00,251.47,251.47,251.39,251.39,640
INTC,09-Jun-2010 09:01,251.4,251.4,251.05,251.26,6844
MSFT,09-Jun-2010 09:00,251.47,251.47,251.39,251.39,640
MSFT,09-Jun-2010 09:01,251.4,251.4,251.05,251.26,6844
I have one Entity class called Stock
@Entity
public class Stock implements Serializable {
public Stock() ...

4. What is the best practice managing multiple dynamically created databases through Spring and Hibernate?    stackoverflow.com

Let say that for each customer you have to dynamically create a database when customer subscribes to services, all databases are based on same schema. As customers are authenticated (one master database ...

5. Dynamically configuring datasources    stackoverflow.com

The situation is this: a table that is used in a query (name it SUMMARY) was formerly in the same server and database that I'm doing all the queries of the ...

6. How to dynamically manage multiple datasources    stackoverflow.com

Similar topics have been covered in other threads, but I couldn't find a definitive solution to my problem. What we're trying to achieve is to design a web app which is able ...

7. How do I configure dynamic weaving using EclipseLink & Spring?    stackoverflow.com

How do I configure dynamic weaving using EclipseLink & Spring? Right now I'm trying to get this working with a Junit test, but I'll later have to have it work ...

8. JPA + SPRING=DAO. Dynamic Parameter List    stackoverflow.com

I can't resolve error with dynamic parameter list "where in". Another query working @NamedQuery(name = "News.delete", query = "DELETE n FROM News n WHERE n.newsId in (:ids)") but

Caused by: java.lang.NoSuchMethodError: ...

9. Dynamic sql query in Spring hibernate for join operation    stackoverflow.com

I am trying to execute a select sql query from spring+hibernate i have used hql.xml for static queries , now my requirement is to have some dynamic queries based on ...





10. Problem with dynamically loading hibernate mappings files    forum.springsource.org

Problem with dynamically loading hibernate mappings files hi. For the project I'm working on, I need to load a different mappings file for a class based on a parameter passed into ...

11. Need to dynamically swap datasources with Spring/Hibernate    forum.springsource.org

Hi there, In our current project we need to save some of object in one database and some in the other database(within one transaction). We use Hibernate for persistence. Is there ...

12. Hibernate Retrieveing Specific Fields with Dynamic Where Clause    forum.springsource.org

Hibernate Retrieveing Specific Fields with Dynamic Where Clause I have a situation where I only want to retrieve a few fields from a record, used in conjunction with a dynamically generated ...

13. Hibernate dynamic-update="true" problem    forum.springsource.org

I have been trying to use dynamic-update="true" to only update non-null columns but without any success. However, when dynamic-update is used together with select-before-update="true", it works as expected. Does anyone know ...

14. JPA: Multiple (dynamic) datasources/EMF?    forum.springsource.org

JPA: Multiple (dynamic) datasources/EMF? Hello, I'm trying to figure out how to accomplish having multiple datasources/databases with JPA. Our system currently has a single database and EMF (hibernate as the provider). ...

15. dynamic update with JPA    forum.springsource.org

Is there any way to add dynamic update with JPA annotation? The same as dynamic-update in hibernate, wich force update to only non null properties. Thank you

16. Dynamic JNDIs with Hibernate    forum.springsource.org

Dynamic JNDIs with Hibernate Hello, I have to work on a project and at the moment I really don't know how to go on. First I want to describe my task: ...





17. Setup Spring/JPA with unknown/dynamic datasources    forum.springsource.org

Setup Spring/JPA with unknown/dynamic datasources Hi I'm working on a rich client app using JPA. At first execution, the user should run a setupwizard to select type of dbserver to use ...

18. Spring, JPA, Hibernate, Dynamic Connections.    forum.springsource.org

Spring, JPA, Hibernate, Dynamic Connections. Hi, I'm looking to clarify a few points I've been unsure of based on what would appear to be conflicting suggestions as I've gone through these ...

19. Build dynamic Hibernate Query.    forum.springsource.org

Build dynamic Hibernate Query. Hi, I am using hibernate with spring frame work. I have a problem that i have a search screen from where user can enter values in two ...

20. with Spring Dynamic modules + hibernate    forum.springsource.org

with Spring Dynamic modules + hibernate Hi All, I am trying Hibernate/JPA with Spring , ------------------------------------------------------------------------ My problem is JPA persistence provider not finding Dynamic imported Entites ----------------------------------------------------------------------- here ,all my ...

21. create a table dynamically using hibernate    forum.springsource.org

Hi members, I am having an issue with hibernate and spring. In my web application i have to provide the facility to create a table dynamically using the data provided by ...

22. Using multiple dynamic datasources with Hibernate    forum.springsource.org

Using multiple dynamic datasources with Hibernate I've been using Spring 2.x and Hibernate for many years now, but I'm dealing with a new problem I haven't encountered before. I'm starting on ...