Search:

Type: Posts; User: Dan Washusen; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.05 seconds.

  1. Replies
    27
    Views
    5,481

    I've been meaning to ask the spring developers to...

    I've been meaning to ask the spring developers to make a few tweaks to PropertyPlaceholderConfigurer that woud make my life a lot easier. Maybe for version 0.4...
  2. Replies
    27
    Views
    5,481

    Sorry about that, I've been flat chat at work the...

    Sorry about that, I've been flat chat at work the last few weeks. I'll put the build up this weekend.
  3. Replies
    27
    Views
    5,481

    Sounds good.

    Sounds good.
  4. Replies
    27
    Views
    5,481

    True. :) If no configuration file property is...

    True. :)

    If no configuration file property is provied then JFigConfigurationFactoryBean will delegate to JFig for initialisation (via the config.filename and config.location system properties).
    ...
  5. Replies
    27
    Views
    5,481

    I've created a JFigConfigurationFactoryBean class...

    I've created a JFigConfigurationFactoryBean class that fixes the problems with system properties that garpinc2 mentioned.



    <bean id="configuration"...
  6. Replies
    27
    Views
    5,481

    Thanks for your feedback garpinc2. I'll look...

    Thanks for your feedback garpinc2. I'll look into adding support to specify the filename from system property.

    Also, I'd appreciate help if anyone is interested.
  7. Replies
    9
    Views
    1,903

    If you are just looking at configuring one value...

    If you are just looking at configuring one value spring-config/extending PropertyPlaceholderConfigurer might be a bit much. I wrote spring-config to solve...
  8. Replies
    2
    Views
    1,947

    Check out...

    Check out http://forum.springframework.org/showthread.php?t=15558.
  9. Have you looked at the...

    Have you looked at the org.hibernate.util.SerializationHelper class?
  10. Hi Dozen, Check out spring config...

    Hi Dozen,
    Check out spring config. The steps involved in getting a custom configuration agent going are pretty trivial. Just create a custom implementation of the AbstractPlaceholderEvaluator...
  11. Hi Ersin, You are asking very broad questions...

    Hi Ersin,
    You are asking very broad questions and you might find that people are hesitant to respond because it would take to long...

    Check out this presentation given by Rod Johnson at last...
  12. Replies
    2
    Views
    1,188

    I had a similar problem and solved it by writting...

    I had a similar problem and solved it by writting my own version of PropertyPlaceholderConfigurer. You can check it out at http://spring-config.sf.net. For ideas on how to implement your own...
  13. can you post the hibernate mapping files?

    can you post the hibernate mapping files?
  14. Replies
    17
    Views
    37,983

    The easiest way is to define your annoated...

    The easiest way is to define your annoated classes in the hibernate.cfg.xml file, setting the configLocation and set configurationClass to org.hibernate.cfg.AnnotationConfiguration.

    You could also...
  15. I'm leaning toward making the temporary file name...

    I'm leaning toward making the temporary file name more unique by adding a random number to the end of the owner.hashCode() value then letting the user manage the caching of files..
  16. Here is the updated implementation. The major...

    Here is the updated implementation. The major problem at the moment is thread safety and I'm interested in hearing what people suggest. The problem lies in the nullSafeGetInternal metod, if two...
  17. You could take advantage of the...

    You could take advantage of the DataSourceTransactionManager class. It binds a connection to the current thread so that the same connection can be used for each transaction...
  18. I'm going to need to re-implement the logic found...

    I'm going to need to re-implement the logic found in AbstractLobType to get access to the owner parameter. I'd presumed that the missing parameter on the nullSafeGetInternal method was a bug, but...
  19. Easy, here is the code for the File user type: ...

    Easy, here is the code for the File user type:


    import org.springframework.jdbc.support.lob.LobHandler;
    import org.springframework.jdbc.support.lob.LobCreator;
    import...
  20. Assumptions: 1. When you say Hibernate DAO I...

    Assumptions:
    1. When you say Hibernate DAO I take it you mean domain object. As apposed to an object that extends HibernateDaoSupport.

    2. When you say Data Bean I'm going to assume you're...
  21. Saving large files to a db using hibernate?

    Hey all,
    I'm attempting to save large files (about 1Mb) to a database using hibernate3. The files are being placed in the database as a backup and will be cached on the app server so I don't really...
  22. Replies
    6
    Views
    5,024

    The JAX-RPX documentation is available in CVS in...

    The JAX-RPX documentation is available in CVS in case anyone is interested...

    http://cvs.sourceforge.net/viewcvs.py/springframework/spring/docs/reference/src/remoting.xml?view=markup
  23. You can access the HttpSession indirectly... When...

    You can access the HttpSession indirectly... When you specify your serviceUrl simply append the session id:
    http://localhost:8080/path/to/service;jsessionid=E959A54152FC081C1D85D9502BF33F08

    This...
  24. Doh! To answer my own question, Matt has the...

    Doh! To answer my own question, Matt has the ValidatorFactory loaded into the main context.

    *sigh*
  25. I've recently changed from using my domain...

    I've recently changed from using my domain objects as the commands to a flatter representation of the object for my form. I found that how I collected information from the user was usually simpler...
Results 1 to 25 of 54
Page 1 of 3 1 2 3