Re: Packing ibatis as .deb

2009-02-19 Thread Tiago Dreyer
I believed that the license would allow. I just thought that would not be codial redistribute the software without communicating the author or the mail list. We are working on an APT repository to host these packages. Once it´s ready, I will post the URL for those who might be interested. Thanks,

Re: Packing ibatis as .deb

2009-02-19 Thread Larry Meadors
I can't imagine that there is - it's just a standard apache license... On Thu, Feb 19, 2009 at 11:03 AM, Tiago Dreyer wrote: > There's any problem or restriction to create and redistribute > ibatis as .deb package?

Connection is invalid help

2009-02-19 Thread Eric Floehr
Hi, I am running into somewhat random "Connection is invalid" issues on update statements and I am wondering if anyone could point me in the right direction. I am definitely using the try/catch/finally pattern properly in all my transacted statements, so I know it's not that. No single que

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread Jeff Butler
See here for full details: http://java.sun.com/j2se/1.4.2/docs/api/java/sql/DatabaseMetaData.html#getColumns(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String) The JDBC driver returns columns ordered by schema and then table name. When no schema is specified in the A/I

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread Sundar Sankar
This is something I pulled out of google. I havent worked much on abator. Guys correct me if I have misguided Vivek here. http://ibatis.apache.org/docs/tools/ibator/configreference/table.html Example This element specifies that we always want to generate code for a table called MYTABLE in schema

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread sanv
The database is running on my local machine. If I log into the Web UI and check out the table it only appears once? Sorry for this question, how can I specify the schema in the config file? Jeff Butler-2 wrote: > > This means that there are two versions of the table (in different > schemas). T

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread Sundar Sankar
Wow, Jeff, is there an order of schema that Ibator does or does it leave that to the database to handle it? On Thu, Feb 19, 2009 at 12:08 PM, Jeff Butler wrote: > This means that there are two versions of the table (in different > schemas). The versions do not match. You should probably specif

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread Jeff Butler
This means that there are two versions of the table (in different schemas). The versions do not match. You should probably specify a schema in the Abator configuration file. Either that, or talk to your DBA to resolve the difference between the two tables. Jeff Butler On Thu, Feb 19, 2009 at

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread sanv
Ah. Now in Patch.java.1 the column is there but NOT in Patch.java.2. Jeff Butler-2 wrote: > > This output does not match the config file you sent earlier - there > are more tables listed. But the interesting thing to me is that each > table has two sets of objects generated for it. > > Pleas

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread Jeff Butler
This output does not match the config file you sent earlier - there are more tables listed. But the interesting thing to me is that each table has two sets of objects generated for it. Please run Abator again, but this time DO NOT specify the -overwrite flag. You should end up with a Patch.java.

Packing ibatis as .deb

2009-02-19 Thread Tiago Dreyer
We are developing a open-source java based parental control software to be used in linux system. The project should run in debian-like distribuctions, and we'll distribute it in .deb package format. Our project uses ibatis as dependency, and we would like to redistribute it as a .deb package. We h

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread sanv
These are the warnings: Existing file C:\Projects\server\ibatis\src\main\java\com\tool\ibatis\dao\CustomerDAOImpl.java was overwritten Existing file C:\Projects\server\ibatis\src\main\java\com\tool\ibatis\dao\CustomerDAO.java was overwritten Existing file C:\Projects\server\ibatis\src\main\java\c

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread Jeff Butler
Thanks - how about the full list of Abator warnings? Jeff Butler On Thu, Feb 19, 2009 at 11:22 AM, sanv wrote: > > Well, the problem is that I am developing this project for a company and > their project is based on Abator. Don't know if it's possible to upgrade to > IBator for whatever reasons

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread sanv
Well, the problem is that I am developing this project for a company and their project is based on Abator. Don't know if it's possible to upgrade to IBator for whatever reasons. Basically, I alter the table through the Web User Interface provided by Oracle XE. If I view the SQL throught the UI I

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread sanv
The name of the column is GLOBAL_REGEXP and of type VARCHAR2. Larry Meadors wrote: > > What's the name of the column? > > Larry > > -- View this message in context: http://www.nabble.com/aBator-does-not-create-getter-and-setter-for-new-column-in-table-tp22033078p22104804.html Sent from the

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread Jeff Butler
Hmmm...maybe I owe you a Pepsi :) I'd like to see the full table definition (the create table statement), and the full list of warnings from Abator. Also, Abator is really at end of life. I'd like you to upgrade to Ibator for these reasons: 1. Perhaps the bug is already fixed in Ibator 2. If we

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread Larry Meadors
What's the name of the column? Larry

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread sanv
After debugging it further I found out that the column is in the result set but however does not get add to the "column" list. sanv wrote: > > Hi, > > I have just debugged the code as you mentioned by adding the abator > source. > Surprisingly, the column is in the resultset when I debug t

Re: aBator does not create getter and setter for new column in table

2009-02-19 Thread sanv
Hi, I have just debugged the code as you mentioned by adding the abator source. Surprisingly the column, is in the resultset when I debug the code. I debugged the code and checked the ColumnDefinition cd specifically if the actualColumnName is set, and it is. I am puzzled? Jeff Butler-2 wrot