Foreing Key association didn't create for mysql database

Hi,
I Am new to adf business components. I Am using jdeveloper 11g and mysql5.1 i tried just create one master detail entry, but i can't create association entity class using adf business components. How can i create this? Please help me.
Thanks advance...

ํำํyes, I already delete the file. However, I try to create new blank file and named it as <SID>ALRT.LOG. After that I try to switch log file, nothing write onto this file. I also restart database after create new blank file and nothing happen. I will wait for an hour as you comment and will update the status.
Thanks in advance.

Similar Messages

  • Transporting Views created for Logical Database in QAS

    Hello all,
    Can anybody let me know teh steps...
    How to transport views created for logical database from dev to QAS...
    kindly give the steps...
    thanks
    saurabh

    I don't think PNPCE does anything with HRP infotypes.  PNPCE is all about PA data since PERNR is the main key.  Logical DB PCH is the one that deals with HRP Infotypes.

  • Importing XML database to create equivalent mysql database

    I have created an XML database.Now I need to create a MySQL database with similar structure.
    Due to it's nested structure and complex dependencies, I find it difficult to identify and design the tables and relations in MySQL(I fear of redundancies).
    So,I am looking for some tool or a way to create an equivalent MySQL database.
    Thanks.

    fine.
    But i think exp/imp binary don't support 9i to 10g import.
    so you using 10g export binary to take the 9i database full backup and import into 10g database use the 10g export binary.
    Regards
    Rajabaskar

  • Implementing active data service proxy for MySQL database

    Hi,
    I am referring "Oracle Fusion Developer Guide - Building rich Internet Application..." to implement Active data Service to update Af:Table for any change in the MySQL database.
    The book discusses of a class which extends ADS "BaseActiveDataModel" which should handle starting and stopping of active listener and listener registration.
    1. Does this class is sufficient to detect changes coming from MySQL database or is it specific to Oracle database?
    2. Also the book does not discuss about the code for starting stopping or registering active listeners. Can someone guide me to some reference material or to a right place which explains me what kind of code does these methods require?
    3. Also I wonder if anyone knows, if we can differentiate between events generated from different database tables. (I guess we need to do that by using 'instanceof' operator and comparing ViewObjects from my project).
    (Just trying to develop my understanding around various ADF concepts.)
    Thanks!!
    (Have also referred http://technology.amis.nl/2012/06/18/notifying-adf-applications-of-database-changes-fast-and-lean-using-database-query-result-change-notification-part-one/
    not sure if that's the way I need to register the listener. ADF should have made that easy.)
    Edited by: 996574 on May 23, 2013 3:11 PM

    Above link seems helpful to find good blogs.
    Especially following blogs looks good;
    http://adfwithejb.blogspot.com/2012/12/active-data-serivce-with-data.html
    http://adfwithejb.blogspot.com/2012/12/active-data-service-with-active-image.html
    Thanks Shay Shmeltzer!

  • Create new MySQL Database with SQL

    I have a simple question, :-)
    how can I create a new MySQL Database with SQL - (JDBC)
    can you show me a code example?
    tank you ...

    okay ... but how do I use the URL ??? that's the problem
    I tried this:
    Connection con   = null;
            Vector vct       = new Vector();
            try{
                String drv = "org.gjt.mm.mysql.Driver";
                String url = "jdbc:mysql://111.222.333.444:3306";
                String name = "myname";
                String pass = "mypass";
                Class.forName(drv);
                con = DriverManager.getConnection(url,name,pass);
                String statement = "CREATE DATABASE TestDB_Don1";
                Statement stm = con.createStatement();
                stm.execute(statement);
                stm.close();
                con.close();                         
            catch(Exception e){ e.printStackTrace(); }but it doesen't work ............. what is wrong ?

  • How to make and schedule backup tasks for MySQL Databases

    Has NSS 322 this functionality? If not, are there any packages to do dat? I can´t see the folders that contain MySQL Databases, so I can´t backup them.
    Many thanks in advance for your support.

    All of the MySQL databases are visable within the phpMyAdmin application.  phpMyAdmin can export, import, manage the databases directly.
    To use the remote replication feature from the GUI, you need the databases visible in a share.  I'm sure that is possible through the CLI, but I'm not able to tell you how to do it.  Maybe someone else on the forum can help provide a solution.
    You can also use the rsync command in the CLI directly.
    Did you find any ideas on the phpMyAdmin website?  This must be a common task that someone has worked out a solution for.

  • Jdbc for mySql Database

    I want to connect to MySql Database. My program Source is :
    import java.sql.*;
    @SuppressWarnings({"ALL"})
    public class test {
    public static void main(String args[]) throws ClassNotFoundException, SQLException, IllegalAccessException, InstantiationException {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
    Connection con = DriverManager.getConnection ("jdbc:odbc:mysql://127.0.0.1:3306, "root", "edlovema1017");
    Statement stmt = con.createStatement();
    stmt.executeUpdate("DROP TABLE users");
    There is an error when my program is running.
    this error :
    Exception in thread "main" java.lang.NullPointerException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)

    1) How do you compile that?
    in
    getConnection ("jdbc:odbc:mysql://127.0.0.1:3306, "root", "edlovema1017");closing " is missing for the first parameter
    2) why jdbc:odbc:mysql not just jdbc:mysql ?
    3) as sabre150 stated, use
    Class.forName("com.mysql.jdbc.Driver")instead of
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();4) NEVER leave connection opened - add con.close() at the end
    5) Specify the database name, e.g.
    getConnection ("jdbc:mysql://127.0.0.1:3306/mydb", "root", "edlovema1017");6) good luck

  • Foreing keys works only when created as CAPITAL?

    Hello,
    When working with HTML DB tutorial, I have noticed that foreign keys works only when I do create them as CAPITAL. I did create some foreign keys manually, and when I was trying "query by example" it did not work correctly unles I did re-create the foreign keys using all captials in their name. Why is it that?
    Thank you,
    DanielD

    I let it dry out more and it started working. It still has a quirk or two but I can live with it.

  • EKM using the Azure Key Vault is now available for SQL Database and SQL Server running in Azure VM's

    In preview today, you can create keys in the Azure Key Vault, and use them with Azure SQL Database, or SQL Server running in a Azure VM. Use the Extensible Key Management (EKM) for TDE, backup encryption, or cell level encryption. For more information, see
    Extensible Key Management Using Azure Key Vault (SQL Server)
    http://msdn.microsoft.com/en-us/library/dn198405.aspx.
    The announcement:
    Azure Key Vault in public preview
    Key Vault offers an easy, cost-effective way to safeguard keys and other sensitive data used by cloud applications and services. Included are the following features:
    Enhance data protection and compliance:
    Protect cryptographic keys and sensitive data   like passwords with keys stored in Hardware Security Modules (HSMs). For   added assurance, import or generate your keys in HSMs certified to FIPS 140-2   level 2 and Common Criteria EAL4 standards,
    so that keys stay within the HSM   boundary. Key Vault is designed so that Microsoft doesn’t see or extract your   keys.
    All the control, none of the work:
    Provision new vaults and keys in minutes   and centrally manage keys, sensitive data, and policies. You maintain control   over your encrypted data—simply grant permission for your own and third-party   applications to use keys as needed. Enable
    developers to easily manage keys   used for dev/test and migrate seamlessly to production keys managed by   security operations.
    Boost performance and achieve global scale: Improve
    performance and reduce latency of   cloud applications by storing cryptographic keys in the cloud (versus   on-premises). Key Vault rapidly scales to meet the cryptographic needs of   your cloud applications and match peak demand.
    Get started with Azure Key Vault by creating keys for applications you develop,
    SQL Server encryption (TDE, CLE, and Backup), and partner solutions like
    CloudLink SecureVM.
    Key Vault is available now at no charge with discounted preview pricing starting on January 15, 2015.
    For more information, please visit the
    Key Vault webpage. For a comprehensive look at pricing, please visit the
    Key Vault Pricing webpage.
    Rick Byham, Microsoft, SQL Server Books Online, Implies no warranty

    Thank you for sharing this Rick.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Where can i see the .mdf or .ldf files for mysql database?

    Hi i have created a database in mysql workbench. Now i want the .mdf  or .ldf files for my project deployment.  where can i see this files in my folders. I have searched in this folders.
    C:\Program Files\MySQL\MySQL Server 5.6\data.
    Couldn't find the data's here. Please Help. Actually i don't know i am on the right path. Or please tell me how can i create it?

    I think mysql has a different file structures than MS SQL. May be this link will help you
    http://www.mkyong.com/mysql/where-does-mysql-stored-the-data-in-my-harddisk/
    Satheesh
    My Blog | How to ask questions in technical forum

  • JDBC Driver for MySQL database which should support JDBC2.0 function

    Hi, Guys,
    I'm using JDK1.3 and mm.mysql-2.0.4-bin.jar in Windows NT. When I run following program, I got the error: java.sql.SQLException: ResultSet not updatable. (the function rs.last() is working).
    Based on the documentation, mm.mysql-2.0.4-bin.jar driver should support JDBC2.0 function, but in fact, it's not. So, what's wrong or where is the correct driver?
    Thank you in advance anyway!
    import java.sql.*;
    import java.sql.ResultSet.*;
    import java.util.*;
    public class BridgeMysql{
    public static void main (String[] args) throws Exception {
    String sTable = "test";
    try {
    Class.forName("org.gjt.mm.mysql.Driver").newInstance();
    Connection conMysql = DriverManager.getConnection("jdbc:mysql://localhost/myDatabase?user=user&password=password");
    Statement st = conMysql.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE);
    ResultSet rs = st.executeQuery("Select * from "+sTable);
    //rs.last();
    rs.moveToCurrentRow();
    System.out.println("Table "+sTable+" contains "+String.valueOf(rs.getRow())+" rows");
    rs.close();
    st.close();
    conMysql.close();
    catch (Exception e)
    System.out.println(e);

    Thought I might add something interesting I found.
    You need to include the field in your primary key. I only have one field in the key so I dont know how it works if you have more than one key.
    Makes sense considering Mark stated that you need the primary index defined. Looks like you need the fields as well from the select statement.
    Can anyone comment on why this is?

  • Help needed for MySQL 5 database DSN less connection with Oracle reports

    Hi,
    I am using Oracle Develper Suite and java (J2EE) for my application. I am using MySql 5 as database tool. I want to use Oracle reports of Oracle Develper suite. I have created some reports by first creating system DSN for MySql database and then connect Oracle reports to that DSN by "jdbc:odbc" connection string provided in Oracle Report developer wizard. This is working fine.
    I want to generate reports without creating system DSN (DSN less) so that i can use my application on any computer without creating DSN for Oracle Reports. I am deploying my application on OC4j as "EAR" file.
    Help in this regard will be highly appreciated.
    Regards.

    Using an 8i client, you will need to configure the tnsnames.ora file with appropriate connection information if you are using local naming. If you are using host naming or something like an Oracle Names server to resolve TNS aliases, you can skip the tnsnames.ora configuration. A default installation of the Oracle client, though, will probably be using local naming.
    If the tnsnames.ora file is configured, or you have configured an alternate way of resolving TNS aliases, you should be able to use the connection string
    DRIVER={Oracle ODBC Driver};DBQ=<<TNS alias>>;UID=system;PWD=managerIf you wanted to move to the 10g client (the 10g Instant Client could be useful here), there are some streamlined naming methods that could be used instead of configuring the tnsnames.ora file.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • MySql Database set up on Snow Leopard Server for Wordpress

    I am trying to set up a mySql database on the snow leopard server in order to install wordpress.
    I have played around with the MySql database settings (in the server admin window) but can't seem to figure out how to set the database name, username, and password within the Snow leopard server.
    Do I need to use third party software like Navicat to create the database and user names etc? If yes, any idea how to do that? If now, how do I create a MySql database, username and pw?
    I have put the Wordpress install folder on my Snow leopard server. When I navigate to my domain it says I need to configure wordpress by providing my database name, username and password.
    Thanks in advance.. I am struggling here.

    That's set up via the [MySQL command line|http://labs.hoffmanlabs.com/node/376]. Or you can install the (free) Sequel Pro GUI package, given you're probably more comfortable in the GUI. The steps required for Mac OS X Server are the same as most any other platform, so [launch the MySQL client per the Wordpress Codex|http://codex.wordpress.org/Installing_WordPress], and follow the instructions.

  • Create /deploy mysql db on tomcat

    Hi
    Sorry if my question seems silly..it should be very basic to experts like you :)
    I want to create a mysql database that I will later connect to from a servlet under apache tomcat server.
    my question : where should i put the mysql database ? should it go into WEB-INF directory of my application ?
    what is the mysql SQL command i should type to put db int the right directory ?
    thanks.

    Sorry Iam not able to get you by "where to put my DB table" ?
    As far as i know you create the table in mysql and from servlet use proper JDBC driver and connection parameters .write select or whatever query in the servlet to access DB.
    Also don't forget to add the jar file of mysql JDBC driver in classpath of Tomcat.

  • Classnotfoundexception for mysql

    I get the following error when I run my program
    java.lang.ClassNotFoundException:com.mysql.jdbc.Driver
    I am including the following code:
    import java.sql.*;
    Class.forName("com.mysql.jdbc.Driver");
    I have jdk 1.5 and
    I have the classpath set for mysql database. I am running windows xp home edition...as follows
    c:\mysqldriver\mysql-connector-java-3.1.7\mysql-connector-java-3.1.7-bin.jar
    Please help!!!! urgent!!!!!!!!!!!!!!!!!

    It is a class path problem.
    Either you do not have the classpath set or it is set
    incorrectly.
    rykkTHanks for the help...
    is this a wrong place to put the driver in or the wrong way to do a classpath (done in the control panel/systems/enoirnament variables) ???
    Where should the driver be placed and what should the classpath look like?? will appreciate the help.. Its the first time I am working with mysql.

Maybe you are looking for

  • Video conferencing in training and event management.

    Hello experts, My client wants to configure the video conferencing facility in the training and event management module. Can somebody advice me on that part as in how to do so? Thanks and Regards, Kanika Talwar.

  • Apache 2.2.3 recompilation problem with updated openssl

    I am trying to recompile an apache 2.2.3 with an updated openssl and stumble on httpd-2.2.3 make. I did compile this setup in the last year successfully, only difference is updated openssl. First, I installed openssl-0.9.6m from source. Test install:

  • Can't OC anymore?

    Can't seem to OC system anymore.  Been using Dynamic OC (General setting) for a few weeks now and everything was working great.  CoreCenter use to show cpu running at 2000Mhz (200x10) when idle and 2200Mhz (220x10) when cpu at 100%... now just 2000Mh

  • ORA-06528: Error executing PL/SQL profiler

    Hai I would like to see the outcome of package (to view the report on the package).In order to get that I installed the below package connect as internal sql>d:\oracle\orq81\rdbms\admin\profload.sql In order to use dbms_profiler,after that i need to

  • Compress iPhone video to send in email

    How can I compress my video from my camera roll to send it to an email address. It always says it's too long for email. Can I compress it?  Also where can I find the video format and size of my video on my camera roll?  Are there any free apps for th