database « JPA « Spring Q&A





1. Multiple database with Spring+Hibernate+JPA    stackoverflow.com

I'm trying to configure Spring+Hibernate+JPA for work with two databases (MySQL and MSSQL) my datasource-context.xml:

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
 xsi:schemaLocation="http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
  http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
  http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
  http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd"
 ...

2. Spring + Hibernate JPA Question    stackoverflow.com

I'm trying to use Hibernate with JPA/EntityManager to do database activities Right now I'm getting this error and I have no idea what it means. Before I had this code and it works ...

3. Strategies for designing a database (being accessed by hibernate) which will have a lot of archivial data    stackoverflow.com

I am developing an application which will be integrated with thousands of sensors sending information at every 15 minute interval. Let's assume that the format of the data for all sensors ...

4. Hibernate using multiple databases    stackoverflow.com

I need to have multiple databases for different customers. How can I handle multiple databases with Hibernate? Are there any good examples how to do this? I could create Configuration object and ...

5. Data not getting saved in database    stackoverflow.com

Here is my bean.xml

 <?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:context="http://www.springframework.org/schema/context"
  xmlns:p="http://www.springframework.org/schema/p"
  xmlns:tx="http://www.springframework.org/schema/tx"
  xsi:schemaLocation="
  http://www.springframework.org/schema/tx 
  http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
  http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
  http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
  http://www.springframework.org/schema/context ...

6. hibernate+spring+jpa+isolation does not work?    stackoverflow.com

i have been trying this:

@Transactional(isolation=Isolation.SERIALIZABLE, 
               rollbackFor={Exception.class}, 
          ...

7. Manually assign value to a hibernate UUID    stackoverflow.com

As we know, in hibernate, configure the generator of a id to "uuid" , then hibernate will auto generate a UUID value to the id field when saving a new object.If ...

8. implementation of a federated database for multiple tenants in spring-hibernate    stackoverflow.com

This is my first post on this forum and am trying to make it effective enough for all to understand. I have this problem on hand which needs an implementation for multi-tenancy. ...

9. Data not getting stored in database    stackoverflow.com

I was implementing springs and hibernate annotation in netbeans. When i try to save the data in database it doesn't happen. Table is getting created when i launch the application from ...





10. Spring + JPA (Multiple databases issue)    forum.springsource.org

Jan 19th, 2011, 05:43 PM #1 sanjoykr78 View Profile View Forum Posts Private Message Junior Member Join Date Dec 2010 Posts 21 Spring + JPA (Multiple databases issue) Hi, I want ...

11. Spring Hibernate Database    forum.springsource.org

Spring Hibernate Database Hello, I have uploaded an application were I have a problem which I couldn't solve the last week. In my MYSQL- Database I have 3 tables: item <-> ...

12. Hibernate using multiple databases    forum.springsource.org

Hibernate using multiple databases Hello everybody Someone know how to add a another datasource in hibernate configuration and how to configure Spring to that datasource its autoinject in my respective DAO? ...

13. Accessing Multiple Databases with Spring and Hibernate    forum.springsource.org

Accessing Multiple Databases with Spring and Hibernate Hi, I like Spring and Hibernate, and think they do a wonderful job. I have a task that I haven't attempted to do with ...

14. Help me with Hibernate/Spring and multiple databases    forum.springsource.org

Help me with Hibernate/Spring and multiple databases Hi again, I already post similar question, but have no answer. :cry: I am wondering how it might be possible to work with multiple ...

15. need help? one databases, cmt,hibernate,spring read-write it    forum.springsource.org

need help? one databases, cmt,hibernate,spring read-write it my app begun in 2002, it accesses database using cmt, later we found ejb is tedious, and hard to add new function, so we ...

16. Hibernate + Spring does not write to db    forum.springsource.org

Jun 20th, 2005, 04:21 PM #1 joseilogs View Profile View Forum Posts Private Message Junior Member Join Date Jun 2005 Posts 3 Hibernate + Spring does not write to db Hello ...





17. very simple spring + hibernate problem (saving to db)    forum.springsource.org

Aug 25th, 2005, 10:52 AM #1 novotny View Profile View Forum Posts Private Message Junior Member Join Date Aug 2004 Posts 20 very simple spring + hibernate problem (saving to db) ...

18. Hibernate and Spring not storing in DB    forum.springsource.org

Hibernate and Spring not storing in DB Hi, I am using hibernate with Spring to write to a mysql database. I can read from the database fine but when it comes ...

19. Hibernate won't reconnect after DB restart    forum.springsource.org

Nov 10th, 2005, 02:16 PM #1 rstearns01 View Profile View Forum Posts Private Message Senior Member Join Date Aug 2004 Location Atlanta, GA Posts 129 Hibernate won't reconnect after DB restart ...

20. Hibernate objects need values from db trigger while not yet commited    forum.springsource.org

Hibernate objects need values from db trigger while not yet commited Dear all, I have a problem with hibernate objects which are not syncronized with the underlying database record within a ...

21. Login with database and Hibernate    forum.springsource.org

Login with database and Hibernate With InMemoryDaoImpl all works perfectly! The content of webhilex-security.xml is: Code: ...

22. Spring/Hibernate Mappings after DB interaction    forum.springsource.org

Spring/Hibernate Mappings after DB interaction OK after I insert data I noticed that my mappigs are being reloaded. Is this normal? I wouldn't expect it to be. I am using a ...

23. hibernate-mapping across two database    forum.springsource.org

hibernate-mapping across two database I have two MySQL databases (version 5.0.20 and InnoDB storage engine). I am using Hibernate 3.1, Sun Java System Application server 9.0 and Java 1.5. I want ...

24. Weekly database maintence affects Spring and Hibernate configuration    forum.springsource.org

Weekly database maintence affects Spring and Hibernate configuration On the weekends, the DBA's perform maintence on our Oracle server. When I come in monday morning I get the error shown below. ...

25. Spring + JPA + Hibernate - userid - need to pass to database    forum.springsource.org

Spring + JPA + Hibernate - userid - need to pass to database Hi, we are currently using combination of Spring + JPA + Hibernate + Oracle. We use application managed ...

26. Spring + JPA + Hibernate - userid - need to pass to application userid to db tier    forum.springsource.org

Spring + JPA + Hibernate - userid - need to pass to application userid to db tier Hi, we are currently using combination of Spring + JPA + Hibernate + Oracle. ...

27. Need help with Spring + JPA +Hibernate to connect to multiple databases    forum.springsource.org

Hi, I'm trying to configure JPA to connect to multiple databases by specifying two persistence units in the persistence.xml file, each using a different datasource name. I then define two datasources ...

28. Database pooling - Spring, Hibernate    forum.springsource.org

Jul 10th, 2007, 09:57 AM #1 l1nk View Profile View Forum Posts Private Message Junior Member Join Date Jul 2007 Location Braga, Portugal Posts 14 Database pooling - Spring, Hibernate Hi. ...

29. Best Database For Spring/Hibernate?    forum.springsource.org

Hello, I was wondering if anyone could tell me which database, if any, is easiest to integrate with Spring/Hibernate? I know most databases can be used with Spring/Hibernate but I was ...

30. Question on modelling a Database to use Hibernate    forum.springsource.org

Question on modelling a Database to use Hibernate I have been trying to get around the concept of how to handle database modelling to use hibernate. Let me use an example ...

31. Spring Hibernate reading DB Values differently    forum.springsource.org

Spring Hibernate reading DB Values differently Hi All: I am using this Criteria Query from my Spring Hibernate project and if I use it to get results from one of my ...

32. multiple databases with spring and hibernate    forum.springsource.org

Feb 22nd, 2008, 10:50 AM #1 BlueBlue View Profile View Forum Posts Private Message Junior Member Join Date Feb 2008 Location Sibiu, Romania Posts 3 multiple databases with spring and hibernate ...

33. Distributed Databases with JPA    forum.springsource.org

Hi I am writting an application which needs to read data from database1 and write to database 2, using JPA over Hibernate3 There is a a requirement to display information from ...

34. Spring-Hibernate database calls stops responding after a few calls    forum.springsource.org

Jan 6th, 2009, 01:56 AM #1 maximos View Profile View Forum Posts Private Message Junior Member Join Date Jan 2009 Posts 6 Spring-Hibernate database calls stops responding after a few calls ...

35. Data is not getting stored always into Database using spring and hibernate    forum.springsource.org

Data is not getting stored always into Database using spring and hibernate Hi All, I am using spring and hibenate with BaseDAOs. While inserting data into the database some times data ...

36. Spring + JPA multiple databases    forum.springsource.org

Hi, We are using JPA with Spring. We have 2 databases (2 hosts, with differents informations) and we don't know how to make things work with spring. We can't find any ...

37. Accessing Multiple databases in Spring+JPA+Hibernate    forum.springsource.org

Accessing Multiple databases in Spring+JPA+Hibernate Hi Iam trying to configure multiple databases by specifying 2 different persistence units in the persistence.xml file. I have two different datasources which points to two ...

39. Reverse engineer database Hibernate maps not generated correctly    forum.springsource.org

Reverse engineer database Hibernate maps not generated correctly Hi all, Roo version: 1.1.0.M3 DB: Postgres 8.3 I have been trying to reverse engineer a postgres database for one of our existing ...