Search:

Type: Posts; User: soulspirit; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    626

    jgoodies and spring?

    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...
  2. Replies
    3
    Views
    2,226

    after downgrading to slf4j 1.5.2 the log showed...

    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 ;)
  3. Replies
    3
    Views
    2,226

    upgrading to hibernate 3.3.1.ga fails

    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...
  4. Replies
    2
    Views
    750

    ok will do that. thx! :)

    ok will do that. thx! :)
  5. Replies
    2
    Views
    750

    Test data for integration testing

    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...
  6. Found the error. It was simply that i forgot...

    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...
  7. still no rollback

    i switched to declarative transactions. my service-function now looks like:

    @Transactional(readOnly = false, propagation = Propagation.REQUIRED)
    void doImport(IDataReader reader, Map<Object,...
  8. Replies
    2
    Views
    806

    no way for doing this? :( ok, my real problem...

    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...
  9. Replies
    2
    Views
    806

    pass arguments to constructor

    Hi

    i have a service-class which handles a treestructor in the database:

    public interface IDwhTree {

    }
    public class DwhTree implements IDwhTree {
    public DwhTree() {}
    public...
  10. thats what i do. the service holds the...

    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!
  11. its because i read a file containing a huge...

    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...
  12. Rollback with AbstractTransactionalDataSourceSpringContextTests not working

    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...
  13. Spring AbstractTransactionalSpringContextTests

    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...
  14. Replies
    11
    Views
    1,998

    Im using maven for depedency-handling. Here the...

    Im using maven for depedency-handling. Here the configuration:
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate</artifactId>
    <version>3.2.4.sp1</version>
  15. Replies
    11
    Views
    1,998

    nope, doesnt work ;) : Exception in thread...

    nope, doesnt work ;) :

    Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource...
  16. Replies
    11
    Views
    1,998

    I thougth "update" would make some changes in my...

    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" ?
  17. Replies
    11
    Views
    1,998

    Here the code that causes the wrong column-type...

    Here the code that causes the wrong column-type error:

    <property name="birthdate"
    type="string"
    >
    <column...
  18. Replies
    11
    Views
    1,998

    I've thought so too, but it seems hibernate DOES...

    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...
  19. Replies
    11
    Views
    1,998

    mapping error with postgres

    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...
  20. hmmm, can I change somehow this behaviour of...

    hmmm, can I change somehow this behaviour of hibernate? Otherwise this function seams really useless to me..
  21. I would agree, but neighter I can influence the...

    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...
  22. But this exception appears also, when I try to...

    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...
  23. Hibernate/Spring "could not initialize proxy-no Session

    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...
Results 1 to 23 of 23