Search:

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

Page 1 of 2 1 2

Search: Search took 0.08 seconds.

  1. Have you tried batchUpdates?...

    Have you tried batchUpdates?
    http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/jdbc.html#jdbc-advanced-jdbc
  2. Replies
    3
    Views
    675

    Take a look a jasypt:...

    Take a look a jasypt: http://www.jasypt.org/encrypting-configuration.html
  3. Replies
    8
    Views
    5,172

    try to use...

    try to use net.sf.ehcache.configurationResourceName to specify your ehcache configuration file



    <property name="net.sf.ehcache.configurationResourceName">/hibernate-ehcache.xml</property>
  4. Replies
    2
    Views
    1,463

    Have you tried with these settings:

    Have you tried with these settings:


    <bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"
    lazy-init="false">
    <property name="autoStartup" value="true"/>
    ....
  5. Replies
    7
    Views
    6,810

    You are missing commons-pool

    You are missing commons-pool
  6. I guess you can use coalesce. select...

    I guess you can use coalesce.



    select coalesce((select id from mytable where unique_id = 7), -1)
  7. You can use 'select count(*) ...'

    You can use 'select count(*) ...'
  8. Thread: Hibernate Help

    by croudet
    Replies
    2
    Views
    568

    If you don't have a primary key in your table try...

    If you don't have a primary key in your table try mapping all columns with a composite-id.
  9. Replies
    2
    Views
    1,602

    I think you need to remove the single quotes,...

    I think you need to remove the single quotes, otherwise it gets interpreted as a string.



    select id, name, oracle_function.get(:name) password
    from password
  10. Try to use the element: .......

    Try to use the <props> element:



    ....
    <property name="hibernateProperties">
    <props>
    <prop key="hibernate.dialect">${hibernate.dialect}</prop>
    <prop...
  11. Replies
    7
    Views
    1,318

    You can specify the location of the property file...

    You can specify the location of the property file on the command line:


    java -Dlog4j.configuration=conf/log4j.xml ....
  12. Replies
    3
    Views
    1,028

    Turns the log on to see if Quartz is starting....

    Turns the log on to see if Quartz is starting.
    You can also try to set the autostartup property to true:



    <bean id="Scheduler"
    ...
  13. Replies
    2
    Views
    1,046

    I don't know if you are using hibernate, but in...

    I don't know if you are using hibernate, but in the last releases 'select count' returns a long. And I think you should use count(*).
  14. Replies
    1
    Views
    1,035

    Try: ThreadPoolTaskExecutor taskExecutor =...

    Try:



    ThreadPoolTaskExecutor taskExecutor = ...;

    taskExecutor.getThreadPoolExecutor().getQueue().size();
  15. Replies
    4
    Views
    12,169

    backport-util-concurrent.jar is a mandatory lib...

    backport-util-concurrent.jar is a mandatory lib for ehcache 1.41
  16. You can use a transaction manager: class...

    You can use a transaction manager:



    class MyService() implements InitializingBean{
    private PlatformTransactionManager platformTransactionManager;
    private TransactionTemplate...
  17. Try to use the thread count property in your...

    Try to use the thread count property in your scheduler declaration:



    <bean id="Scheduler"
    class="org.springframework.scheduling.quartz.SchedulerFactoryBean"
    lazy-init="false">
    ...
  18. set the property 'schedulerName' in each...

    set the property 'schedulerName' in each definition


    <bean id="RAMScheduler"
    class="org.springframework.scheduling.quartz.SchedulerFactoryBean"
    lazy-init="false"> <property...
  19. Replies
    8
    Views
    13,127

    When using quartz persistent jobs, objects stored...

    When using quartz persistent jobs, objects stored in JobDataMap must be serializable.

    Anyway, you can retrieve your beans from the applicationContext:


    public class MyJob extends QuartzJobBean...
  20. Replies
    2
    Views
    887

    You can try to set the attibute lazy-init to...

    You can try to set the attibute lazy-init to false and the autoStartup to true:

    <bean id="Scheduler"
    class="org.springframework.scheduling.quartz.SchedulerFactoryBean"
    lazy-init="false">...
  21. Your objects must be fully initialized (the...

    Your objects must be fully initialized (the hibernate way, i.e. no more proxies or lazy collections) when they go on the wire.

    Take a look to this blog entry, it may help you....
  22. Replies
    1
    Views
    823

    Compatibility Spring modules - Spring

    Hi,

    I'd like to know if spring-modules-0.7 is compatible with spring-1.2.8?

    Is there some tables that keeps track of such info?
  23. Replies
    19
    Views
    5,629

    JackRabbit and namespaces

    I try to register a namespace, but I got and error when running the application a second time (name space already exists).

    I have seen a closed issue on jira:...
  24. Replies
    1
    Views
    1,147

    Please ignore. Adding

    Please ignore.

    Adding <property name="schedulerName" value="RAMScheduler"/> and the
    application context did the tricks.
  25. Replies
    1
    Views
    1,147

    Multiple Quartz Schedulers

    I would like to declare two Quartz schedulers in my application context (one with a RAMJobStore and the other with a JDBCJobStore).

    But it appears that only one scheduler (the one that appears the...
Results 1 to 25 of 46
Page 1 of 2 1 2