solved!
in my opinion it's a bug into hibernate.
I have an arraylist which I want save into 2 db's.
by saving the first it works. before saving it hibernate takes the value for the filed id from a...
Type: Posts; User: fabatt; Keyword(s):
solved!
in my opinion it's a bug into hibernate.
I have an arraylist which I want save into 2 db's.
by saving the first it works. before saving it hibernate takes the value for the filed id from a...
hi ramcis,
i'm now back into the office.
Here is the stacktrace:
- ERROR:org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:301) Could...
What a pity. For the next 3 weeks I'm out of office, so I can't post the stacktrace. When I'm back I will do that!
I make the dataSource switch like this
As told before. By using the...
Ok I added the follwoing to my hbm.xml file:
<version name="version" column="VERSION" access="field">
and following code to my java class:
private Integer version; /* used for optimistic...
ramcis, thank you for your reply.
could you give me more information about this?
how do I add a object field in my object by annotated, by implementing Serializable and create a serialVersionUID...
I found a solution for my problem.
The function getHiberanteTemplate().saveOrUpdateAll() did not work. It didn't save no data in any DB.
When I save object by object, using...
Hi liorbb,
how did you initiate a new transaction?
Could you provide some code example?
I have similar problem. The getHibernateTemplate.saveOrUpdate do not work, it takes the wrong DB. The...
Any Idea or some hints?
Hi all,
into my webapp I'm using spring(2.5.1), spring-security(1.0.6), iceFaces(JSF) with facelets.
Spring-security in general seems to work fine. But there is one problem regarding...