Container authenticated JNDI Datasources are configured like this,
according to the documentation:
How is configured an Application authenticated JNDI Datasource? How
are the credentials (user and password) passed?
Thank you.
It's not that I don't agree with you about the existence of better options. It's just that with iBATIS you can start working with a persistence layer, including DAOs in a work day, with the nice docs of SqlMaps and the DAO framework (less than 100 pages together).
If you are going to use Spring DAO
-1iBATIS DAO framework is easy, works great, and the DAOs are a very nice place to manage the transactions. I liked the DAO framework since I saw it in action at the JPetStore example.Probably I will move on to Spring too, but I don't think every iBATIS user has to.
IMHO, there's no reason to depre
lol, nice last contributionOn 9/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> wrote:
Try something like thisimport java.sql.*;import java.io.*;public class BlobHandler { public static void main(String args[]) { Connection con = null; if (args.length < 5) {
System.err.println("Syntax: + "[uid] [pass] [file]"); return;
Thank you very much, Larry.On 9/18/06, Larry Meadors <[EMAIL PROTECTED]> wrote:
Yes, it is skipped rows.LarryOn 9/18/06, Javier Urbaneja <[EMAIL PROTECTED]> wrote:> It seems (for the results i'm getting now) that in> "
> queryForList(java.lang.String id,> java.
It seems (for the results i'm getting now) that in"queryForList(java.lang.String id, java.lang.Object parameterObject, int skip,
int max)Executes a mapped SQL SELECT statement that returns data to
Forget about it. I'm going to change the design to avoid this problem. One table GROUPS_HAVE_USERS (ID_GROUP(FK),ID_USER(FK), ADMIN) with the admin field, to populate the admin list in the DAO Impl.Thank you anyway if you have bothered to read this.
On 9/4/06, Javier Urbaneja <[EMAIL P
HelloI have 4 tables of interest:USERS (ID_USER,NICKNAME,AVATAR_IMG_URL,...)GRUOPS (ID_GROUP,DESCRIPTION,LOGO_IMG_URL,...)GROUPS_HAVE_USERS (ID_GROUP(FK),ID_USER(FK))GROUPS_HAVE_ADMINS (ID_GROUP(FK),ID_USER(FK))
My Group domain class has one property for the List of Admins and another for the List
Which woul be the simplest way to make the insertAccount functionality of the JPetStore 5 into a distributed transaction to 4 different databases?This is the only distributed transaction we need, it would be bad if we have to change the configuration for every other transaction in the application.
I've includedas you said and now it works perfectly:DEBUG [http-8080-2] - Cache 'Country.all-countries-cache': retrieved object '[EMAIL PROTECTED]
, [EMAIL PROTECTED], [EMAIL PROTECTED]'Again, thank you very much Niels, you are helping me greatly.I don't want to criticize the documentation, which i
wrote:
Did you enable global caching in the main config?
Niels
From: Javier Urbaneja
[mailto:[EMAIL PROTECTED]]
Sent: zaterdag 19 augustus 2006
17:16
To: user-java
Subject: Unable to make cache work
I'm using SqlMaps 2.2.0 with DAO.
Configuration of the cac
I'm using SqlMaps 2.2.0 with DAO.Configuration of the cached stament:
select * from countries Log configuration:log4j.rootLogger=DEBUG, stdoutlog4j.logger.com.ibatis.sqlmap.engine.cache.CacheModel=DEBUGlog4j.logger.java.sql.Statement=DEBUG
log4j.logger.java.sql.Pr
Now I have the countryResult in a separated xml map file. I've qualified the name, and it works great.Thank you very much.On 8/18/06, Javier Urbaneja
<[EMAIL PROTECTED]> wrote:
Thank you Niels, I'll try what you say.About your question, according to the user guide, this featur
I think you should use the fully qualified
name of the resultmap, so User.countryResult shoulud work just fine. Does this
behaviour occur only with 2.2.0 or did you just mention it to be complete?
Niels
From: Javier Urbaneja
[mailto:[EMAIL PROTECTED]]
Sent: woensdag 16 aug
This is my map file User.xml:
select user_register_seq.nextval as idUser from dual insert into users (id_user, nickname, password, email, id_country)
This approach you just gave me will be much more
convenient. Sorry about being a little Off-Topic. Do you think a
hardware load-balancer will be much better than Apache load balancing with
affinity? Would you configure it to balance by CPU load?
Clinton, thank you very much for your reply.
Are there any necessary configuration (or modification) steps to install
the JPetsore 5 application in a session replication cluster (Tomcat)?I'm
talking about configuring caches, make POJOs serializable, etc.This
wonderful design, based in beanaction.jar (I wasn't able to find the sources in
18 matches
Mail list logo