Flex / Data / Create Application from Database

Hi, I had a question,
When I create an application from a Database (Flex / Data /
Create Application from Database).
Can I modify the coded to convert it into a module?
I have a main application that I would like to load the
Database as a module. I tried replacing the <mx:Application>
Tags to Module but didn't work...
Thanks.

Hi,
no. no answer as yet. Seems to be a connection issue with the
Windows 2003 Server, although all the seetings are correct.
I installed WAMP Server 2.0 locally to see if I can get the
project running locally, and it works fine. I can connect no
problem to the MySQL Database on my local PC. I might just have to
migrate everything over manually once the project is
complete.

Similar Messages

  • "Create Application from Database" and BLOB type

    Hi all,
    I see many threads about BLOB type but my question is related to the Flex Builder built-in feature "Create Application from Database".
    Is there a way or a sw version to automatically use MySQL BLOB types when creating a PHP/database application?
    Thank you!

    Hi Dave,
    Would you please file a bug with all the necessary details
    regarding this issue? The bug base is found at:
    http://bugs.adobe.com/jira.
    We’ll look into this. Thank you for letting us know!
    Lacra

  • Create Application from Database and Air

    I have tried several time to use the create application from
    database for an air app build in flex. I do the same steps and the
    only difference is that I click the create button as air not web.
    It does not seem to work. Does the create application from database
    command (referencing php mysql) work with Air???
    Thanks

    Hi Dave,
    Would you please file a bug with all the necessary details
    regarding this issue? The bug base is found at:
    http://bugs.adobe.com/jira.
    We’ll look into this. Thank you for letting us know!
    Lacra

  • Create application from database issues

    Just trying out the 'Create application from database'
    feature and found the following.
    Running:
    Vista
    Flex Builder 3 Public Beta 2
    Visual Studio 2008
    - The wizard cant find the development web server so IIS is
    the only choice. I assume VS2005 & 2008 are different.
    - When validating the IIS option it would always fail until I
    enabled directory browsing (IIS 7).
    - When creating a SQL connection the wizard will not connect
    to a SQL 2005 named instance. Tried 'localhost\instance' and
    'hostname\instance' and get the following error.
    java.sql.SQLException: Unknown server host name
    'DMC\DEV2005'.
    at
    net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:364)
    at
    net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50)
    Dave

    Hi Dave,
    Would you please file a bug with all the necessary details
    regarding this issue? The bug base is found at:
    http://bugs.adobe.com/jira.
    We’ll look into this. Thank you for letting us know!
    Lacra

  • After "create application from database"

    hi all,
    i succeeded to build server and client side code using "create application from database"
    now my question is: how to use these files to build my application?
    for example, i need an OlapDataGrid that works on joined tables, not on a single table...
    thank you all!

    Hi Dave,
    Would you please file a bug with all the necessary details
    regarding this issue? The bug base is found at:
    http://bugs.adobe.com/jira.
    We’ll look into this. Thank you for letting us know!
    Lacra

  • Create app from database doesn't work

    hi all, i am new to developing in flex, and just set up a
    test-database (php, mysql) - i created a php project, and when i
    choose data->create application from database nothing happens
    ... just nothing ... any help would be very much appreciated, i am
    sure it's a no-brainer, but i just can't figure it out at this
    stage ... i run a full version of flex 3 pro

    Did you check the online documentation ? [http://help.sap.com/abapdocu_70/en/ABAPIMPORT_MEDIUM.htm#&ABAP_ALTERNATIVE_4@4@]
    I see your code has differences from the example provided in the standard documentation.

  • Create application from spreadsheet failing - APEX 3.0

    Create Application from Spreadsheet failing (wrong column order) on the upload
    example csv columns are nameA, nameB, nameC
    Upload as csv
    The column order of the csv file changes....(its random).
    example csv is nameC, nameB, nameA -.but sometimes it works after numerous tries uploading it (column order is correct - same as csv file)
    I have another apex/db (10.1.0.4.2) installation(same version 3.0) where it works all the time(same csv file)
    The database for the failing Apex installation is (10.2.0.1.0)
    ANY IDEA???...could be a a database caching issue or a wrong db parameter?

    What table gets populated when you upload a csv file via create application from spreadsheet (is it only APEX_APPLICATION_FILES)? Because if i import the csv file in the repository it looks file when i download it. I not sure what controls the order of the csv file column order upon the upload create application from spreadsheet process. This is a very perplexing problem since it works on another apex 3.0/10.1 database environment.
    thanks

  • Choose File Form Data Create Spreasheet From Data Files

    I am following the tutorial for LC 8 and when I get to the topic titled "Collecting the data in a spreadsheet" it says to "Choose File > Form Data > Create Spreadsheet From Data Files".
    However, when I try to follow that path I do not see a "Form Data > Create Spreadsheet From Data Files" menu option.
    What am I not doing properly? How do I accomplish this task?
    Thanks!

    Thank you so much Paul. I have been trying all day to locate the method by which I could create a spreadsheet using the pdf submit route. I suppose the tutorial in CS4 should have been changed to reflect the changed explanations, but I guess that would be difficult to do. Anyway it worked and I can now do the analysis I need from my customers (lots of pupils!).
    Best wishes,
    Kevin Palmer

  • How to display data in SelectOneChoice from database?

    Hi,
    I want to display data in SelectOneChoice component after fetching from database in a bean using Application module implementation class. I have two fields in my bean id and name. I want to display name in choice and in backend i want to play with the id of corresponding selected choice i.e displayed in SelectOneChoice. I am not able to bind the datacontrol with the SelectOneChoice component. I have data in my bean i.e list of id and name fetched from database.

    In my app module i have create a method which retruns UserBean in array List .
    I dropped that data control on my page as Select One Choice and bind the same.
    When i run that page I am able to see user bean object in drop down but when i try to see any specific var error occurs
    Code-
    <af:selectOneChoice value="#{bindings.return.inputValue}"
    label="#{bindings.return.label}"
    required="#{bindings.return.hints.mandatory}"
    shortDesc="#{bindings.return.hints.tooltip}"
    binding="#{backingBeanScope.backing_test12.soc1}"
    id="soc1">
    <f:selectItems value="#{bindings.return.items}"
    binding="#{backingBeanScope.backing_test12.si1}"
    id="si1"/>
    </af:selectOneChoice>
    This code works fine and drop down shows userbean .
    But when i change the code it fetch username form bean exception occurs
    Changed Code-
    <f:selectItems value="#{bindings.return.items.*Username*}"
    binding="#{backingBeanScope.backing_test12.si1}"
    id="si1"/>
    Exception-
    *[ServletContext@15368949[app:ADF module:ADF-ViewController-context-root path:/ADF-ViewController-context-root spec-version:2.5]] Servlet failed with Exception*
    java.lang.NumberFormatException: For input string: "Username"
    *     at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)*
    *     at java.lang.Integer.parseInt(Integer.java:449)*
    *     at java.lang.Integer.parseInt(Integer.java:499)*
    *     at javax.el.ListELResolver.toInteger(ListELResolver.java:373)*
    *     at javax.el.ListELResolver.getValue(ListELResolver.java:167)*
    *     Truncated. see log file for complete stacktrace*
    FYI:- This control wokrs fine when i but this data in table . Not sure about the reason for select choice :(

  • How to get data in jtable from database

    i m working on core java application i want to use jtable to show records to user. jtable will get records from mssql database. how to do this.. i m new so plz tell me briefly..with coding...
    thanks

    i have use this link:
    import java.sql.*;
    import javax.swing.table.*;
    import javax.swing.event.*;
    * This class takes a JDBC ResultSet object and implements the TableModel
    * interface in terms of it so that a Swing JTable component can display the
    * contents of the ResultSet. Note that it requires a scrollable JDBC 2.0
    * ResultSet. Also note that it provides read-only access to the results
    public class ResultSetTableModel implements TableModel {
    ResultSet results; // The ResultSet to interpret
    ResultSetMetaData metadata; // Additional information about the results
    int numcols, numrows; // How many rows and columns in the table
    * This constructor creates a TableModel from a ResultSet. It is package
    * private because it is only intended to be used by
    * ResultSetTableModelFactory, which is what you should use to obtain a
    * ResultSetTableModel
    ResultSetTableModel(ResultSet results) throws SQLException {
         this.results = results; // Save the results
         metadata = results.getMetaData(); // Get metadata on them
         numcols = metadata.getColumnCount(); // How many columns?
         results.last(); // Move to last row
         numrows = results.getRow(); // How many rows?
    * Call this when done with the table model. It closes the ResultSet and
    * the Statement object used to create it.
    public void close() {
         try { results.getStatement().close(); }
         catch(SQLException e) {};
    /** Automatically close when we're garbage collected */
    protected void finalize() { close(); }
    // These two TableModel methods return the size of the table
    public int getColumnCount() { return numcols; }
    public int getRowCount() { return numrows; }
    // This TableModel method returns columns names from the ResultSetMetaData
    public String getColumnName(int column) {
         try {
         return metadata.getColumnLabel(column+1);
         } catch (SQLException e) { return e.toString(); }
    // This TableModel method specifies the data type for each column.
    // We could map SQL types to Java types, but for this example, we'll just
    // convert all the returned data to strings.
    public Class getColumnClass(int column) { return String.class; }
    * This is the key method of TableModel: it returns the value at each cell
    * of the table. We use strings in this case. If anything goes wrong, we
    * return the exception as a string, so it will be displayed in the table.
    * Note that SQL row and column numbers start at 1, but TableModel column
    * numbers start at 0.
    public Object getValueAt(int row, int column) {
         try {
         results.absolute(row+1); // Go to the specified row
         Object o = results.getObject(column+1); // Get value of the column
         if (o == null) return null;
         else return o.toString(); // Convert it to a string
         } catch (SQLException e) { return e.toString(); }
    // Our table isn't editable
    public boolean isCellEditable(int row, int column) { return false; }
    // Since its not editable, we don't need to implement these methods
    public void setValueAt(Object value, int row, int column) {}
    public void addTableModelListener(TableModelListener l) {}
    public void removeTableModelListener(TableModelListener l) {}
    the table is showing column name from database but not showing the data in row now what to do

  • Problem creating application from spreadsheet(.csv)

    I am experiencing a problem while creating an application from a spreadsheet (.csv file). I select upload csv file, the filename, and on the set table properties page the columns are in random order. Normally, the columns follow the order of the first line of the .csv file with comma separated column names. If the columns are not in the order specified in the .csv file, it cannot be loaded. I have used this method a few times and never had this problem in the past. Any information is appreciated.
    Thanks.

    Hello,
    Sure you cannot utilize the spread sheet functions in creating a Database app.
    You can do what you want by either using SQL function in the Report source, or if you use Interactive report then you can do it using Actions Menu >> Format >> compute .. Then you save your report as a default report.
    Please read more here:
    http://apex.oracle.com/pls/apex/f?p=44785:24:0::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5719,29
    http://apex.oracle.com/pls/apex/f?p=44785:24:0::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5717,29
    http://apex.oracle.com/pls/apex/f?p=44785:24:0::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5718,29
    Best Regards,
    Fateh
    If you believe that my answer was helpful to you or correct then please mark the answer as helpful or correct
    Edited by: Fateh on Nov 21, 2012 3:23 AM

  • Data format changing from database to datagridview

    hi I am trying to display data from database sqlite  to datagridview the data format changed automatically
    the date in database is
    2012-02-20 16:42:10.00 but on datagrid view it appears like  20/02/2012 16:42:10,
    swOut.Write(",");
    swOut.Write(dataGridView1.Columns[i].HeaderText);
    swOut.WriteLine();
    //write DataGridView rows to csv
    for (int j = 0; j <= dataGridView1.Rows.Count - 1; j++)
    if (j > 0)
    swOut.WriteLine();
    dr = dataGridView1.Rows[j];
    for (int i = 0; i <= dataGridView1.Columns.Count - 1; i++)
    if (i > 0)
    swOut.Write(",");
    value = dr.Cells[i].Value.ToString();
    //replace comma's with spaces
    value = value.Replace(',', ' ');
    //replace embedded newlines with spaces
    value = value.Replace(Environment.NewLine, " ");
    swOut.Write(value);

    This forum is for Microsoft products, they have already and endless quantity of databases, many even freeware. 
    Try therefore for your question the forums for SQLite.
    SQLite has very special own way of datatypes.
    Success
    Cor

  • How to put data in JTable from database

    hi everyone,
    i want to query the databse and put the result in the JTable and if possible i want to edit some information. For example: i have 5 records in the database query them and place them in JTable and each record has its own status. if i want to change the status For Example: the status of the 4 records are "Cleared" and the other one is "RELEASEd" so if i have JCombo Box to set the 4 records in to RELEASED status and then save the changes is that possible?
    thank you
    dhing

    In [url /thread.jsp?forum=54&thread=387565]this thread I describe how to use a result set as a basis for table data. Check some database tutorials for information on getting a result set.

  • How to dynamic order of groups & How to fetch data at runtime from database

    Post Author: ferikpatel
    CA Forum: Formula
    I am using visual studio .net application having inbuilt crystal report feature. Now, what I want to do is, i have create 5 groups in crystal report, but dynamically want to change the order of those reports as per user's selection.
    How to do that?
    Also, how to fetch database item on runtime which is not selected through data expert as its relation is depends on situation. Say if one field's value is 5 than i want to get name of customer, but if same field's value is 6 than i want to get name of suppliers. In database both supplier and customers tables are different however they are connected with base table.
    I'm bit new in crystal report. Please help me out if it is possible.

    Post Author: Charliy
    CA Forum: Formula
    You don't actually change the order of the groups.  You group on a formula and change contents of the formula based on the parameter.
    IF {?Group1} = "Manager" then {table.Manager}
    else if {?Group1} = "Invoice Date" then Totext({table.InvDate},"yyyyMMdd")    note all options must be the same date type, so numbers and dates are converted
    else . . .

  • Create repository from database model- snowflake facts and dimension joins

    I am working on a project that has a database model similar to the image in the link below.
    There are other few tables around it, but this generally represent the spine or major database model. This is not exactly a snowflake schema as there are no intrinsic hierarchy in the dimension tables. As you can see dim2 and dim4 has one to many relationship with dim3. there are joins between the fact tables as well.
    From some blogs and forum threads, I found out that I can create one fact/dimension table by joining many fact/dimension tables. Is this a right approach? Any thoughts on this model please?
    Thanks,
    Rakesh
    ps: I am using Windows XP Pro and OBIEE 10.1.4.3.1 and right now analyzing the data to create a repository.

    Hi Rakesh,
    As above post says you combine all fact tables into single fact table with other dimension tables so it would become a simple start schema .Go throught these blogs for further information .
    http://forums.oracle.com/forums/thread.jspa?threadID=2124061&tstart=0
    http://www.obinotes.com/2010/08/joins-within-logical-table-sources-in.html#comment-form
    Hope it helps you.Seems your new to forum you sud follow these rules http://forums.oracle.com/forums/ann.jspa?annID=939
    By,
    KK

Maybe you are looking for

  • IPad disabled..offline..iTunes won't restore it..I don't know what to do!

    My 3 year old found my iPad mini and tried to enter the obviously incorrect passcode too many times yesterday and it is now disabled. I had the wireless offline when it became disabled. Now, I cannot figure out how to erase and restore it so I can us

  • New G/L

    Hi friends, What are the advantages in new g/l compare with earlier versions(4.7 E.E). Pls give explanation some elaborate. Thanks Murali

  • I renewed my subscription, but my old online numbe...

     Really irratated by the fact that I renewed my previous subscription for a online number but my previous online number doesn't show. I think I spent more than I should have on my subscription and it still doesn't do what I thought it would do. What

  • Weird sort order for tracks / songs on walkman

    hi all just browsing through the various ways of viewing songs on the walkman app (i.e. by artist, album & song) and I've realised that some tracks are not sorting correctly. I know that would suggest a problem with their tagging but I don't think it

  • Unexpected error detected by HotSpot Virtual Machine

    hi everybody... i m working with jdk1.5.0.11 and tomcat5.5.23 on Linux (RedHat) Platform. and the project contains communication between java & C through jni. I am getting the following error when i m executing the prog. # An unexpected error has bee