oops... apologies... i forgot we are on the ibatis user list o_0
Brandon
On Wed, Oct 7, 2009 at 11:51 PM, Brandon Goodin wrote:
> +infinity
> but RSpec + Ruby + Rails makes me hotter
>
> Brandon
>
>
> On Wed, Oct 7, 2009 at 11:47 PM, Nathan Maves wrote:
>
>> yeah bu
+infinity
but RSpec + Ruby + Rails makes me hotter
Brandon
On Wed, Oct 7, 2009 at 11:47 PM, Nathan Maves wrote:
> yeah but how cool are unit tests that use mockito and guice! BAM! f'in
> slick!
>
>
> On Wed, Oct 7, 2009 at 12:13 PM, Larry Meadors wrote:
>
>> Nah, mockito is cooler than even gu
It is deprecated and no additional work is being done on it or with it to
ensure it works with future ibatis versions.
Brandon Goodin
On Wed, Oct 7, 2009 at 10:16 AM, Ivan Bojer wrote:
> Why is it dead? I've been using it successfully in my project(s) so I
> am really curious why are
Forget the JavaBean spec and provide column to method mapping :) Then you
could intentionally map a column to a "set" method on a class if you wanted.
Of course you may open a can of worms with that since some people may want
to pass multiple columns to a method. But, then again, that's not much
di
non .java files that belong on the classpath are supposed to go under the
resources directory in Maven.
Brandon
On Thu, Aug 27, 2009 at 2:53 AM, Richard Bibb wrote:
>
> I'm probably being silly here as I don't seem to be able to figure out
> where
> to put my sqlMap XML files in my Maven project.
I'm not convinced that slf4j is any better than the more widely used
commons-logging. I know there are those who believe passionately on both
sides of this discussion and I don't mean to berate anyone. If we want
logging autonomy I'd rather go with what we did in the last version and
simply impleme
It depends on whether another significant version of the JVM ever comes out.
In the current state of Java. It is unlikely that 6 or 7 (or 8) are going to
have any significant features that will compel us to upgrade. But, who
knows... once 6 hits its end of life... we may drop support in a micro
ver
dness
>>
>> On Thu, Aug 13, 2009 at 2:37 PM, Larry Meadors
>> wrote:
>>
>>> "Even if.."?
>>>
>>> I'd say "ESPECIALLY IF ..."
>>>
>>> We'd never have to answer "How do you ibatis with _?" ag
2009 at 2:37 PM, Larry Meadors wrote:
>
>> "Even if.."?
>>
>> I'd say "ESPECIALLY IF ..."
>>
>> We'd never have to answer "How do you ibatis with _?" again! :D
>>
>> Larry
>>
>>
>> On Thu
IF ..."
>>
>> We'd never have to answer "How do you ibatis with _?" again! :D
>>
>> Larry
>>
>>
>> On Thu, Aug 13, 2009 at 3:35 PM, Brandon Goodin
>> wrote:
>> > LOL... I'm mostly playing. I hope we can all hav
LOL... I'm mostly playing. I hope we can all have fun with this. Spring is
certainly a fine enough solution. In then end isn't about who is willing to
do it. No need to ask permission. Just do it. Even if we have 10 JPetStores
implemented with 10 different frameworks it's all good.
Brandon
On Thu,
It is about quality. If it was always about popularity then we'd all be
using Hibernate or JDBC and not iBATIS... Stripes, Guice, JQuery :)
Brandon
On Thu, Aug 13, 2009 at 4:24 PM, Warren Bell wrote:
> Stripes? Is it popularity or simplicity?
>
> Warren
>
>
> Kai Grabfelder wrote:
>
>> I would r
How about Stripes and Guice ;-)
Brandon
On Thu, Aug 13, 2009 at 3:22 PM, Warren Bell wrote:
> How about Spring and Wicket?
>
> Steven A wrote:
>
>> Would you be opposed to:
>>
>> Spring for dependency injection
>> Spring-mvc for the web framework
>>
>>
>>
>> On Thu, Aug 13, 2009 at 5:49 AM, Clin
No it is not on the maven repo.
Brandon
On Mon, Aug 10, 2009 at 12:15 PM, Zhubin Salehi wrote:
>
> Is it already on Maven2 repository? I couldn't find it under
> http://repo1.maven.org/maven2/org/apache/ibatis/
>
>
> Ing. Jan Novotný wrote:
> >
> > Congratulations, I can't wait to see whether al
Nathan Maves just discussed this with me today. We will review our current
build process and assemble an Apache friendly way to manage the deployments.
I'm not sure when this will happen. We are all quite busy.
Ultimately the goal will be to handle the the dist build and the artifact
build all at t
Actually this not a bug. It is intentional. The mapped statements can vary
in their use and believe it or not may get used without a return
result. There were some fringe cases where it made sense to not specify the
resultXXX. I know it is annoying. But, it is on purpose. Just remember to
always s
Don't use the PaginatedList. It's deprecated. You should just use the
queryForList with the max and skip parameters. You get back a basic list.
Then you can do what you want with it. If your jsp problem still exists at
that point then it is something other than iBATIS.
Brandon
On Fri, Jul 24, 200
perhaps you haven't specified a resultClass/resultMap?
Brandon Goodin
On Wed, Jul 22, 2009 at 12:38 PM, David McReynolds <
dmcreyno...@secureworks.net> wrote:
> Anyone know under what circumstances ibatis would fail to locate a
> record when I can take the query from the log an
To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org
For additional commands, e-mail: user-java-h...@ibatis.apache.org
On Wednesday, July 15, 2009, Sergey Livanov wrote:
>
>
--
Brandon Goodin
Silver Mind Software
http://www.silvermindsoftware.com
bgoo...@silvermindsoftware.c
You can configure a pool in
tomcat as a JNDI resource and then configure ibatis to make use of it.
Tomcat uses DBCP under the hood.
Brandon
On Sun, Jun 14, 2009 at 9:43 PM, David Brown
wrote:
> Hello Nathan, please excuse, I should have mentioned that I will be using
> Tomcat as the container. I
I didn't look over it thoroughly but i noticed you appear to have a
misplaced "COUNT":
SELECT CG , COUNT(CD) *COUNT*,
SUM (
TO_DATE(EDATE||' '|| etime ,'DD-MM- HH24:MI:SS' ) -
TO_DATE(ADATE||' '|| atime ,'DD-MM- HH24:MI:SS' )
) total_time
Perh
iteral, of course, it's a private
> place where this will be done.
> My need for that string substitution is to add dynamic pieces of SQL
> into already existing ones.
>
> On Sat, May 16, 2009 at 12:02 AM, Brandon Goodin
> wrote:
> > There isn't much to say. $blah$ is
There isn't much to say. $blah$ is a literal whereas #blah# will convert to
a ? for the prepared statement.
say you have a property of id on Person and set its value to 1
public class Person {
private Integer id;
//getter/setter
}
If you use the following syntax in your mapped statement:
sel
; is returning 5 MIL records ? For sure I don't
> want that. I don't know if mysql knows how to do optimization without
> "helping" it somehow (LIMIT or something else).
>
> On Fri, May 15, 2009 at 7:52 PM, Brandon Goodin
> wrote:
> > Where are you seeing it
Where are you seeing it perform a full table scan? select * does not
*necessarily* mean it will load all of your records into memory. Oracle for
example is smart about this and I would assume that most databases have
followed suit in this sense over the last few years. Most databases will
smartly u
You are correct.
Brandon Goodin
On Fri, May 1, 2009 at 1:48 PM, Srinivas Doddi wrote:
> We were using two separate Sql Map Configuration files for this kind of
> scenario. In IBATIS, I guess there is no way of specifying two different
> Sql maps clients in a single configura
Hey Bhaarat,
The example you provided is the approach I would take in your situation.
Brandon Goodin
On Fri, May 1, 2009 at 1:25 PM, Bhaarat Sharma wrote:
> Brandon,
> I think your reply came as I was tying up my reply. Please check out my
> second reply to see if that makes sense.
&
Why not create a separate SqlMapClient for the Oracle database?
Brandon Goodin
On Fri, May 1, 2009 at 1:09 PM, Bhaarat Sharma wrote:
> Hi
> Currently our sql-map-config looks like this:
>
>
>
>
>
>
>
>
>
>
>
>
>
&g
You could use JNDI, or can extends the simple datasource and add your own
hashing. I'm not sure why you are that concerned about the password being in
there. If someone gets access to your WEB-INF folder and you don't want them
in there... you have bigger issues my friend. :)
Brandon
On Tue, Apr
et = new HashSet(list);
System.out.println(set.size());
Brandon
On Tue, Apr 7, 2009 at 8:57 AM, Brandon Goodin wrote:
> I took a few seconds and wrote this
>
> ArrayList list = new ArrayList();
> list.add("a");
> list.add("b");
&
I took a few seconds and wrote this
ArrayList list = new ArrayList();
list.add("a");
list.add("b");
list.add("c");
list.add("d");
list.add("e");
list.add("f");
HashSet set = new HashSet();
set.addAll(list);
Syste
What is the exception?
Brandon
On Thu, Apr 2, 2009 at 6:38 AM, mikkapl wrote:
>
>
> yeah, I made mistake... I didn't paste it just type. But It doesn't work
> even if it will be matched.
> It doesn't work at all.
> Do I have to use TypeHandler? But how?
>
>
> > This example can't work, because
on works for me.
>
>
>
> Your explanation sounds make sense to explain what is happening to my code.
> However from logical point of view, my original configuration should be
> correct, right? Or I missed something in the documentation J
>
>
>
> Cheers,
>
> Winarto
What specific version of iBATIS are you using. This should not be an issue.
I do development all the time offline and do not have this issue. Try the
following DOCTYPE declaration.
http://ibatis.apache.org/dtd/sql-map-2.dtd";>
Brandon
On Mon, Mar 30, 2009 at 10:22 AM, Ashish Kulkarni <
ashish.kul
ks for all your help.
>
>
> From: Brandon Goodin
> To: user-java@ibatis.apache.org
> Date: 03/27/2009 12:29 PM
> Subject: Re: How to define alias in
>
> --
>
>
> You know rethinking your statement. It makes no sense. You just showed us
>
AM, Brandon Goodin
wrote:
> You can specify the columnIndex (yuck).
>
> columnIndex="..."/>
> property="customerDependentVo.depLastName" columnIndex ="..."/>
>
> Brandon Goodin
> Silver Mind Software
> http://www.silve
You can specify the columnIndex (yuck).
Brandon Goodin
Silver Mind Software
http://www.silvermindsoftware.com
bgoo...@silvermindsoftware.com
615-306-3652
http://www.linkedin.com/in/bgoodin
On Fri, Mar 27, 2009 at 11:03 AM, Jasmin Mehta wrote:
>
> I can not change the
SELECT
cs.cust_status, cu.first_name, cu.middle_name, cu.last_name,
dep.first_name as dep_first_name, dep.last_name as
dep_last_name
FROM
qol_customer cu,
qol_dependent dep
Try adding a prepend to workspace_id.
...
The reason this occurs is that the dynamic tag has an automatic
removeFirstPrepend="true". Since the isNotNull:position tag is the first to
produce a prepend it removes the prepend from the isNotNull:position.
Brandon
On Fri, Mar 27, 2009 at 3:55 AM,
supported the
ability to add these type of extensions so that those who find it useful can
take advantage of it. Perhaps iB3 will provide the needed hooks to write a
SQLJ plugin/extension.
Brandon Goodin
On Fri, Jan 23, 2009 at 1:05 PM, Clinton Begin wrote:
> Hi everyone,
>
> A group of d
oops... correction to dependency definition...
org.apache.ibatis
ibatis-sqlmap
2.3.4.726
Brandon
On Fri, Sep 19, 2008 at 2:39 PM, Brandon Goodin <[EMAIL PROTECTED]>wrote:
> iBATIS 2.3.4 has been promoted to GA. It is now th
iBATIS 2.3.4 has been promoted to GA. It is now the current release approved
for production use.
You can download iBATIS 2.3.4 from the Java downloads page:
http://ibatis.apache.org/javadownloads.cgi
If you use Maven 2 you may place the following in your pom:
org.apache.iba
you are welcome
Brandon
On Fri, Sep 12, 2008 at 8:28 AM, Zhubin Salehi <[EMAIL PROTECTED]> wrote:
>
> Thanks whoever updated Maven repo!
>
>
> Zhubin Salehi wrote:
> >
> > I was wondering if the new build are going to be available on Maven
> > central repository EVER! Any news?
> >
>
> --
> View
This is odd. I thought I fixed all the ExtendedSqlMapClient stuff.
Brandon
On Mon, Jul 7, 2008 at 9:39 AM, nch <[EMAIL PROTECTED]> wrote:
>
> Well, the only reason why I didn't decide to go for 2.3.2 is that I was
> confortable with 2.3.0 untill I found tomcat was not replicating sessions (I
> n
the pom is only in there because we are trying to move our compile over to
it. Don't use it. It is not ready and we don't run our official build with
it. Use the ant script.
Brandon
On Mon, Jul 7, 2008 at 9:58 AM, Tom Duffey <[EMAIL PROTECTED]> wrote:
> FYI I also was unable to compile IBATIS wh
would be to add a "property" to the input that indicates a
> tautology should be added. I am looking for something cleaner than this.
>
> Thank you,
> David
>
>
> From: "Brandon Goodin" <[EMAIL PROTECTED]> To:
> user-java@ibatis.apache.org Date:
Can you please explain the reason you need the nested dynamic tag?
Why not simply do this?...
select * from mytable
(
field1 = prop1
It looks like we have a fix on the way. Is there special logic that is used
in your private setter? If not, I would opt to just ditch the private setter
and set directly to the instance variable once the fix is in to iBATIS. Once
the fix is in iBATIS will set to the private variable if it does not
It is there under org/apache/ibatis/ibatis-sqlmap
http://www.mavenrepository.com/artifact/org.apache.ibatis/ibatis-sqlmap
org.apache.ibatis
ibatis-sqlmap
2.3.0
Brandon
On Tue, May 6, 2008 at 4:13 PM, mfs <[EMAIL PROTECTED]> wrote:
>
> Guys,
>
> I wonder why is ibatis is not avail
put the @SuppressWarnings annotation at the top of the method or type your
list.
Annotation:
@SuppressWarnings("unchecked");
Typed List:
List resultList = DepartDao.selectByExample(DepartExample);
B
On Fri, May 2, 2008 at 10:51 AM, Sara <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>
>
> I have a qu
rName,jdbcType=VARCHAR,javaType=java.lang.String,mode=IN#
@CustomerClass =
#customerClass,jdbcType=VARCHAR,javaType=java.lang.String,mode=IN#
...
Let me know if that works,
Brandon Goodin
On Wed, Apr 23, 2008 at 7:04 PM, <[EMAIL PROTECTED]> wrote:
>
> I'
RT_ID() AS value
>
> insert into role (RoleID, ParentID, Name, Notes)
>values (#roleid:INTEGER#, #parentid:INTEGER#, #name:VARCHAR#,
> #notes:VARCHAR#)
>
>
> Thanks Chris
>
> On 18/04/2008, Brandon Goodin <[EMAIL PROTECTED]> wrote:
> > Is thi
Is this the only insert that is not working for you? Do you have others that
are working? What version of iBATIS are you using?
Brandon Goodin
On Fri, Apr 18, 2008 at 7:10 AM, Chris Marshall <[EMAIL PROTECTED]>
wrote:
> I have spent a couple of days on this and have read the FAQ and
If you are using an external transaction manager it is completely up to you
to manage the transactions. iBATIS utilizes the connection that is handed to
it by your external transaction manager. What is the external transaction
manager that is being used?
Brandon
On Thu, Apr 17, 2008 at 12:41 AM,
Map param = new HashMap();param.put("someProp",someValue);
param.put("otherProp",someOtherValue);
sqlMapClient.queryForList("Foo.selectForSomething",param);
select id,someColumn,someOtherColumn,someName from foo where
someColumn=#someProp# and someOtherColumn=#other
n JIRA for this issue. Perhaps you can vote on those or make a whole new
JIRA issue that is more specific about desiring the use of the OGNL
specification in iBATIS 3.
Brandon
On Wed, Apr 16, 2008 at 2:20 PM, Darren Davison <[EMAIL PROTECTED]>
wrote:
> On Tue, Apr 15, 2008 at 08:48:36AM -0
the map in as a
parameter object. Please let me know if this is suitable for your situation.
If not, please expound on why it will not work for you.
Brandon Goodin
On Tue, Apr 15, 2008 at 8:04 AM, Darren Davison <[EMAIL PROTECTED]>
wrote:
> we're still struggling with this, using
o the database. After that you can
select the data out into the same POJOs.
Brandon Goodin
On Mon, Apr 14, 2008 at 9:09 AM, kiran vuppla <[EMAIL PROTECTED]>
wrote:
>
> I have an xml file and want to store in to an IBatis object. Please let me
> know if any one has any solut
bean property and database column.
Brandon Goodin
On Mon, Apr 14, 2008 at 8:14 AM, Radoslaw Zmuda <[EMAIL PROTECTED]>
wrote:
> Hi All,
>
> The scenario of my problem is as follows:
> - I've tried to prevent my app against SQL injection, so I changed a '$'
> sig
Which specific version of iBATIS are you using?
Brandon Goodin
On Thu, Apr 10, 2008 at 9:48 PM, nepalon <[EMAIL PROTECTED]> wrote:
>
> There are two class.:
> public class CategoryModel implements Serializable
> {
> private int id;
>
> private Strin
ution.
* provide a way to configure using builders
* provide a dynamic sql implementation
Brandon Goodin
On Tue, Apr 1, 2008 at 12:24 PM, Clinton Begin <[EMAIL PROTECTED]>
wrote:
> I'm going to be totally honest
>
> If Java was Groovy, I never would have written iBATIS. The da
Or you can buy iBATIS in Action...
http://www.amazon.com/iBatis-Action-Clinton-Begin/dp/1932394826/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1201710921&sr=8-1
On Jan 30, 2008 10:29 AM, Clinton Begin <[EMAIL PROTECTED]> wrote:
> Unfortunately that's not possible in Java, let alone with iBATIS.
>
>
>
>
Just use XStream - http://xstream.codehaus.org/
It's much easier than any other solution. Get the object from iBATIS pass
them into XStream and get your xml.
Brandon Goodin
On 10/25/07, Kosaraju, Sangeeta <[EMAIL PROTECTED]> wrote:
>
> Actually I want to get the results in
NO! please... don't entertain thread hijacking. If you want help on this.
FIRST! start your own thread. Don't hijack the Facebook off-topic thread.
On 10/18/07, Christopher Lamey <[EMAIL PROTECTED]> wrote:
>
> We'll need more information to help.
>
> To start with, what server, what is different
http://commons.apache.org/dbcp/apidocs/org/apache/commons/dbcp/BasicDataSource.html#validationQuery
Brandon
On 10/16/07, Julien Thewys <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I used to defined my pool parameters in the sqlMapConfig file, thus in
> XML.
> I now have to explicitly declare a datasour
.
Additionally it would be helpful if you posted some of your code. Your
explanation is a bit abstract... an EnumMap?
Thanks,
Brandon Goodin
On 10/6/07, Rusty Wright <[EMAIL PROTECTED]> wrote:
>
> They aren't the available sizes, but the actual size of each photo, so
> each photo
r you read it. Please feel free to post here and ask.
Thanks,
Brandon Goodin
On 9/21/07, Yuvraj Shinde <[EMAIL PROTECTED]> wrote:
>
> How to use a selectKey In insert ?
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of
No, that is currently not possible. If you only ever want the first index
then just pass in the first index from your DAO. Not sure what you are
trying to accomplish but it looks like it would be better handled in java
and not the sqlmap. If you want to provide more information about the
context of
Wasn't this posted three days ago?
Brandon
On 9/17/07, Fábio Pisaruk <[EMAIL PROTECTED]> wrote:
>
> Hello
>
> For those one you that wish Ibatis to be capable of mapping xmlbeans
> arrays
> i´ve changed its code to do so and, as far as i´m concerned it´s working
> fine.
>
> There are two scenario
Not at the moment. But we are working to make the configuration more
accessible during runtime. The trunk revision has some changes in this
direction. But, they are not yet completely refined.
Brandon Goodin
On 9/13/07, Adam Zimowski <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Is
Write an implementation of CacheController to use JCS and then wire it in.
http://svn.apache.org/repos/asf/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/cache/CacheController.java
Brandon Goodin
On 9/7/07, elmers <[EMAIL PROTECTED]> wrote:
>
>
> I want to use
In case anyone has downloaded this already. I made a minor modification to
it. You may want to get the new one.
Brandon Goodin
On 9/7/07, Brandon Goodin <[EMAIL PROTECTED]> wrote:
>
> Not a bad idea to have a bit of a kickstart. So, I threw this together
> this morning for you
Not a bad idea to have a bit of a kickstart. So, I threw this together this
morning for you and anyone else who will find it useful.
http://www.silvermindsoftware.com/kickstart/
Brandon Goodin
On 9/7/07, savsanjay <[EMAIL PROTECTED]> wrote:
>
>
> hi friends,
> i am very new
Yuvrajs,
If you want your question to be answered you need to provide a whole lot
more detail and then proofread your email. I'll be happy to assist you. I
simply don't have enough information to provide you with a good answer.
Brandon
On 9/5/07, Yuvraj Shinde <[EMAIL PROTECTED]> wrote:
>
> Hi
, how ?
>
> resultClass="resulyObjectClass">
>SELECT STATEMENT
>
>
> Brandon Goodin wrote:
>
> There is no replacement needed. The SqlMap contains a method called
> queryForList(String id, Object parameter, int skip, int max). See the
> javado
http://opensource.atlassian.com/confluence/oss/display/IBATIS/Articles+and+other+coverage+of+iBATIS.
If you want something beyond that I would be happy to provide support for a
fee.
Thanks,
Brandon Goodin
On 9/1/07, Selvak <[EMAIL PROTECTED]> wrote:
>
>
> Yes,
>
> I got this,
I'm glad you are excited. I think the best thing to do is to read the SqlMap
Developers Guide located at
http://ibatis.apache.org/docs/java/pdf/iBATIS-SqlMaps-2_en.pdf. You can also
download the JPetStore example at
http://www.devlib.org/apache/ibatis/binaries/ibatis.java/JPetStore-5.0.zip.
Hope t
What is your column type in derby? Apparently the JDBC driver is reporting
it as a type of .
Brandon
On 8/31/07, Zsolt Koppany <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I tried to upgrade to derby 10.3.1.4 but I get strange error messages that
> I
> didn't get with derby 10.2.2.0.
>
> I use ibatis-2
There is no replacement needed. The SqlMap contains a method called
queryForList(String id, Object parameter, int skip, int max). See the
javadoc below. This will accomplish what you want. We've decided that the
PaginatedList is outside the scope of iBATIS and oft abused. That is why we
deprecated
Additionally you could try adding commons-logging to your webapp classpath
and then place the following contents into a WEB-INF/commons-
logging.properties file:
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
Brandon
On 8/31/07, Brandon Goodin <[EMAIL PROTEC
Make sure you have log4j in your webapp classpath and then add the following
to your log4j.properties file in the root of your WEB-INF/classes directory.
# Rules reminder:
# DEBUG < INFO < WARN < ERROR < FATAL
# Global logging configuration
log4j.rootLogger=WARN, stdout
# SqlMap logging configur
Español de la traducción de los pescados de Babel:
Esto no es una pregunta de los iBATIS. Quizás usted necesita entrar en
contacto con el oráculo para esto.
English:
This is not an iBATIS question. Perhaps you need to contact Oracle for this.
Brandon
On 8/30/07, Brandon Goodin <[EMAIL PROTEC
Behold, the power of BableFish...
Hello I have a problem of migration of data with java yt the problem not if
this in java or oracle, that is the final destiny of my data.
I comment to you I have a table in SQL server whose fields that they give me
problem are:
COORDX float 8 1
COORDY float 8 1
Since Tomcat is managing your datasource and connection pool try setting
your autoCommit in Tomcat.
P.S. you emailed me personally... i took the liberty of putting it back on
the list
Brandon
On 8/28/07, Leffingwell, Jonathan R CTR FRCSE, JAX 7.2.2 <
[EMAIL PROTECTED]> wrote:
>
> We use a databa
Since you are using 2.1.7 you will need to upgrade and try this with the
most current version. I believe this issue is fixed in the most current
version. I could be wrong. I made the same comment on the JIRA ticket. But,
I figured it would be worth repeating here.
Thanks,
Brandon
On 8/27/07, Mich
What Datasource are you using?
Brandon
On 8/27/07, Leffingwell, Jonathan R CTR FRCSE, JAX 7.2.2 <
[EMAIL PROTECTED]> wrote:
>
> I'm using IBM RAD 6.0, iBatis 2.0.3 (we're not authorized to move to
> anything beyond that), and the DBMS is Oracle 10g. I'm having problems that
> I've never had bef
iBATIS uses standard JDBC support for multiple result sets. Have you tried
implementing this in straight JDBC using your driver to see if it is
supported by the driver?
Thanks,
Brandon
On 8/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I have a DB2 stored procedure returns a s
Please open a JIRA ticket on this if it does not exist. In the meantime you
may want to pass your list in nested in a map.
Brandon
On 8/27/07, Michel Amaral <[EMAIL PROTECTED]> wrote:
>
> When I use parameterClass of java.util.List type with dynamic notation
> ($[].field$), the property (after do
What is the type of your database column and what is the property type on
your parameter object? This error appears pretty self explanatory. But, I'm
willing to help if you provide some clearer details.
Thanks,
Brandon
On 8/23/07, cuong PN <[EMAIL PROTECTED]> wrote:
>
>
> Hi all
>
> Here's an exc
Since iBATIS generates plain ol SQL you have to get iBATIS to mimic the way
in which you would call your procedure without iBATIS. Your sqlmap appears
to have an error. You are not using the pound '#' delimiter correctly and
your call is not wrapped in squiggly brackets '{'. Additionally, you would
Why don't you just handle that in your dao.
public Account getAccount(Integer accountId) {
Account account = sqlMapClient.queryForObject("getAccount",accountId);
Profile profile = sqlMapClient.queryForObject("getProfile",Account
account);
account.setProfile(profile);
return account;
}
Brandon
O
I'm not seeing where you initialize your inner classes. All I see is the
following...
private IconStyle iconStyle;
private LableStyle lableStyle;
private LineStyle lineStyle;
They would be null at this point.
Brandon
On 7/31/07, 钟原froast <[EMAIL PROTECTED]> wrote:
>
> hi, I have a class like
hanks,
Brandon Goodin
On 7/11/07, Gwyn Evans <[EMAIL PROTECTED]> wrote:
On Tuesday, July 10, 2007, 5:32:46 PM, Clinton <[EMAIL PROTECTED]>
wrote:
> Exactly. The random selection is more meaningful than a multiple
selection.
> But I really have a hard time believing that there&
to type your null you can specify it in a resultMap.
Please read the ibatis documentation.
Brandon Goodin
On 6/25/07, Sunil Jigyasu <[EMAIL PROTECTED]> wrote:
Daniel,
How do you tell Spring what the driver is expected to do if it encounters
a
null in the input?
Sunil Jigyasu
Henr
public void insertMethodOnServiceClass(MyObject myObject) {
myDao.insert(myObject);
myOtherDao.update(myObject);
}
Hope that helps,
Brandon Goodin
On 6/25/07, Robert Glover <[EMAIL PROTECTED]> wrote:
I am confused over how to use transactions with iBatis and Spring. (I'm
actually u
you would need to use the literal notation of $tablename$. Caution, it opens
you to the possibility of of SQL injection.
Brandon
On 6/14/07, Warren <[EMAIL PROTECTED]> wrote:
I am using the copy command of postgres and have an sql map like this:
COPY sometable FROM #filename#
I
Anytime, just let your professional friends know about me. I'm available to
hire for a reasonable consulting fee :)
Brandon Goodin
On 6/14/07, Adnan Atic <[EMAIL PROTECTED]> wrote:
That was the problem.
I had :
which apparently wasn't enough. After I changed it to
Shameless plug:
http://www.manning.com/begin/
Apart from that I would recommend you read the SQL Devleoper docs:
http://ibatis.apache.org/docs/java/pdf/iBATIS-SqlMaps-2_en.pdf
"doesn't explain how to handle several tables with links"
links? do you mean joins?
Remember this... with iBATIS you ar
Greetings Adnan,
It may be an issue with how you have JavaWebStart configured. It sounds to
me as though you do not have your security permissions configured correctly.
Be sure you have the following security configuration in your jnlp file.
...
...
Brandon
On 6/14/07, Adnan Atic <[EM
correctly.) So early resolution is necessary.
> See the last comment:
>
> "iBATIS 2.3.0 has been pushed to iBiblio for Maven 2. I'm going to leave
> this issue open until we get a plan of action in place that we all agree
> on for getting this to ibiblio when we release
1 - 100 of 261 matches
Mail list logo