hi,
ive used intellij to write a swing-application. i also used the jgoodies plugin.
for each form i created, the builder created 2 files: TheClass.form (xml-data), TheClass.java
now running...
Type: Posts; User: soulspirit; Keyword(s):
hi,
ive used intellij to write a swing-application. i also used the jgoodies plugin.
for each form i created, the builder created 2 files: TheClass.form (xml-data), TheClass.java
now running...
after downgrading to slf4j 1.5.2 the log showed me the missing class. it was part of the javassist. after adding this dependency everything worked fine..
@kantorn as i said im on spring 2.5.4 ;)
hi,
im using spring 2.5.4 and just upgraded form hibernate 3.2.6.ga to 3.3.1.ga.
ive appended a full trace of my testcase since it is to long for a post..
im using maven to handle...
ok will do that. thx! :)
Hi,
im using spring, hibernate and maven for my project.
how can i execute a SQL- script before running my tests?
at the moment i use the "executeSqlScript" from the...
Found the error.
It was simply that i forgot the invocation of the super-method here:
@Override
public void onSetUp() throws Exception {
super.onSetUp(); <<---- this line was...
i switched to declarative transactions. my service-function now looks like:
@Transactional(readOnly = false, propagation = Propagation.REQUIRED)
void doImport(IDataReader reader, Map<Object,...
no way for doing this? :(
ok, my real problem is, that getBean returns an Interface (because i use Annotation for transaction-handling which makes the use of AOP and JDK-Proxies). The Interface...
Hi
i have a service-class which handles a treestructor in the database:
public interface IDwhTree {
}
public class DwhTree implements IDwhTree {
public DwhTree() {}
public...
thats what i do. the service holds the transaction and makes calls to the dao. after all calls are done, the transaction is committed...
ok, will do that ;) thx in the meantime!
its because i read a file containing a huge amount of data. so not using transactions would imply doing a commit on every dao.makepersisten(..); which would slow down things. if this issue with...
I have a project where several technologies are mixed together:
Spring 2.5.4
Hibernate 3.2.6.ga
Maven2
Groovy 1.5.6 (since 2 weeks now in my project)
90% of the project is written in Java...
Hi,
im trying to use the spring-testframework for my spring/hibernate/maven2 application.
spring = 2.0.6
hibernate = 3.2.4.sp1
the testcase:
public class TestHibernateBjAccountDaoImpl...
Im using maven for depedency-handling. Here the configuration:
<groupId>org.hibernate</groupId>
<artifactId>hibernate</artifactId>
<version>3.2.4.sp1</version>
nope, doesnt work ;) :
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource...
I thougth "update" would make some changes in my schema.. It works indeed using update, but what would be an apropriate use-case for "validate" ?
Here the code that causes the wrong column-type error:
<property name="birthdate"
type="string"
>
<column...
I've thought so too, but it seems hibernate DOES make a difference.
If i change the setter/getter in my java-file to string then there are 2 cases:
- if i set the mapping in the xml to string...
Hi,
im using Hibernate 3/Spring 2 and Postgres 8.2
Im trying to map an existig table with a column of char(10). Im working on it since yesterday morning, but i cant find the right...
hmmm, can I change somehow this behaviour of hibernate? Otherwise this function seams really useless to me..
I would agree, but neighter I can influence the session-handling of the HibernateTemplate nor I have a collection in the mapped class...
If I cant access a simple String-object in the loaded...
But this exception appears also, when I try to load an existing instance of the object.
So what should i do? Should I use "eager-fetching" instead of "lazy-fetching" ? How can I tell Hibernate not...
Hi,
im trying to write a simple program in Java to read some stuff from my database.
To load data from the database, I'm using the HibernateTemplate.load() function. However it doesnt work at...