-
If you look at the DatabaseTable class you will see some support, but if you want to do much in the way of database inserts/updates you are probably best off accessing the tables/sql directly. You can access the connections etc...
As an alternative you could use something like hibernate and then use the POJO support in Aria for the UI and binding.
2009-12-11 13:17:06 UTC by luano
-
Thanks Luano,
The sample is very helpful to understand how aria works.
Whilst the sample demonstrates data fetching from the database. Do you have any samples which shows INSERT / UPDATE data in the database?
Regards,
Jason.
2009-12-10 00:39:01 UTC by jjjasont
-
I've uploaded a sample unders trunk/samples/features/DatabaseTableTest. Note that this includes a tweaked version of the swing library (as I fixed a minor rendering bug)
You can try cutting out bits to simplify it more.
2009-12-08 14:02:37 UTC by luano
-
luano committed revision 404 to the Aria Rich Internet Applications SVN repository, changing 54 files.
2009-12-08 13:58:16 UTC by luano
-
luano committed revision 403 to the Aria Rich Internet Applications SVN repository, changing 1 files.
2009-12-08 13:55:21 UTC by luano
-
http://formaria.org/aria/user-guide/in-depth/data-binding
Could you upload the some samples with dummy data to show the use of data binding?
and I have no idea how the aria data visualizer works?
By following http://formaria.org/aria/user-guide/in-depth/data-management
I tried to get it work with hsqldb.
I added
in the...
2009-12-07 15:41:51 UTC by jjjasont
-
No worries.
Did you get the complete source? For aria and all? There is a dependency on Aria and that may not be in your maven repository yet.
There are also some dependencies (for Aria) where I could not find a repository for the required artefacts and I had to install the maven dependencies manually. See "install maven depandancies.cmd" in the subversion/aria root folder.
The server...
2009-11-30 21:21:44 UTC by luano
-
Thanks for your reply and please forgive my endless questions. I really want to get this work and use aria in my project. ;-)
I've checked out MetroBank sample from SVN.
when I run mvn clean install
following error appear.
C:\Users\tsangj\Documents\NetBeansProjects\aria4\samples\demos\MetroBank>mvn clean install
[INFO] Scanning for projects...
[INFO] Reactor build order:
2009-11-30 03:25:49 UTC by jjjasont
-
Hi,
To build you just need to do
mvn clean install
from the root of the project.
For the server part just open the netbeans project, build and run. Before running setup the database (in the db folder).
see also http://www.formaria.org/demos/metrobank for ducomentation
-Luan.
2009-11-29 19:37:35 UTC by luano
-
Check the maven pom file... it will list the dependencies and the dependency type... compile-time vs runtime.
The eclipse plugin is needed only by the aria plugin itself - for some database drag and drop stuff. The equivalent is provided out of the box by netbeans.
2009-11-29 19:30:47 UTC by luano