Search:

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

Search: Search took 0.07 seconds.

  1. I change database into MySQL, no problem occures....

    I change database into MySQL, no problem occures.

    I don't know why.

    I use postgresql 8.1.0 and postgresql-8.1-404.jdbc3.jar.

    any help?

    Thx.
  2. Hibernate does not work under web application

    Hi,
    I have a program which works under ordinary java application, but it does not work under web, why?
    My program will provide a user manager for acegi.

    ===========================
    public...
  3. I am using MySQL 4.1, hinbernate 3.0.5,...

    I am using MySQL 4.1, hinbernate 3.0.5, springframework 1.2.5, and I just modified the example file of OSWorkflow.


    Thx!
  4. any ideal? Thanks!

    any ideal?

    Thanks!
  5. It is my applicationContext.xml to use MySQL to...

    It is my applicationContext.xml to use MySQL to persistence workflow records:


    <?xml version="1.0" encoding="ISO-8859-1"?>

    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"...
  6. for...

    for com.opensymphony.workflow.spi.jdbc.JDBCWorkflowStore

    The following properties are all required:

    * datasource - the JNDI location for the DataSource that is to be used.

    It seems for...
  7. I got the sample from Spring modules.In...

    I got the sample from Spring modules.In applicationContext.xml there is

    <bean id="configuration" class="org.springmodules.workflow.osworkflow.configuration.ConfigurationBean">
    <property...
  8. I get OSWorkFlow 2.8 from cvs, but there is not a...

    I get OSWorkFlow 2.8 from cvs, but there is not a sample using Spring.
    Do you mean?


    <osworkflow>
    <persistence class="com.opensymphony.workflow.spi.memory.MemoryWorkflowStore"/>

    ...
  9. Instead of define datasource in web.xml. any...

    Instead of define datasource in web.xml.

    any idea?
  10. OSWorkflow's DB persistence under Spring-Modules

    In standard OSWorkflow example, persistance of workflow is using JNDI to
    define datasource.
    I hope to define datasource in application.xml, how can I?
  11. Replies
    17
    Views
    5,676

    Thanks, Erwin. But I need an example code such...

    Thanks, Erwin.
    But I need an example code such as AcegiFlowListener to learn how to integrate acegi and webflow. :)

    Thanks again.
  12. Replies
    17
    Views
    5,676

    can't download source

    I can't download source, would you please repost it?
    thanks!
  13. add a property allowMultiple

    Ben, would you please add a property allowMultiple to Authentication of DaoAuthenticationProvider?
  14. any suggestion?

    any suggestion?
  15. because DaoAuthenticationProvider throw exception

    log as following:


    WARN &#91;net.sf.acegisecurity.providers.dao.event.LoggerListener&#93; - <Authentication failed due to nonexistent username&#58; sa; details&#58;...
  16. ProviderManager process multi-DaoAuthenticationProvider?

    I hope authenticate through In Memory user info, if not success , authenticate through database. I provide two daoAuthenticationProvider,
    but there always the one list before another affects. I just...
  17. java.util.Date isn't same as java.sql.Date

    java.util.Date isn't same as java.sql.Date,
    perhaps you should use code like below:


    java.util.Date d = new Date&#40;&#41;;
    java.sql.Date t = new java.sql.Date&#40;d.getTime&#40;&#41;&#41;;
  18. Replies
    2
    Views
    1,420

    I use oracle, and table2 has 3 columns id as...

    I use oracle, and table2 has 3 columns
    id as varchar2(10)
    name as varchar2(40)
    date as date

    when i use my program there is no exception and dead

    I modify date as mydate, and the program goes...
  19. Replies
    2
    Views
    1,420

    How to insert a row using JdbcTemplate?

    String id="001";
    String name = "name";
    JdbcTemplate jt;
    jt = ....
    jt.update&#40;"insert into sys.table2 &#40;id, name&#41; values&#40;?, ?&#41;", new Object&#91;&#93; &#123;id, name&#125;&#41;;


    this code doesn't work for me,...
  20. Replies
    6
    Views
    7,572

    even I get IDs , the result set is too large

    Hi,
    suppose I have a table of 5M lines of records(ID is UUID),
    even I use


    List ids = getJdbcTemplate&#40;&#41;.query&#40;"select id from abc where ...", new RowCallbackHandler&#40;&#41;&#123;....&#125;&#41;;

    the return...
  21. Replies
    6
    Views
    7,572

    How to get large rowset using JDBCTemplate?

    Hi, we can get rowset through :


    JdbcTemplate jt;
    jt = new JdbcTemplate&#40;dataSource&#41;;
    List rows = jt.queryForList&#40;"select * from abc"&#41;;

    if the table has 10000, 100000, 1000000 or more...
  22. does anybody has idea about it

    How to apply springframwork to do the same work as JDBC?
  23. help me please

    I try to use springframework as following :


    /*
    * Created on 2004-11-16
    *
    */


    import java.util.*;
  24. How to set provide a Clob value to simulate In/out parameter

    Thank you!
    I get the idea


    Yes, declare it as an SqlOutParameter and provide a value in the Map used for input parameters. Both in and out parameters are accessed by name from the map, and if...
  25. How to Access In/Out Parameters of Stored Procedure

    I want to run access DB2 store procedure:
    db2info.MD_MESSAGE(operation IN, metadata IN/OUT, response OUT)
    all parameters are of type CLOB.

    I read other articles of this forum, I can read this...
Results 1 to 25 of 25