cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Baldwin <jfbald...@earthlink.net>
Subject Migration to 4.0
Date Sat, 04 Jul 2015 17:30:33 GMT
Is this example  from (https://cayenne.apache.org/docs/4.0/tutorial/ch05.html <https://cayenne.apache.org/docs/4.0/tutorial/ch05.html>)
 still considered correct?  (Specifically the ServerRuntime instantiation):


package org.example.cayenne;
import org.apache.cayenne.ObjectContext;
import org.apache.cayenne.configuration.server.ServerRuntime;

public class Main {    
public static void main(String[] args) {
        ServerRuntime cayenneRuntime = new ServerRuntime("cayenne-project.xml");
        ObjectContext context = cayenneRuntime.newContext();
    }
}
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message