I am having the following issue with the Plugin. I contacted Andi and he
was unable to replicate my issue. Here are my settings:
Windows XP SP3
MySQL 5.1
All-in-One Eclipse PDT from Zend
Eclipse 3.4
The error:
This is what I did ...
1. I created a table "test" in an existing database.
2. The table is based on the sql below
CREATE TABLE test (
id INT UNSIGNED NOT NULL AUTO_INCREMENT
, user_id INT UNSIGNED NOT NULL
, submit_date DATETIME
, is_approved BOOLEAN NOT NULL DEFAULT 0
, is_primary BOOLEAN NOT NULL DEFAULT 0
, is_active BOOLEAN DEFAULT 0
, file_name VARCHAR(100)
, file_size_in_kb INT UNSIGNED
, PRIMARY KEY (id)
, INDEX (user_id)
);
3. I created a new class based on the template I was using: test1.php. I
had
downloaded this template from either your site or the IBM article that
discusses your plugin. I don't recall which.
4. I renamed the "file_size_in_kb" column in the "test" table to
"size_of_file"
5. I created a new class based on the template I was using: test2.php.
You'll notice the class file references the old column name
"file_size_in_kb"
Nobody/Anonymous
None
None
Public
|
Date: 2009-10-25 13:58 Moved to https://sourceforge.net/apps/trac/codegenjava/ticket/80 |
|
Date: 2009-05-11 17:12 I guess I forgot to write the error. If I create a class using the plugin |
| Filename | Description | Download |
|---|---|---|
| exampleTemplate.xml | The template | Download |
| test1.php | The first class file created | Download |
| test2.php | The second class file created | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2009-10-25 13:58 | hotzst |
| allow_comments | 1 | 2009-10-25 13:58 | hotzst |
| close_date | - | 2009-10-25 13:58 | hotzst |
| File Added | 326602: test2.php | 2009-05-11 17:08 | bsteinex |
| File Added | 326601: test1.php | 2009-05-11 17:08 | bsteinex |
| File Added | 326599: exampleTemplate.xml | 2009-05-11 17:06 | bsteinex |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use