What is the difference between a connection profile and a driver defintion. The connection created using SQL Model-JDBC Connection will have only basic features that are common to all databases and nothing specific to a particular database. mechanism to debugg a procedure is different from one database to another and so I would not expect this feature to be available in SQL Model-JDBC Connection and may be available from the vendor provided/specific profile. A connection profile specifies the details for connecting to a particular server (e.g.I can create a connection to a derby database using either the Derby Embedded Database or the SQL Model-JDBC Connection. connection URL, uid, pwd, etc.) A connection profile may reference a driver definition (for most of the db types in DTP, this is true). The Derby embedded database is specific to the embedded database.For example: variable foo is defined as Ordered Set.my Operation(foo) -- works my Operation(foo-Originally posted by: Hi, Mike, That's odd.For example, here is how I am defining the variable: vbl = Expressions Factory.e INSTANCE.create Variable(); Name(Name()); Type(Types Package.e Ordered Set Type()); ocl Element(Name(), vbl, false); eval Env.add(Name(), rule Properties(spec)); The result of rule Properties('is Growable'), for example, is a n EList of two elements.But when I evaluate this related expression: is Growable-size() The result is 2.connection URL, uid, pwd, etc.) A connection profile may reference a driver definition (for most of the db types in DTP, this is true). The Derby embedded database is specific to the embedded database.
To work around it in for your particular case, try: let x : Sequence(Property Binding) = rule Properties('is Growable')-Originally posted by: com Thanks! id=184707 But for reasons I don't understand, when I try to invoke this operation with the result of a collection function, I get Ocl Invalid as the result.
Sure enough, there is an exception: Illegal Argument Exception is being thrown by the reflect.
Method.invoke() which is called from visit Operation Call Exp(), and here's why.
(Java Linked Hash Set) This sounds like a bug: the OCL collection needs to be coerced to an EList when passed into the EOperation.
Raise a bug and we'll see about fixing it: https://bugs.eclipse.org/bugs/enter_bug.cgi?
The Driver Definitions are typically provided by the database vendor and wud include the database specific JDBC library. I can create a connection to a derby database using either The driver definition is used for specifying details for a particular server type; e.g. In addition to these, the driver definition may specify default values for things like connection URL, user id, vendor & version, etc.