Category: Javaskool Category
There are many extension interfaces provided by hibernate. ProxyFactory interface – used to create proxies ConnectionProvider interface – used for JDBC connection management TransactionFactory interface – Used for transaction management Transaction interface – Used...
When the built-in functionalities provided by hibernate is not sufficient enough, it provides a way so that user can include other interfaces and implement those interfaces for user desire functionality. These interfaces are called...
These interfaces are used in the application to receive a notification when some object events occur. Like when an object is loaded, saved or deleted. There is no need to implement callbacks in hibernate...
There are many benefits from these. Out of which the following are the most important one. i. Session Interface – This is the primary interface used by hibernate applications. The instances of this interface...
Java SE 10 Download JDK 10 Java 10 will use the new versioning convention set out by Oracle this will see the version numbers following a YY.M format. So far the versions announced using...
Java SE 9 Download JDK 9 The first stable release of Java 9 was on September 21, 2017 Java 9 include below features Better support for multi-gigabyte heaps better native code integration Different default...
Android Hello World Example Top Android Hello World Example Android Hello World Android Programs… main.xml <?xml version=”1.0″ encoding=”utf-8″?> < LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android” android:layout_width=”wrap_content” android:layout_height=”fill_parent” android:orientation=”vertical” > <TextView android:layout_width=”fill_parent” android:layout_height=”wrap_content” android:text=”@string/hello” /> <Button android:id=”@+id/button1″ android:layout_width=”318dp” android:layout_height=”wrap_content”...
You need to have to override onOptionsItemSelected method in your Activity, which is called when user clicks on the item in Options menu. @Override public boolean onOptionsItemSelected(MenuItem menuitem) { switch(menuitem.getItemId()) { case R.id.menu_item1: Intent...
Please try as below Intent myIntent1 = new Intent(CurrentActivity.this, NextActivity.class); myIntent1.putExtra(“key”, value); //Optional parameters CurrentActivity.this.startActivity(myIntent1); Extras are retrieved on the other side via: @Override protected void onCreate(Bundle savedInstanceState1) { Intent intent = getIntent(); String...
If You want to toggle android Emulator just press Ctrl+F12 will convert from horizontal to Vertical and again press will return to vertical to Horizontal..
Recent Comments