I'm working on a application which uses spring and hibernate. We are using postgresql as the database.
When I try to insert a record into a table which has a OID column ... |
I have the following setup:
Spring -> JPA -> Hibernate -> PostgreSQL
I've created a service layer which offers some "@Transactional" methods to insert data. The data is in the concrete case a ... |
I try to set up a Junit test case for my dao layer.
However, I do NOT want the test data to be actually persisted to the DB.
So I thought I should ... |
i recently upgraded to postgresql9 from postgresql8. i have a method marked as @Transactional(readonly=true) and call nextval on the sequence. it worked fine in Postgres8 but it fails in Postgres9.
I looked ... |
we have been fighting with this on and off now for weeks.
first the code,
<?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"
xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx"
...
|
this question started here
second DB action freezes execution in transaction
you can see my code there.
i have completely reconfigured spring and started analyzing the database. i think my problem is ... |
i inherited a postgres data model that looks like this
foo.public.user
foo.public.token
bar.public.data1
bar.public.data2
where foo and bar are the names of the database
using hibernate, how do i configure the hbm file or the hibernate.cfg.xml to ... |
|
I am using Spring , JPA, Hibernate, Postgresql. I can upload/insert a file to the database. But I got the error when tried to access the file.
EVERE: Servlet.service() for servlet ...
|
I'm using Spring JDBC Template along with PostgreSQL. Below is my configuration
Datasource and Transaction Settings:
<bean id="databasePropertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"
...
|
An application I am trying to support is currently running into unique constraint violations. I haven't been able to reproduce this problem in non-production environments. Is it reasonable, for debugging purposes, ... |
JDBC Template SELECT for UPDATE PostgreSql (lock row for read) Hi everybody, i would like to select a table row and lock it in same time. I read on some post ... |
spring transactions, hibernate, postgresql looks like record locking issue ive been working with a few people on stackoverflow on this issue and still am coming up dead. here are the threads, ... |
JDBC + Hibernate transactions postgresql/tomcat Hi, I'm researching Spring (never used) reading Pro Java Dev (by Rod Johnson et al - Great book btw). I'd like to have Spring manage transactions ... |
Is anyone here using JTA succesfully using JOTM and PG 8.1? From what I read around the web it is pretty difficult to use JTA with open source databases. Should I ... |
Oct 4th, 2006, 01:08 AM #1 theqmaster View Profile View Forum Posts Private Message Member Join Date Dec 2005 Location Twin Cities, Minnesota Posts 35 Postgresql 8.1 + Hibernate and rollback ... |
Spring + Ibatis + Postgresql --> Transaction read-only Hi, I need your help. I'm working with Spring 2.0. + Ibatis 2.3.0 + postgresql 8.2, and the update operation returns org.postgresql.util.PSQLException: ERROR: ... |