RE: URGENT ::: Caused by: java.lang.NoSuchMethodError: oracle.sql.STRUCT.toClass(Ljava/lang/Class;Ljava/util/Map;)Ljava/lang/Object;

2006-07-14 Thread MCCORMICK, Paul
Hi Chaithanya, Is you second name really ibatis? From: chaithanya ibatis [mailto:[EMAIL PROTECTED] Sent: Friday, 14 July 2006 2:29 PMTo: user-java@ibatis.apache.orgSubject: URGENT ::: Caused by: java.lang.NoSuchMethodError:

Re: URGENT ::: Caused by: java.lang.NoSuchMethodError: oracle.sql.STRUCT.toClass(Ljava/lang/Class;Ljava/util/Map;)Ljava/lang/Object;

2006-07-14 Thread Brandon Goodin
It looks as though something is trying to call the method toClass on the STRUCT class. I'm not sure what is attempting the call. But, you could place a debugger on it and quickly find out. Also, after this if you could post the version of iBATIS you are using and the offending code (including java

Re: URGENT ::: Caused by: java.lang.NoSuchMethodError: oracle.sql.STRUCT.toClass(Ljava/lang/Class;Ljava/util/Map;)Ljava/lang/Object;

2006-07-14 Thread vishakha sawant
Hi chaithanya ,I think you are using a wrong oracle driver. Use oracle10g driver.which driver you are using? Regards,Vishakha sawantOn 14/07/06, Brandon Goodin [EMAIL PROTECTED] wrote:It looks as though something is trying to call the method toClass on the STRUCT class. I'm not sure what is

How to map Timestamp with time zone column?!

2006-07-14 Thread CIJOML
Hi All, I am trying map Timestamp with time zone column to ibatis, but without success. Database is Postgresql 8.1.4. ?xml version=1.0 encoding=UTF-8 ? !DOCTYPE sqlMap PUBLIC -//iBATIS.com//DTD SQL Map 2.0//EN http://www.ibatis.com/dtd/sql-map-2.dtd; sqlMap namespace=Firma resultMap

Re: result map property as hashmap

2006-07-14 Thread Debasish Dutta Roy
you will need that if needed. I tried to give a normal scenario. Usually, you call a query obtain an id from that use that to call another query to get further details. Say, I call select * from employee. So I get dept id also which is a foreign key. Use this dept id to call select name from

Re: inserting null

2006-07-14 Thread Ben Munat
Hmm, that's what I would have thought, but my co-worker was getting a null pointer when he tried to do that. Might this be because the property is an Integer and something is calling intValue on it? He changed his getter to return -1 instead of null, and configured the sqlmap to insert null

Re: Strange problem reloading SQLMaps

2006-07-14 Thread Clinton Begin
I hate giving answers like this...so my apologies in advance. Don't do that! :-) Really, it should work and I have no idea what the problem could be. I really have to wonder what you're trying to achieve by doing that though. Sounds pretty scary. Cheers, Clinton On 7/13/06, Kevin

Re: Abator regeneration causes duplicated methods

2006-07-14 Thread Jeff Butler
Well, that certainly is a mystery. I'm using Eclipse APIs to do all the heavy lifting here, so no regular expressions. I can't see how this could be happening unless it's happening inside eclipse somehow. I think the best I can offer is that a new version will be coming out soon, and I've

Selling iBatis to the skeptics

2006-07-14 Thread jaybytez
I am setting up a brown bag session on Tuesday with two of the successful apps that I have built with iBatis. I am trying to find good resources to help me convince others in our group of the benefits of iBatis. The developers I have to be concerned with are primarily J2EE only developers who

RE: Strange problem reloading SQLMaps

2006-07-14 Thread Kevin Schraith
Thanks for the quick response! But why should it be scary? All we want to do is have a simple way to reload our iBATIS XML files when debugging on an app server. Am I missing something, or is there an easier/quicker way to do this? It seems much quicker and to the point then restarting the app

RE: Selling iBatis to the skeptics

2006-07-14 Thread Nathan Ward
I would consider appealing to authority figures by summarizing points from current books that describe the problems with EJBs and especially entity EJBs with specific references to books in case they actually care to read it themselves. I believe the first or second chapter of POJOs in Action has

Re: Selling iBatis to the skeptics

2006-07-14 Thread Brandon Goodin
I would take the stand of discussing iBATIS in comparison to other technologies only as it pertains to a particular project. In generic terms it becomes very difficult to discuss a frameworks superiority/inferiority to another. Each framework has it's emphasis. I think it's important to understand

Re: Selling iBatis to the skeptics

2006-07-14 Thread Brandon Goodin
Oh yeah, another thing...- iBATIS maps resultsets to objects unlike traditional ORM which maps tables to objects.BrandonOn 7/14/06, jaybytez [EMAIL PROTECTED] wrote:I am setting up a brown bag session on Tuesday with two of the successful apps that I have built with iBatis.I am trying to find

Re: Strange problem reloading SQLMaps

2006-07-14 Thread Clinton Begin
Oh...I suppose if it's a development activity, then that's okay. I was more worried you were trying to do this on your production box. It should work. My only guess is that something (perhaps the app server or XML parser) is caching the XML file. I don't think you shared the actual problem

Re: Selling iBatis to the skeptics

2006-07-14 Thread Clinton Begin
primarily J2EE only developers who like Entity Beans and don't understand the need for this iBatis thing and its XML Bwahahahaha How about the need for those entity bean things, their XML, their deployment descriptors, their home and remote interfaces, their DTOs, and their Business