cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <>
Subject [jira] [Created] (CAY-1901) Config-free ServerRuntime
Date Sat, 15 Feb 2014 10:29:20 GMT
Andrus Adamchik created CAY-1901:

             Summary: Config-free ServerRuntime
                 Key: CAY-1901
             Project: Cayenne
          Issue Type: Improvement
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik
             Fix For: 3.2.M2

Often it is useful to have a Cayenne stack to do raw SQL operations via SQLTemplate and friends.
There may be no ORM mapping present, and often an externally managed DataSource is provided.
Currently ServerRuntime won't start without an XML descriptor.

So implement methods in ServerRuntimeBuilder that allow to assemble basic parts of such stack,
as well as tweak ServerRuntime itself to allow starting with no XML configs. Here is a usage

ServerRuntime localRuntime = new ServerRuntimeBuilder()

This message was sent by Atlassian JIRA

View raw message