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.
Type: Posts; User: DanielQ; Keyword(s):
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.
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...
I am using MySQL 4.1, hinbernate 3.0.5, springframework 1.2.5, and I just modified the example file of OSWorkflow.
Thx!
any ideal?
Thanks!
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"...
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...
I got the sample from Spring modules.In applicationContext.xml there is
<bean id="configuration" class="org.springmodules.workflow.osworkflow.configuration.ConfigurationBean">
<property...
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"/>
...
Instead of define datasource in web.xml.
any idea?
In standard OSWorkflow example, persistance of workflow is using JNDI to
define datasource.
I hope to define datasource in application.xml, how can I?
Thanks, Erwin.
But I need an example code such as AcegiFlowListener to learn how to integrate acegi and webflow. :)
Thanks again.
I can't download source, would you please repost it?
thanks!
Ben, would you please add a property allowMultiple to Authentication of DaoAuthenticationProvider?
any suggestion?
log as following:
WARN [net.sf.acegisecurity.providers.dao.event.LoggerListener] - <Authentication failed due to nonexistent username: sa; details:...
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...
java.util.Date isn't same as java.sql.Date,
perhaps you should use code like below:
java.util.Date d = new Date();
java.sql.Date t = new java.sql.Date(d.getTime());
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...
String id="001";
String name = "name";
JdbcTemplate jt;
jt = ....
jt.update("insert into sys.table2 (id, name) values(?, ?)", new Object[] {id, name});
this code doesn't work for me,...
Hi,
suppose I have a table of 5M lines of records(ID is UUID),
even I use
List ids = getJdbcTemplate().query("select id from abc where ...", new RowCallbackHandler(){....});
the return...
Hi, we can get rowset through :
JdbcTemplate jt;
jt = new JdbcTemplate(dataSource);
List rows = jt.queryForList("select * from abc");
if the table has 10000, 100000, 1000000 or more...
How to apply springframwork to do the same work as JDBC?
I try to use springframework as following :
/*
* Created on 2004-11-16
*
*/
import java.util.*;
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...
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...