8/20/2011

eclipse-scala-tools 0.0.2 is now available!

eclipse-scala-tools provides some small Eclipse plug-ins for Scala. It supplements ScalaIDE for Eclipse. The current version of eclipse-scala-tools provides features that support SBT.

See details about eclipse-scala-tools at the following URL:

New features in eclipse-scala-tools 0.0.2:

  • SBT 0.10 Support
  • Proxy Settings
  • SBT Console (SBT > Open SBT Shell)
  • Built-In SBT Runtime
Context menu of the SBT project Project property page of the SBT project

I hope it helps your Scala development!

8/13/2011

AmaterasUML 1.3.3 is now available!

Project Amateras released AmaterasERD 1.3.3 at 13 August 2011.

New features in this release:

  • Improvement of constructor in the class diagram
  • Improvement of Java generics support
  • Quick Filter ("Show only Public" and "Show All")
  • Refresh the class diagram from Java source
  • Copy the diagram as image

See details about AmaterasUML at:
http://amateras.sourceforge.jp/cgi-bin/fswiki_en/wiki.cgi?page=AmaterasUML

See details about new features in AmaterasUML 1.3.3 at:
http://sourceforge.jp/projects/amateras/wiki/AmaterasUML_1_3_3

Download AmaterasUML 1.3.3 from:
http://sourceforge.jp/projects/amateras/downloads/52922/AmaterasUML_1.3.3.zip/

Enjoy your development!

8/12/2011

Eclipse Plug-in for SBT

Today, I released eclipse-scala-tools 0.0.1.

eclipse-scala-tools is some small Eclipse plug-ins for Scala. It supplements ScalaIDE for Eclipse.

In the initial release of eclipse-scala-tools provides SBT 0.7.x support on Eclipse.

You can create a SBT project using wizard.

Run SBT command from the context menu of the project. You can also migrate existing SBT projects by 'Migrate SBT Project to Eclipse'.

By this plug-in, we would be able to use SBT with Eclipse without special method such as Eclipsify.

I'm planning to add some more features to eclipse-scala-tools such as unit testing support.

8/07/2011

Mirage 1.1.3 is now available!

Mirage is a simple SQL centric database access library. See the following URL to know about Mirage:

New features in Mirage 1.1.3:

This release contains the first release of mirage-scala. This is a wrapper of Mirage for Scala.

I have tested so many features and patterns in mirage-scala. However I couldn't believe how interface is best for mirage-scala. So I decided to release with minimum features in the first release. mirage-scala has not enough features now, however it will be expanded in the future.

I hope Mirage helps your development. Enjoy!

7/15/2011

mirage-scala: Scala binding of Mirage

I started working for mirage-scala that is Scala binding of Mirage. mirage-scala works as wrapper of Mirage and provides the best interface to access to the database using Mirage for Scala.

This is a simple example to query using mirage-scala:

// A class that mapped to ResultList
class Book (
  val bookId: Int,
  val bookName: String,
  val author: String,
  val price: Int
)

// get Session and SqlManager
val session: Session = SessionFactory.getSession()
val sqlManager: SqlManager = session.getSqlManager()

// begin transaction
session.begin()

try {
  val books: List[Book] = sqlManager.getResultList(
    classOf[Book], Sql("""
      SELECT BOOK_ID, BOOK_NAME, AUTHOR, PRICE
      FROM BOOK
      /*IF author!=null*/
        WHERE AUTHOR = /*author*/
      /*END*/
    """), Map("author"->"Naoki Takezoe"))
  
  books.foreach { book =>
    println("bookId: " + book.bookId)
    println("bookName: " + book.bookName)
    println("author: " + book.author)
    println("price: " + book.price)
    println("--")
  }
  
  // commit transaction
  session.commit()
} catch {
  // rollback transaction
  ex: Exception => session.rollback()
}

A most important feature of Mirage is dynamic SQL template named 2waySQL. In Mirage, you have to create it as an external file on the classpath. However in mirage-scala, you can write it inline using multi-line string literal. Of course, you can also use an external file as following:

val result: List[Book] = sqlManager.getResultList(
  classOf[Book], 
  SqlFile("META-INF/selectBooks.sql"), 
  Map("author"->"Naoki Takezoe"))

mirage-scala is still under development. I'm evaluating APIs feaibility. So APIs might be changed considerably in the release version.

5/01/2011

Mirage 1.1.2 is now available!

Mirage is a simple SQL centric database access library. See the following URL to know about Mirage:

New features in Mirage 1.1.2:

This release does not contain so big new features. However it can be used in more large fields such as small web applications by connection-pooling in standalone usage.

I wish that Mirage helps your development. Enjoy!

2/13/2011

AmaterasERD 1.0.8 is now available!

Project Amateras released AmaterasERD 1.0.8 at 12 February 2011.

New features in this release:

  • Sybase support
  • In importing and exporting, table and column comments are mapped to logical name (Oracle and Sybase only)
  • Copy As Image from the context menu
  • Quick Outline ([CTRL]+[O])
  • Diagram font configuration
  • HTML generation tool from *.erd file which could be used in command-line

See details about AmaterasERD at:
http://amateras.sourceforge.jp/cgi-bin/fswiki_en/wiki.cgi?page=AmaterasERD

See details about new features in AmaterasERD 1.0.8 at:
http://sourceforge.jp/projects/amateras/wiki/AmaterasERD_1_0_8

You can download AmaterasERD 1.0.8 from:
http://sourceforge.jp/projects/amateras/downloads/50912/net.java.amateras.db_1.0.8.jar/

Enjoy your development!