我在Oracle中遇到了关于我的数据库的问题,当我打开我的数据库时,它显示一条消息:"ORA-28001:密码已过期"
我已经更新了我的帐户:
sqlplus /nolog
SQL> connect / as SYSDBA
Connected.
SQL> SELECT username, account_status FROM dba_users WHERE ACCOUNT_STATUS LIKE '%EXPIRED%';
SQL> ALTER USER system IDENTIFIED BY system;
User altered.
SQL> ALTER USER system ACCOUNT UNLOCK;
User altered.
SQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
Profile altered.
SQL> exit
Run Code Online (Sandbox Code Playgroud)
我查看并查看,我的帐户:'system'已打开,但我在Oracle SQL Developer上打开它,它仍然有警报:
ORA-28001: The password has expired
Run Code Online (Sandbox Code Playgroud)
我已经提到了非常多的链接,但它仍然是同样的问题,如何解决这个问题?
我正在使用 GridView 加载保存图像的 json 数据。当我构建项目时发生了一些例外
AndroidManifest.xml:
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Run Code Online (Sandbox Code Playgroud)
文件缓存类:
public class FileCache {
private File cacheDir;
public FileCache(Context context) {
// Find the dir to save cached images
if (android.os.Environment.getExternalStorageState().equals(
android.os.Environment.MEDIA_MOUNTED))
cacheDir = new File(
android.os.Environment.getExternalStorageDirectory(),
"JsonParseTutorialCache");
else
cacheDir = context.getCacheDir();
if (!cacheDir.exists())
cacheDir.mkdirs();
}
public File getFile(String url) throws IOException {
String filename = String.valueOf(url.hashCode());
// String filename = URLEncoder.encode(url);
File f = new File(cacheDir, filename);
f.createNewFile();
return f;
}
public void clear() {
File[] …Run Code Online (Sandbox Code Playgroud) 我得到结果json并在android中解析。消息发生了异常:org.json.JSONException:价格没有值
W/System.err: org.json.JSONException: No value for price
W/System.err: at org.json.JSONObject.get(JSONObject.java:389)
W/System.err: at org.json.JSONObject.getString(JSONObject.java:550)
Run Code Online (Sandbox Code Playgroud)
我的java课
JSONParser jsonParser = new JSONParser();
// tracks JSONArray
JSONArray albums = null;
// Album id
String album_id = null;
String song_id = null;
String album_name, song_name, price;
// single song JSON url
// GET parameters album, song
private static final String URL_SONG = "my url";
// ALL JSON node names
private static final String TAG_NAME = "name";
private static final String TAG_PRICE = "price";
private static …Run Code Online (Sandbox Code Playgroud)