DataClassG - plugin detail

Data Class Generator from DataBases. Make your own ORM

NetBeans Plugin - DataClassG
Plugin owner: avbravo
Website: http://avbravo.blogspot.com
Added: 2011-07-19
License: Data Class Generator
Category: Databases
Downloaded: 3,578 times
Rating:
 4.29, by 3 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.10 MB   Last Update: 2013-05-12

What's new in this version

2.38.0

Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: 0.10 MB   Last Update: 2013-05-12

What's new in this version

2.38.0

Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: 0.10 MB   Last Update: 2013-05-12

What's new in this version

2.38.0

Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

Class Generator from DataBases and New Basic API Persistence for DataBases. wiki http://wiki.netbeans.org/TaT_AvbravoDataClassG Site
https://sites.google.com/site/dataclassg/

[ You have to be logged in to be able to comment. ]

User Comments

  

support for 7.0.1?

Hi avbravo,

Verified your plugin for version 7.1.1 of NetBeans, however, when I try to install it in NetBeans 7.0.1 I get:

Some plugins require plugin Project UI API to be installed.
The plugin Project UI API is requested in version >= 1.53.1.8 but only 1.51.2.8 was found. The following plugin is affected:       DataClassG


So, I cannot install it. Am I doing something wrong or after the latest fixes it is now available for version 7.1 only?

My environment:

Product Version: NetBeans IDE 7.0.1 (Build 201107282000)
Java: 1.7.0_03; Java HotSpot(TM) 64-Bit Server VM 22.1-b02
System: Windows 7 version 6.1 running on amd64; Cp1252; fr_FR (nb)
Userdir: C:\Users\carlos\.netbeans\7.0

Posted by carlosqt on Apr 01, 2012
  

v2.4.3

i upload new version..
Posted by avbravo on Apr 01, 2012
  

carlos

carlos thank you very much, I'm working on the mistakes you told me
Posted by avbravo on Apr 01, 2012
  

java.lang.NullPointerException message when No Project or Cancel selected

Hi abravo,

The previous issue is now solved, however, 2 new problems were introduced with the new Open Project button. Find details here below:

Failing Case 1:

1. Click Button Open Project button
2. Select a folder where no NetBeans project is stored.

You get the following dialog message:

Error
java.lang.NullPointerException
[OK]



Failing Case 2:

1. Click Button Open Project button
2. Click CANCEL on the Open Folder Dialog Box

Error
java.lang.NullPointerException: The file parameter cannot be null
[OK]

Testing environment:
Product Version: NetBeans IDE 7.1.1 (Build 201203012225)
Java: 1.7.0_03; Java HotSpot(TM) 64-Bit Server VM 22.1-b02
System: Windows 7 version 6.1 running on amd64; Cp1252; fr_FR (nb)
User directory: C:\Users\carlos\.netbeans\7.1.1
Cache directory: C:\Users\carlos\.netbeans\7.1.1\var\cache



There is one more thing. This one is really bizarre... it looks like the button Connect and Close that you used in your DataG tab/panel are within a ToolBar containter or something like that. If you click over it and hold it you can drag the 'ToolBar' around your tab and move it as a separate window from the main IDE. You can even close it will re-spawn at the TOP of the Tab/Panel just like a default position for a tool bar.
This doesn't affect the functionality of those 2 buttons, but just looks strange.

If you need screenshots or more details let me know.

carlosqt

Posted by carlosqt on Apr 01, 2012
  

Carlos

I am working on correcting those mistakes, thank you very much for the suggestions.
Posted by avbravo on Mar 27, 2012
  

35 messages when click on connect using Menu > Window > DataClassG

Hi avbravo,
-------------------------------------------------------
UPDATE 1: this happens when the Project field is empty.
On the DataClassG window the Project is empty and the Connection is set to a value from the list. That's when the messages appear.
To make it work, you need to click on the DataClassG button, if you do that and click on Connect again, even if the Project field remains empty, messages will not appear and the .java files will be created on your project.
-------------------------------------------------------


I was doing the plugin verification of your plugin and got the following behavior:

When using the DataClassG button from the Tool bar everything works fine, however, if I use the DataClassG window from the Menu > Window > DataClassG, even if I have an active project selected, and I click on Execute, I get the following 35 error messages one by one.

Message 1:
Error
EstablecerDirectorios() null
Click OK

Message 2:
Information
Beans() null\CUSTOMER.java (Le chemin d'accès spécifié est introuvable)
Click OK

Message 3:
Error
Controller() null\CUSTOMERController.java (Le chemin d'accès spécifié est introuvable)
Click OK

Message 4:
Error
Persistencia() null\CUSTOMERPersistencia.java (Le chemin d'accès spécifié est introuvable)
Click OK

The same 3 messages appear for the following files:

null\DISCOUNT_CODE.java
null\DISCOUNT_CODEController.java
null\DISCOUNT_CODEPersistencia.java
null\MANUFACTURER.java
null\MANUFACTURERController.java
null\MANUFACTURERPersistencia.java
null\MICRO_MARKET.java
null\MICRO_MARKETController.java
null\MICRO_MARKETPersistencia.java
null\PRODUCT.java
null\PRODUCTController.java
null\PRODUCTPersistencia.java
null\PRODUCT_CODE.java
null\PRODUCT_CODEController.java
null\PRODUCT_CODEPersistencia.java
null\PURCHASE_ORDER.java
null\PURCHASE_ORDERController.java
null\PURCHASE_ORDERPersistencia.java

Next messages all Error:

mensajes.properties
mensajes_es.properties
mensajes_en.properties
Mensajeria.java
Sesion.java
MenuBeans.java
CrearArchivoConfiguracion() null\configuracion.properties
CrearIdiomas() null\Idiomas.java
Columnas() null\Relaciones.java
Columnas() null\Columna.java
Tablas() null\Table.java
InformeGeneracion() null\Generated.txt

Final Message:

Information
Generation process completed
read file Generated.txt
Click OK

As I mentioned, when using the Tool Bar button, if I click on Connect after selecting the connection, I get all the .java files created in the active selected project.

This happened to me on netbeans 7.1.1

Product Version: NetBeans IDE 7.1.1 (Build 201203012225)
Java: 1.7.0_03; Java HotSpot(TM) 64-Bit Server VM 22.1-b02
System: Windows 7 version 6.1 running on amd64; Cp1252; fr_FR (nb)
User directory: C:\Users\carlos\.netbeans\7.1.1
Cache directory: C:\Users\carlos\.netbeans\7.1.1\var\cache

Posted by carlosqt on Mar 27, 2012
  

fix

http://tof.canardpc.com/view/0cd0bab0-a2b2-4af1-b500-ef2c50f1db10.jpg
Posted by avbravo on Mar 04, 2012
  

fix

where I can fix it in the portal is as DataBases
Posted by avbravo on Mar 04, 2012
  

thanks.

thanks for the information, i update this.
Posted by avbravo on Mar 04, 2012
  

Hi,

there is a little problem with the plugin category displayed in the NetBeans Plugins pane : its category is "Base de Datos" instead of "Database".

http://tof.canardpc.com/view/70d8d5a0-63f2-47dc-85e4-ae66f2c696e6.jpg

Tested on fr_FR and en_US Windows XP/7 computers, NetBeans 7.0.1 and 7.1.1.
Posted by ent38 on Mar 03, 2012
  

name of method in english

the names of methods are now in English
Posted by avbravo on Feb 10, 2012
  

Ok with JDK6

Works well with JDK6.
Thanks for your reactivity, and thanks for this excellent plugin :)

(I use it to set Bug 208176 to "resolved/fixed")
Posted by ent38 on Feb 09, 2012
  

version 2.2.0

support for JDK6/JDK7
Posted by avbravo on Feb 09, 2012
  

Update

I will update for the JDK6.
Posted by avbravo on Feb 09, 2012
  

Pb with JDK6

Hi,
the plugin works fine when NetBeans runs with JDK7, but cannot install/run with JDK6.
I have this error message when I try to install the plugin :

Some plugins require the Java platform in version Java > 1.7
The Java platform version Java > 1.7 was requested but only 1.6 is running.
The following plugin is affected:       DataClassG


Can you fix it ?
Thx.
Posted by ent38 on Feb 07, 2012
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo