Read Excel using Active JDBC in java - activejdbc

Can I read Excel file using active jdbc in java? I have been using Eclipse as IDE for java. Is there any jar files for active jdbc?
Can anyone help me in this?

ActiveJDBC is an ORM for database access. As such, it was not built to read Excel files. The latest version of ActiveJDBC can be pulled from Maven Central.

As You haven't given us exactly what you are trying to do. I'm suggesting another solution.
I have written a basic Excel ORM tool for these purposes. It's currently in development, but if you are looking for a basic solution you can try it.
I think it will mostly cover your basic needs.
And, feel free to contribute :)
Excel ORM GitHub Repository Link

Related

Writing IBM Domino applications in IntelliJ

I have a question to people who are writing programs in Domino Designer. I don't like it, really and I'm searching how to write apps for that platform in Intellij? Does somebody have experience in moving project from DDE to IntelliJ? I wan't to do this because my actual projects doesn't use XPages for front-end.
Thanks for answers!
This is simply not possible. A majority of the design elements needed for NSF- Development are stored in a proprietary binary format. There is no way to edit them in any other program than the Domino Designer.
You need to get familiar with this tool or abandon Domino development completely.

Eclipse Generic File Templates

I've seen this question in various guises around the place, but as yet haven't found a suitable answer. If this is a duplicate, appologies (I'd be surprised if it wasn't a duplicate!)
Basically, I have a project which is using (mostly) shell code and sql. I want to make sure all the files have a similar setup, and that I document things consistently. To this end, I want to have template files / skeleton code within Eclipse.
It seems easy enough with Java, but not other file types. I have checked out ShellEd and it didn't appear to have this feature (correct me if I'm wrong).
It would be great to be able to add this as a new file type, such that I can say File -> New -> sh/sql and have the correct basic template with the right header etc.
Also, if possible I would like to be able to, one click, add a function prototype with the correct documentation to my files...
I thought this would be easy enough, but a few days of Googling and messing about, it seems I need to write a plugin of my own... but I can't beleive that it's not possible, more likely my Google skills aren't up to scratch...
any help?
cheers
Rob
P.S I'm normally a Vi (not Vim) user, but have had Eclipse forced upon me!
For SQL the Data Tools Platform Extender SDK (DTP) Eclipse project contains a SQL editor with templates (under Database Development in Install New Software).

yii framework reporting tool

I´m evaluating in using YII framework for an application. This app has 2 requirements very important. First is Reporting. I have to make a lot of Reports and subreports. The Second is that reports have to be exported to word, pdf and xls.
I understand that PHP is not very friendly with reporting tools. I think the best could be Jasper Reports?. But that tool can help me with that 2 points?
Have you use reporting tools with advance reports in php? could you give me an advice?
Thanks.
I am working on JasperReports for the last few months. Its extremely user friendly. The 2 points which you mentioned are very well covered in Jasper. You can do 'n' number of reports, subreports, adhocs, olaps,charts and many more. Exporting options are great. There are around 11 formats in which you can export the reports. I have not used yii or any other reporting tool. For reporting and advanced reporting options, Jasperreports works brilliant. You may want to check out this link for more information.
I am doing a Yii project at the moment. I have not used a great deal of reporting tools, and have not checked out Jasper yet.
But for excel the best reporting tool I have found has been PHPExcel. I extended the factory and built my own code around it to work with my data.
Also if you want to report into MS Word, it might be easier to write your data to RTF files.
I have found PDF's and Text/Word Documents tend to not be too flash for reporting. Excel seems to be the most useful so far. I use PHPExcel with both openoffice on linux and MS Excel and I write all my own reports.
Cheers
Daz
Jasper Reports is a great tool for reporting but it require Java and the integration with PHP require the Java bridge which may not be accessible specially in shared hosting, a good alternative is PHPJasperXML, which takes Jasper Reports and render them on PHP natively, also it exports to PDF and Excel.
I don't know if it could help but exists https://github.com/cossou/JasperPHP in the Laravel framework, somebody could adapt it for Yii2 and use it with composer.

Are there some free NHibernate generator tool with C#, NHibernate.Mapping.Attributes?

Are there some free NHibernate generator tool with C#, NHibernate.Mapping.Attributes?
I don't want to use the xml mapping file, but want to use attributes, do you know some good generator tools which can support the latest version of NHibernate 3.3.1? Thanks!
I am a developer for the nmg codeplex tool. There was a new release this afternoon, if you still get an error, post the exception on codeplex and I will fix it tomorrow morning.
NHibernate mapping generator. This is probably the best free one I've found.
http://nmg.codeplex.com/
You can make use TT templates, mygeneration or and other tool which makes code based on templates. The tool is just a code generator, it does not know anything from NHibernate. The templetes you make will do the magic of generating for a specific product/version.

Hibernate/NHibernate mapping file editor

I'm looking for an editor that has the help from
http://www.hibernate.org/hib_docs/nhibernate/html/mapping.html
built in, and allows simple editing of the XML files in a GUI fashion. I realise there's CodeSmith and MyGeneration, but from what I remember these only go one way, and don't allow editing existing HBM files.
Probably worth taking a look at the NHibernate Query Analyzer by Oren Eini.
Primarily used to analyze HQL queries it also has a fairly useful HBM editor:
NHibernate Query Analyzer Screenshot http://img6.imageshack.us/img6/5617/nhqa.gif
Old Project Page (with flash demo): http://ayende.com/projects/nhibernate-query-analyzer.aspx
New Project Page: http://www.assembla.com/wiki/show/NHibernateQueryAnalyzer
This will allow editing for HBM files and will show all of the available attributes for each mapping node.
Given that you can download the source code it wouldn't be that trivial to add the inline help.
I don't believe there is an editor for Hibernate/NHibernate mapping files that has context-sensitive help. If you are a .NET developer (using NHibernate and Visual Studio .NET) you can edit the mappings with IntelliSense by registering a schema document: see Using NHibernate with Visual Studio .NET for instructions.
Another option to consider is using the NHibernate's Fluent API. This replaces mapping files with strongly-typed C# code.
There is another option with Visual Studio. If you have Resharper you can download the plug-in for NHibernate mapping files. This solution has worked out perfectly for me. You can read more about the plug in here: http://nhplugin.lieser-online.de/. Hope this works for you.
Why not use ActiveWriter to generate the mappings? You can always edit them afterwards. AW generates the model / mapping for both NHibernate and ActiveRecord. The editor runs WITHIN Visual Studio.NET and you can do drag-drop via server explorer.
The best option I've come across is is IDEA's Hibernate/JPA editor. IDEA is not free, however.
Have you tried Hibernate's own Eclipse plug-in named Hibernate Tools for Eclipse and Ant?
http://www.hibernate.org/255.html
Even if you dont have expirience with Eclipse and its add-ons it should be fairly straightforward to install and use their addon:
Just download it, unzip it into the eclipse directory, and fire up the IDE.
What you need to do next is to open up the Hibernate perspective.
I'm using VisualStudio and the schema (nhibernate-mapping.xsd) to activate the intellisense.
The plug-in for R# is useful to check the mapping with the class.