Re: Vote your favourite iBATIS community member onto the Contributors list

2005-05-11 Thread Ron Grabowski
Brandon is already a committer. If he wasn't, I'd vote for him and
Larry. Whenever I need an answer to something right away I hop on the
IRC channel and they answer it for me :)

--- Brice Ruth [EMAIL PROTECTED] wrote:
 Are we supposed to be voting for someone already on the list? It
 sounds like you want us to vote on *new* individuals (other than
 Kris,
 Nathan, Fabrizio, or Ron).
 
 If I am understanding that correctly, I'd like to vote for Brandon
 ... 
 
 Brice
 
 On 5/10/05, Clinton Begin [EMAIL PROTECTED] wrote:
  Hi all,
   
   The new website includes a Contributors section that recognizes
  individuals in our iBATIS community that contribute to the project
 in
  particularly helpful ways.  This includes providing documentation
 (sometimes
  language translations), FAQ entries and other Wiki contributions,
 answering
  to the Mailing Lists and even submitting good JIRA issues (new
 features or
  bugs).
   
   So far we have:
   
   Kris Jenkins - For his amazing Oracle experience that he shares on
 the
  lists regularly.
   
   Nathan Maves - For adding to (and fixing) the FAQ, aasking great
 questions
  in the past, and eventually answering questions on the mailing
 lists.
   
   Fabrizio Gianneschi - For speaking at Java User Groups in Italy,
 performing
  case studies and writing Italian documentation.
   
   Ron Grabowski - For being a helpful and very active member of the
 mailing
  list and submitting useful issues and feature requests regularly.
   
   If you'd like to vote someone else in, let us know (privately, or
  publicly).  There's no minimum number of votes required, one really
 good
  vote will do.
   
   Don't vote for yourself though, that's lame.  ;-)   (Unless you
 feel we
  really did miss you for doing something spectacular, in which case
 we're
  sorry, and let us know.)
   
   Cheers,
   Clinton
   
 
 
 -- 
 Brice Ruth
 Software Engineer, Madison WI
 


Re: Vote your favourite iBATIS community member onto the Contributors list

2005-05-11 Thread Vic Cekvenich (netsql)
My vote is for sale!
I prefer silent auction, send me a private email as to an entitlment, or 
 pay pal wire transfers. No donations is to small or to large. I have 
sway w/ many others and we will make you popular, it's almost a 
gurantee. You don't want us to vote the other way. For a little extra, I 
will have you publicly endorsed.

And not just iBatis vote, if you are runing for office, paypal me also. 
If you want a way arround the maximum donations laws, contact me and we 
will set up an of-shore transfer via netsted LLCs - no worries.

:-)
.V


New FAQ Posted

2005-05-11 Thread Nathan Maves
I have created a new FAQ about the classic invalid column type error.
Check it out and let me know if I have missed anything.
http://opensource.atlassian.com/confluence/oss/display/IBATIS/ 
What+causes+an+Invalid+column+type+error+with+Oracle%3F

Nathan


Oracle OC4J and signon

2005-05-11 Thread Trussell David N
Title: Oracle OC4J and signon





I've just deployed JPetStore to Oracle OC4J 10.1.2 (I've also tried 9.0.4) on Win XP and when I click Sign-in or Enter the Store an authentication window pops-up asking for my userid and password. I can't get past it.

Where can I disable this?


Thank you.





Re: Oracle OC4J and signon

2005-05-11 Thread Brice Ruth
Is your DB connection authenticating properly to Oracle? I get this
with DB2 if my password has expired or the account has been locked
out.

Brice

On 5/11/05, Trussell David N [EMAIL PROTECTED] wrote:
  
 
 I've just deployed JPetStore to Oracle OC4J 10.1.2 (I've also tried 9.0.4)
 on Win XP and when I click Sign-in or Enter the Store an authentication
 window pops-up asking for my userid and password. I can't get past it. 
 
 Where can I disable this? 
 
 Thank you. 


-- 
Brice Ruth
Software Engineer, Madison WI


RE: Oracle OC4J and signon

2005-05-11 Thread Trussell David N
Title: RE: Oracle OC4J and signon





It's the same database.properties file that's under Tomcat and that works just fine.


I thought maybe the JDBC driver had to be in /WEB-INF/lib under jpetstore so I tried both classes12.jar and ojdbc14.jar. Nope. I also put something totally bogus for the driver name in database.properties and it didn't even complain (at least, anywhere I can see). It's just pops up that window.

Ya know, this is really maddening. I've spent two days trying to get Appfuse running on OC4J with no success. Even Matt Raible and company couldn't help me. Now it's the same thing with iBATIS. Heavy sigh. I really wish I could just use Tomcat.

 -Original Message-
 From: Brice Ruth [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, May 11, 2005 2:38 PM
 To: ibatis-user-java@incubator.apache.org
 Subject: Re: Oracle OC4J and signon
 
 
 Is your DB connection authenticating properly to Oracle? I 
 get this with DB2 if my password has expired or the account 
 has been locked out.
 
 Brice
 
 On 5/11/05, Trussell David N [EMAIL PROTECTED] wrote:
  
  
  I've just deployed JPetStore to Oracle OC4J 10.1.2 (I've also tried 
  9.0.4) on Win XP and when I click Sign-in or Enter the Store an 
  authentication window pops-up asking for my userid and password. I 
  can't get past it.
  
  Where can I disable this?
  
  Thank you.
 
 
 -- 
 Brice Ruth
 Software Engineer, Madison WI
 





Re: Oracle OC4J and signon

2005-05-11 Thread Brice Ruth
Well, if you Tomcat has a DataSource w/ JNDI ... why don't you just
use that in iBATIS?

That's what I do ...

On 5/11/05, Trussell David N [EMAIL PROTECTED] wrote:
  
 
 It's the same database.properties file that's under Tomcat and that works
 just fine. 
 
 I thought maybe the JDBC driver had to be in /WEB-INF/lib under jpetstore so
 I tried both classes12.jar and ojdbc14.jar. Nope. I also put something
 totally bogus for the driver name in database.properties and it didn't even
 complain (at least, anywhere I can see). It's just pops up that window. 
 
 Ya know, this is really maddening. I've spent two days trying to get Appfuse
 running on OC4J with no success. Even Matt Raible and company couldn't help
 me. Now it's the same thing with iBATIS. Heavy sigh. I really wish I could
 just use Tomcat.
  
 
  -Original Message- 
  From: Brice Ruth [mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, May 11, 2005 2:38 PM 
  To: ibatis-user-java@incubator.apache.org 
  Subject: Re: Oracle OC4J and signon 
  
  
  Is your DB connection authenticating properly to Oracle? I 
  get this with DB2 if my password has expired or the account 
  has been locked out. 
  
  Brice 
  
  On 5/11/05, Trussell David N [EMAIL PROTECTED] wrote: 

   
   I've just deployed JPetStore to Oracle OC4J 10.1.2 (I've also tried 
   9.0.4) on Win XP and when I click Sign-in or Enter the Store an 
   authentication window pops-up asking for my userid and password. I 
   can't get past it. 
   
   Where can I disable this? 
   
   Thank you. 
  
  
  -- 
  Brice Ruth 
  Software Engineer, Madison WI 
  


-- 
Brice Ruth
Software Engineer, Madison WI


Re: Referencing a select statement or resultmap in another config file

2005-05-11 Thread Eric T. Blue
Argh, nevermind.  It helps if I actually check my select statement 
spelling between configs before I post to the mailing list. ;)  All is well.

Eric T. Blue wrote:
Hi,
I have a number of objects/tables that require mapping, and in many 
instances there are 1-many relationships.  In order to minimize 
duplication in the config files, I would like to be able to reference 
a select statement in another namespace/config file.  For example:

// File 1
sqlMap namespace=Object1
   resultMap id=object1Result class=com.ericblue.domain.Object1
   result property=id column=id/
   result property=name column=name/result 
property=someList column=id 
select=Object2.getSomeListByObject1//resultMap

/sqlMap
// File 2
sqlMap namespace=Object2
   resultMap id=object2Result class=com.ericblue.domain.Object2
   result property=id column=id/
   result property=name column=name//resultMap
   select id=getSomeListByObject1 resultMap=object2Result
  select * from some_table where id = #id#
/select
/sqlMap
Any help is appreciated!





Trouble shooting mapped statements

2005-05-11 Thread Larry Meadors
Ok, does anybody out there have good tricks for troubleshooting mapped statements?

Like for example, when you have a mapped statement that gets an unusual
datatype out of the database - I have mapped statements to Maps, then
looped through the entries logging the field names and types to see
what the bean should look like. (Yeah, yeah, I know Vic, I know...don't even say it.)

If you have a clever trick, please share and I'll add it to one of the troubleshooting sections in the upcoming iBATIS book.

Larry