Search:

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

Page 1 of 2 1 2

Search: Search took 0.05 seconds.

  1. Replies
    18
    Views
    4,058

    I do this each time as it saves much time but it...

    I do this each time as it saves much time but it does not save everything like code formatting and error/warning settings. It makes some sense it does not (big job) but still a hasstle to reset each...
  2. Replies
    18
    Views
    4,058

    Upgrade pain

    I find the whole eclipse product based upgrade to continue to be difficult. Not the DL and unpack (which is crazy simply) but that I have to totally reset my environment (errors/warnings, code...
  3. Replies
    11
    Views
    34,744

    The problems continue

    It is not fully resolved as spring 3.0.1 still has a hard coded JPA 1.0 dependency. I am now waiting on the issuance of 3.0.2 to get past it.

    My current problem is that the test cases will not run...
  4. Replies
    1
    Views
    941

    Works by default

    I used the same idea and it works nicely.

    Your query will return an object from say the thief table and so your code will construct a thief object (which is of Person type) so it will return that...
  5. Replies
    11
    Views
    34,744

    resolved

    Okay the issue was resolved by upgrading to Spring 3.0.1 and OpenJPA2.0.0-beta 2.
    Also had to make sure the OpenJPA jar was up near the top of the classpath as something else is drawing in the 1.2X...
  6. Replies
    11
    Views
    34,744

    getting same error in 3.0.1and openJPA3.0-beta

    Also getting it with OpenJPA1.2.1


    Caused by: java.lang.NoSuchMethodError: javax.persistence.spi.PersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode;
    at...
  7. Been there done that

    Not junior enough to not search first

    Did not work, Jar did not come down, got XML and sha1 file but jar no-worky

    in the words of the soup-nazi NEXT
  8. Possible solution

    I think if you call afterPropertiesSet() you can call use the exposed entitymanager. I need to check on the 3.0.1 snapshot (JPA bug is fixed there) when it is I will update here so you know.

    I am...
  9. What is the Worknig Maven Snapshot Repository

    This should not be this hard to find but, darn, it is.

    All repositories should be clearly listed and easy to find and updated as they move back and forth from amazon and spring. can they be added...
  10. How to get an EntityManagerFactory with JPA and JavaConfig

    I am working on getting an EntityManagerfactory using JPA and JavaConfig
    I have been using this following method but it returns a null


    @Bean
    public EntityManagerFactory...
  11. Really - this is the solution?

    I have a similar issue but use (unsuccessfully) the createNativeEntityManagerFactory() method. It seems that this should work since it is the only method to get at the entitymanager factory.

    Was...
  12. Update - problem solved

    The problem seemed to be my config.xml files were not being found. I had moved them from META-INF dir (both regular and test). Once I moved them back this error cleared up. Another showed up but...
  13. Solution?

    Did you ever figure this out? I still have it but did not use ROO. My issues, I think, is due to JavaConfig/SPring 3.0 as my project worked before I migrated to them
    Would love to hear some solutions
  14. Works like a charm

    Thanks for keeping this thread up to date. I was looking for a solution and here it is. Same problem exists in STS2.3.0
  15. will try backing out changes

    I understand the difficulty in assessing a problem pretty much blind. Not sure what to do as sending everything is prohibitive and paring down would take a awfully long time. I may try to see if...
  16. Updated Jar file

    Chris,

    I had also read that I should remove any dependency on Junit in the forums. Doing that though means that I get compile errors for all test cases (Assert class not found). Changed the scope...
  17. still misconfigured

    I have made the changes you suggested (thank you for your time) and the same problem persists
    The important part of the context file now looks like this

    <context:load-time-weaver/>...
  18. Jira link to posted issue

    http://jira.springframework.org/browse/SJC-274
  19. Cannot get Java Config to work properly

    I have taken and exisitng and working eclipse/spring 2.56/xml configed application and migrated it to STS/Spring 3.0/Java Config application. Through this I have lost my ability to get my Junit4 test...
  20. Agreed this is slow

    Same Maven project , unaltered runs at least 10x slower than standard eclipse version, tried the option presented here and other options here and no significant change
    Would love to stay with sts if...
  21. Spring, ajax and asynchronous processing

    Will spring-ws have an asynchronous solution or will all message processing be synchronous.

    I am trying to decide how best to make my spring beans asynchronous (ajax enabled) web services. Any...
  22. Replies
    8
    Views
    8,576

    It was: ...

    It was:

    @ManyToOne(cascade={CascadeType.PERSIST,CascadeType.REFRESH,CascadeType.MERGE})
    @JoinColumn(name = "ownerFK", referencedColumnName = "categoryTypeFK")

    and should have been:
    ...
  23. Replies
    8
    Views
    8,576

    Resolved it to be a copy-paste issue in another...

    Resolved it to be a copy-paste issue in another source file. Found it by commenting out the above relationship and seeing the exception persisted.

    Thanks everyone
  24. Replies
    8
    Views
    8,576

    JPA configuration

    Slowly but surly all the information will get to this thread. Sorry to drag it out but I don;t think the issue is in the joining. The first part was in a prior part of the thread but the two classes...
  25. Replies
    8
    Views
    8,576

    re: JPA configuration

    Here you go. This is the last of a 20K line stack trace. The mapping it complains about is simple many to one mapping:



    @ManyToOne(cascade = { CascadeType.PERSIST, CascadeType.REFRESH,...
Results 1 to 25 of 37
Page 1 of 2 1 2