Results 1 to 4 of 4

Thread: Get Bean Define from DataBase?

  1. #1
    Join Date
    Sep 2004
    Posts
    2

    Default Get Bean Define from DataBase?

    Hi there,
    I want to get bean define from database,
    what can i do?

    Thanks

  2. #2
    Join Date
    Aug 2004
    Location
    California
    Posts
    17

    Default Re: Get Bean Define from DataBase?

    Quote Originally Posted by waspxyz
    Hi there,
    I want to get bean define from database,
    what can i do?

    Thanks
    Look at this topic http://forum.springframework.org/sho...p?t=9640<br /> - code is available.
    Last edited by Rod Johnson; Jan 18th, 2006 at 10:47 AM.

  3. #3
    Join Date
    Sep 2004
    Posts
    2

    Default Re: Get Bean Define from DataBase?

    Quote Originally Posted by MHarhen
    Quote Originally Posted by waspxyz
    Hi there,
    I want to get bean define from database,
    what can i do?

    Thanks
    Look at this topic http://forum.springframework.org/viewtopic.php?t=87 - code is available.
    Thanks !

  4. #4
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    I'm working on a mechanism that can apply Spring DI to beans mapped to a database row and retrieved using Hibernate, JDO, Spring JDBC etc. The code is in the sandbox: org.springframework.beans.factory.dynamic.persist. The support is threadsafe and will allow reloading or changing the primary key to point at a different row. It's just a factory bean, and quite simple to configure.

    I believe that this is a better approach than the old JdbcBeanDefinitionReader approach.
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

Similar Threads

  1. Order of Bean definitions matters?
    By cfuser in forum Container
    Replies: 2
    Last Post: Oct 21st, 2005, 10:29 AM
  2. Spring container fails with no exception
    By naor in forum Container
    Replies: 9
    Last Post: Oct 1st, 2005, 03:39 PM
  3. EHCaching Hibernate
    By dencamel in forum Data
    Replies: 3
    Last Post: Sep 6th, 2005, 09:03 PM
  4. could not satisfy dependencies
    By springuser in forum Container
    Replies: 4
    Last Post: Apr 26th, 2005, 01:15 PM
  5. Replies: 1
    Last Post: Apr 25th, 2005, 07:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •