Search:

Type: Posts; User: Java Developer; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.06 seconds.

  1. There isn't much in the DAO method public...

    There isn't much in the DAO method

    public testA create(testA item) {
    return (testA) sessionFactory.getCurrentSession().save(item);
    }
    @Override
    public boolean update(testA item) {
    try {...
  2. Updates work but save throws java.lang.ClassCastException: java.lang.String

    I have a hibernate object

    Class A {
    @Id
    @Column(name="ID")
    private String id;

    @Column(name="GLOBAL_KEY")
    private Integer globalKey;
  3. Replies
    1
    Views
    316

    Running SimpleJob

    I have got another thread running but I think thats got too much data Forum Post

    I was trying to run the example in the Spring batch documentation but I can't seem to autowire the right classes....
  4. Should I mix both Spring's scheduling and Spring...

    Should I mix both Spring's scheduling and Spring Batch.... Is it a good practice mixing both in. Can I not schedule using Spring batch alone ?

    About the job running in the background. The only...
  5. Thanks ticino, but what namespace should I...

    Thanks ticino, but what namespace should I define.

    Caused by: org.xml.sax.SAXParseException: The prefix "task" for element "task:scheduled-tasks" is not bound.
  6. I think I now have got all my configurations...

    I think I now have got all my configurations right. So how do I trigger the job the first time.

    public void triggerJobFromTempFlex(String trial) {
    try {
    System.out.println("*******Batch Job...
  7. Thats useful information. I didn't know that the...

    Thats useful information. I didn't know that the Framewrk had scheduling support.

    Assuming that I head the Batch direction,

    How do I invoke the job by the hour.


    <batch:job-repository...
  8. Unrelated but another question... I have defined...

    Unrelated but another question... I have defined the following and created classes...

    How do I schedule this to run from my ear



    <job id="parallelJob"...
  9. Calling an existing service layer method every hour

    I would like to reuse my service layer call(running within Spring container @Service) and invoke it every hour as a batch job since normal run fails because the request times out. How can I go about...
  10. Replies
    2
    Views
    790

    I have downloaded spring-batch-2.1.8.RELEASE and...

    I have downloaded spring-batch-2.1.8.RELEASE and copied over
    spring-batch-parent
    spring-batch-samples
    spring-batch-simple-cli
    and imported them to my workspace.
    ...
  11. Replies
    2
    Views
    790

    Getting the samples running

    I download org.springframework.batch-2.0.0.RELEASE-no-dependencies unzipped it and copied the three folders in samples to my workspace location and imported it into eclipse.

    I get a lot of...
  12. Need some explanation on a configuration fix I made from the spring flex test drive

    I have setup the Spring Flex test drive and have used that to setup a test project. I had to make the following changes to get the application to work. Can someone explain theoretically what I fixed...
  13. Replies
    0
    Views
    755

    Spring Flex test drive

    When I imported the test drive into my workspace I get a lot of jar files missing like the following. What is the best way to resolve them. Do I manually download them or is there a right way to fix...
  14. Replies
    0
    Views
    982

    @OneToMany with composite key

    I have a One to One relation between Employee and Role table with EmployeeRoleMap as the join table. I have tried using the Join table and it does not work since the join table has an active...
  15. Replies
    2
    Views
    1,077

    Once I have defined

    Once I have defined


    <?xml version="1.0" encoding="UTF-8"?>
    <beans:beans xmlns="http://www.springframework.org/schema/security"
    xmlns:beans="http://www.springframework.org/schema/beans"
    ...
  16. Replies
    2
    Views
    1,077

    Actually I dont even need preauthentication. Just...

    Actually I dont even need preauthentication. Just a way to prevent Spring login screen from appearing and then picking up the user id already available in the header in MyUserDetailsService.

    Is...
  17. Replies
    2
    Views
    1,077

    Siteminder and Spring Security

    I am using 2.0.4 and have the following setup


    <?xml version="1.0" encoding="UTF-8"?>
    <beans:beans xmlns="http://www.springframework.org/schema/security"
    ...
  18. Replies
    6
    Views
    1,661

    Alright, finally I got it to hit...

    Alright, finally I got it to hit MyUserDetailsService

    I removed


    <!--
    <beans:bean id="userDetailsService" class="com.util.MyUserDetailsService">
    </beans:bean>
    -->
  19. Replies
    6
    Views
    1,661

    I have got the basic Spring Security to work and...

    I have got the basic Spring Security to work and it brings up the default Spring login page for



    <http auto-config = "true">
    <intercept-url pattern="/AdminPage.jsp"...
  20. Well, got it to work. I had modified the xml...

    Well, got it to work. I had modified the xml preferences (dtd, schema settings,..) in my workspace. Resetting the settings fixed it.
  21. I managed to download the 2.0.4 examples...

    I managed to download the 2.0.4 examples http://sourceforge.net/projects/springframework/files/spring-security/2.0.4/ but even that is giving the following errors in my IDE

    cvc-complex-type.2.4.c:...
  22. Does anyone have an Spring security implementation for 2.0.4

    Does anyone have an Spring security implementation for 2.0.4. I am unable to upgrade to a newer version of Spring and couldn't find documentation anywhere for Spring Security 2.0.4.


    This post is...
  23. Well, since the answer is no and the jar for...

    Well, since the answer is no and the jar for 2.0.4 is already present in the app and works just fine even though it is not used.

    Is there a possibility of getting the Spring security module for...
  24. Well, the project is already running with the...

    Well, the project is already running with the Spring version

    org.springframework.aop-3.0.0.M3.jar
    org.springframework.asm-3.0.0.M3.jar
    org.springframework.aspects-3.0.0.M3.jar...
  25. Adding spring-security-core-3.0.5 to org.springframework.core-3.0.0.M3

    I wanted to add Spring security to an existing Spring implementation and was having trouble with version mismatch with my existing Spring implementation. I am trying to use the Spring security 3.0.5...
Results 1 to 25 of 85
Page 1 of 4 1 2 3 4