Hi,
I try to use ODMG API in C/S mode.
When I execute this code :
Implementation odmg = OJB.getInstance();
Database db = odmg.newDatabase();
db.open("repository.xml",db.OPEN_READ_WRITE);
To the execution following exception is raised.
java.lang.UnsupportedOperationException: Not implemented!!
at
org.apache.ojb.broker.server.PersistenceBrokerClient.getPBKey(Unknown
Source)
at org.apache.ojb.odmg.DatabaseImpl.open(Unknown Source)
at
aston.banque.services.ServiceGestionBanque.<init>(ServiceGestionBanque.java:
58)
at
aston.banque.services.ServiceGestionBanque.main(ServiceGestionBanque.java:39
5)
Have you an idea, or a code sample of ODMG in a C/S mode ? please.