Hi: I'm new to MetaL and wish to ask you guys something that has been puzzling me over the last two days. I'm using the lastest stable MySQL 5 release...
513
Manuel Lemos
mallemos
Mar 7, 2007 7:40 pm
Hello, ... If you do not specify a text variable length, it will attempt to create a table with a TEXT field. TEXT fields are basically character LOBs, so they...
514
manfred.schreck
Mar 20, 2007 5:48 pm
Hello, I am using Metabase for a while, and I am happy with it. Now I am in a situation, that I have to use a custom identifier. The scenario is that I use...
515
Manuel Lemos
mallemos
Mar 21, 2007 2:25 am
Hello, ... I am a bit confused with your references to Metabase. Do you mean you have an application using Metabase and you want to integrate with something...
516
manfred.schreck
Mar 21, 2007 8:17 am
... The ... existing ... login ... Metastorage? ... Hello Manuel, sorry I meant Metastorage. cheers, Manfred...
517
Manuel Lemos
mallemos
Mar 22, 2007 12:44 am
Hello, ... Currently Metastorage does not support defining custom object identifier (OID) variables. For now, an implicit OID is assigned to automatic variable...
518
Metastorage project p...
mallemos
Jun 10, 2007 5:18 am
You have recently subscribed to receive email updates for 'Metastorage project progress' http://www.meta-language.net/metastorage-progress.xml This...
519
Metastorage project p...
mallemos
Jun 10, 2007 10:03 am
Add support to createobject forms for classes with variables of types boolean, integer, decimal, float. q ___ Source:...
520
Manuel Lemos
mallemos
Sep 19, 2007 6:21 pm
Hello, A new version of Metastorage was released to introduce a new capability of creating copies of existing persistent objects. Other minor features and bug...
521
Manuel Lemos
mallemos
Feb 16, 2008 1:48 am
Hello, I have not made many Metastorage releases recently but I made some developments in Metabase that provide flexibility to Metastorage generated...
522
Miguel Oliveira
miguel@...
Feb 17, 2008 7:41 pm
Hello, I've started using metastorage and create my component to generate the db schema: <class> <name>users</name> .... <variable> <name>profile_id</name> ...
523
Manuel Lemos
mallemos
Feb 18, 2008 4:22 am
Hello, ... Yes, I was trying to remember what was the exact reasoning to not make reference variables not null, but I am not sure. I know that some databases...
524
Miguel Oliveira
miguel@...
Feb 21, 2008 2:31 pm
Hello, I was wondering how can i solve the creation of 2 objects with an 1- to-1 relationship. Using this example class: <class> <name>user</name> <variable> ...
525
Manuel Lemos
mallemos
Feb 21, 2008 8:06 pm
Hello, ... Yes, you need to make those variables optional to be allowed to save the object without setting them to a reference object. Since the classes...
526
Miguel Oliveira
miguel@...
Mar 13, 2008 12:28 pm
Hello, My application, metastorage-based, is growing every day, and the main persistent component is getting bigger. In order do organize code and data flow,...
527
Manuel Lemos
mallemos
Mar 15, 2008 9:40 am
Hello, ... No, Metastorage generates different schema definitions for each component, but you can configure the schema installation classes to install all...
528
Sergey Klenin
scleann@...
Apr 21, 2008 6:08 pm
Hello, Manuael and everybody, I have the question regarding how to set up classes relationship. I'm designing the system that must provide to end user the...
529
Manuel Lemos
mallemos
Apr 21, 2008 10:41 pm
Hello, ... This is a bit confusing, not because of your definitions, but rather because you do not tell me what exactly what you want to do and you are not...
530
Kelly Jones
kelly.terry.jones@...
May 24, 2008 9:34 pm
Are there tools to convert PHP/Perl/Python/etc to Metal? When I see: function addargs ($x,$y) {$z=$x+y; return $z;} I think (using brackets because some mail...
531
Manuel Lemos
mallemos
May 28, 2008 7:13 am
Hello, ... AFAIK there are no tools for converting between languages. It is a possibility, but the MetaL project did not went into that direction. Nowadays,...
532
nixanz
Sep 19, 2008 4:18 am
I'm new to Metastorage, so forgive me if I've overlooked something obvious. Anyhow, I can't get my persist function to work reliably. I've using the same...
533
Manuel Lemos
mallemos
Sep 19, 2008 4:24 am
Hello, ... If the variable can be set to NULL, it means it is optional. Are you defining it as <optional>1</optional> ? The generated class should fail the...
534
Nik Sands
nixanz
Sep 19, 2008 4:33 am
it is optional: ... <variable> <name>grams</name> <type>integer</type> <optional>1</optional> </variable> ... It is being assigned immediately before the...
535
Manuel Lemos
mallemos
Sep 19, 2008 4:35 am
Hello, ... That is the problem. If it is empty, don't assign it or set it to null . -- Regards, Manuel Lemos Find and post PHP jobs ...
536
Nik Sands
nixanz
Sep 19, 2008 4:48 am
I thought metastorage was supposed to set it to NULL when generating the SQL automatically? The debug output shows it as being a '?' in the prepared query, but...
537
Nik Sands
nixanz
Sep 19, 2008 5:01 am
Sorry, my last email was probably not very clear. Let me try again... :-) The code immediately below fails to save (and gives the debug output shown below),...
538
Manuel Lemos
mallemos
Sep 19, 2008 6:23 am
Hello, ... I think there is some confusion. An empty string is one thing. An undefined value is another thing. ... The above should be: if(strlen($grams)) ... ...
539
Nik Sands
nixanz
Sep 19, 2008 7:25 am
Hi Manuel, Thanks for your help... Is metastorage NOT supposed to replace this with a NULL in the SQL in this case? Is metastorage SUPPOSED to produce invalid...
540
Manuel Lemos
mallemos
Sep 19, 2008 7:47 am
Hello, ... I am not sure what you mean. The code generate by Metastorage sets the field to NULL if you set the respective optional variable to null or just not...
541
Nik Sands
nixanz
Sep 19, 2008 9:39 am
but in the situation I showed in my last example, it produces invalid SQL. Shouldn't this be avoided, no matter what the value of the variable? Metastorage...